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 end user to create new program nodes of this type. | 
void | 
setDisplayOrderId(double displayOrderId)
Set the display order id for this type of program node contribution. 
 | 
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)
true it is possible for the program node to have child nodes.
 
 The default value is false.
 
childrenAllowed - determines whether this node can have child nodesvoid setUserInsertable(boolean userInsertable)
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. It can only be inserted programmatically using the
 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)
true it is not possible for the end user to create new program nodes of this type.
 Loading of existing programs will however still be supported for this program node.
 
 The default value is false.
 
deprecated - determines whether this node is deprecatedvoid setDisplayOrderId(double displayOrderId)
All program node contributions from a URCap will be grouped together and sorted (in ascending order) according to their display order id.
The default value is 0.0. If the display order id for all program node contributions in a URCap have the default value, the standard built-in sorting in PolyScope will be used.
displayOrderId - Determines the display order of the URCap program node typeCopyright © 2019. All rights reserved.