public interface ReferenceUIEditor extends UIEditor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLOW_CREATE_PARAM_KEY |
INITIAL_EDIT_STRING| Modifier and Type | Method and Description |
|---|---|
ObjectType |
getRootSearchType()
Returns the type for which this reference collection editor should search for.
|
ObjectType |
getRootType()
Returns the root type of this reference collection editor i.e.
|
java.lang.Boolean |
isAllowCreate()
Returns the flag that indicates whether reference selector can create new item.
|
void |
setAllowCreate(java.lang.Boolean allowCreate)
Sets the flag that indicates whether reference selector can create new item.
|
void |
setRootSearchType(ObjectType rootSearchType)
Sets the type for which this reference selector should search for.
|
void |
setRootType(ObjectType rootType)
Sets the root type of this reference editor i.e.
|
createViewComponent, getEditorType, getValue, isEditable, isInline, isOptional, setEditable, setFocus, setOptional, setValuestatic final java.lang.String ALLOW_CREATE_PARAM_KEY
void setRootType(ObjectType rootType)
rootType - the root typevoid setRootSearchType(ObjectType rootSearchType)
rootSearchType is null, the set root type will be
used.setRootType(ObjectType)ObjectType getRootType()
getRootSearchType(). In this case information about the root type is
generally needed for value handling.getRootSearchType()ObjectType getRootSearchType()
getRootType().
Note: The root search type is actually the type of the items held by this editor, whereas root
type is the type which should be used for persisting values.getRootType()java.lang.Boolean isAllowCreate()
void setAllowCreate(java.lang.Boolean allowCreate)
Copyright © 2018 SAP SE. All Rights Reserved.