public class DefaultSectionNode extends TypeChildNode
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultSectionNode(Node parent,
Map attributes) |
| Modifier and Type | Method and Description |
|---|---|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
GenericDefaultSectionChip |
createDefaultSectionChip(DisplayState displayState,
Chip parent,
ComposedType type) |
protected Collection |
getDefaultAttributeNames(ComposedType type) |
String |
getName() |
boolean |
isPreferred()
In case of two default sections in the editor, the one with preferred = true will be used, the other will be
empty.
|
findTypeNode, getAttributeDescriptoraddAttribute, addChild, addChildren, checkCreateConditions, 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 DefaultSectionNode(Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic String getName()
public boolean isPreferred()
true if this default section preferred attribute is set to true.protected Collection getDefaultAttributeNames(ComposedType type)
public GenericDefaultSectionChip createDefaultSectionChip(DisplayState displayState, Chip parent, ComposedType type)
Copyright © 2017 SAP SE. All Rights Reserved.