public class ReferenceCollectionEditorNode extends ReferenceEditorNode
GenericReferenceListEditorChip in the XML structure.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
| Modifier | Constructor and Description |
|---|---|
protected |
ReferenceCollectionEditorNode(Node parent,
Map attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustEditorSettings(AbstractAttributeEditorChip editor)
Adjusts the settings of the editor chip according to the configuration specified in the xml file.
|
boolean |
canAdd() |
boolean |
canCreate() |
boolean |
canRemove() |
protected void |
checkCreateConditions(Node parent,
Map attributes)
This method will automatically be called during creation of this Node.
|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
String |
getEditorType() |
ItemEditorLayoutNode |
getItemEditorLayoutNode() |
ItemDisplayLayoutNode |
getItemLayoutNode() |
int |
getMaxCount() |
String |
getPresetAttributeName() |
String |
getTypeAttribute()
Returns the 'typeattribute' name if it has been configured.
|
boolean |
isAutoSave()
Returns true if the 'autosave' attribute is set to true, false otherwise.
|
protected boolean |
isConsiderSubtypes()
If true (default), you will see a subtype select window when creating a new item in the list (if there are any
subtypes).
|
boolean |
isEditable() |
protected boolean |
isExternalCreate()
If true (default), clicking the 'create' button will result in a new editor window for the new item.
|
boolean |
isProhibitOpening() |
boolean |
isResortable() |
boolean |
isShowSearchEditor() |
enhanceConditionChip, getCreationPresets, getNoSelectionName, getPresetSearchType, getSearchPresets, hasSearchAttribute, isAutoPerformgetAttributeName, getParameters, getType, getTypefindTypeNode, getAttributeDescriptoraddAttribute, addChild, addChildren, cloneAll, getAttributes, getBooleanAttribute, getBooleanAttribute, getCachedObject, getChild, getChildren, getChildren, getChildrenInternal, getEditorNode, getElementName, getIntegerAttribute, getIntegerAttribute, getLogger, getParent, getPosition, getPositionInfo, getStringAttribute, getStringAttribute, getSuperNode, removeAttribute, removeChild, replace, replaceChild, setAttributes, setElementName, setParent, setPosition, setPositionInfoprotected ReferenceCollectionEditorNode(Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic boolean isResortable()
public boolean isProhibitOpening()
public boolean canAdd()
public boolean canRemove()
public boolean canCreate()
protected boolean isExternalCreate()
protected boolean isConsiderSubtypes()
public String getPresetAttributeName()
public int getMaxCount()
public ItemDisplayLayoutNode getItemLayoutNode()
public ItemEditorLayoutNode getItemEditorLayoutNode()
ItemEditorLayoutNode which is a child of this node, null if there is no such child!public boolean isAutoSave()
public boolean isEditable()
public String getTypeAttribute()
public boolean isShowSearchEditor()
public String getEditorType()
getEditorType in class ReferenceEditorNodepublic void adjustEditorSettings(AbstractAttributeEditorChip editor)
AbstractEditorNodeadjustEditorSettings in class ReferenceEditorNodepublic Node clone(Node newParent)
Nodeclone in class ReferenceEditorNodenewParent - The parent of the cloned node.protected void checkCreateConditions(Node parent, Map attributes) throws NodeCreationFailedException
NodecheckCreateConditions in class ReferenceEditorNodeparent - the parent node as given to the constructorattributes - the attribute map as given to the constructorNodeCreationFailedException - if the creation of the node failsCopyright © 2017 SAP SE. All Rights Reserved.