public class CollectionEditorNode extends AbstractEditorNode
GenericReferenceListEditorChip in the XML structure.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TITLE |
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionEditorNode(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 |
canAddAndRemove() |
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() |
ClassConfigNode |
getElementEditorNode()
Returns the ClassConfigNode which is a child of this node (element "editor") and which contains the description of
the attribute editor chip which is to be used as editor for the elements of the collection.
|
String |
getTitle() |
boolean |
isEditable() |
boolean |
isResortable() |
getAttributeName, 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, setPositionInfopublic static final String DEFAULT_TITLE
protected CollectionEditorNode(Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic boolean isResortable()
public boolean isEditable()
public boolean canAddAndRemove()
public String getTitle()
public String getEditorType()
getEditorType in class AbstractEditorNodepublic ClassConfigNode getElementEditorNode()
public void adjustEditorSettings(AbstractAttributeEditorChip editor)
AbstractEditorNodeadjustEditorSettings in class AbstractEditorNodepublic Node clone(Node newParent)
Nodeprotected void checkCreateConditions(Node parent, Map attributes) throws NodeCreationFailedException
NodecheckCreateConditions in class Nodeparent - 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.