public interface ContributionConfiguration
Modifier and Type | Method and Description |
---|---|
void |
setChildrenAllowed(boolean childrenAllowed)
If set to true it is possible for the program node to have child nodes.
|
void |
setDeprecated(boolean deprecated)
If set to true it is not possible for the user to create new program nodes of this type.
|
void |
setUserInsertable(boolean userInsertable)
If set to false this program node will not appear in the Program Tab in PolyScope and can not be inserted
in the program tree by the end user.
|
void setChildrenAllowed(boolean childrenAllowed)
The default value is false.
childrenAllowed
- determines whether this node can have child nodesvoid setUserInsertable(boolean userInsertable)
ProgramNodeFactory
. This also means, it can not be inserted using
copy/paste of that node directly. It can however be inserted by copy/paste of an ancestor of such a node.
The default value is true.
userInsertable
- determines whether the end user can insert this nodevoid setDeprecated(boolean deprecated)
The default value is false.
deprecated
- determines whether this node is deprecatedCopyright © 2018. All rights reserved.