Class RuleTreeNode
- java.lang.Object
-
- net.ssehub.easy.producer.ui.productline_editor.instantiator.TreeNode
-
- net.ssehub.easy.producer.ui.productline_editor.instantiator.RuleTreeNode
-
class RuleTreeNode extends TreeNode
Implements a rule node.- Author:
- Holger Eichelberger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.ssehub.easy.producer.ui.productline_editor.instantiator.TreeNode
TreeNode.Insertable, TreeNode.InsertionPoint
-
-
Constructor Summary
Constructors Constructor Description RuleTreeNode(Rule rule)Creates a rule node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) RulegetRule()Returns the represented rule.java.lang.StringgetText()Returns the display text.(package private) TreeNode.InsertionPointsupportedInsertionPoint(TreeNode.Insertable insertable)Returns the supported insertion point within the tree forinsertable.-
Methods inherited from class net.ssehub.easy.producer.ui.productline_editor.instantiator.TreeNode
getChildren, getImage, getParent, hasChildren, setChildren
-
-
-
-
Field Detail
-
rule
private Rule rule
-
-
Constructor Detail
-
RuleTreeNode
RuleTreeNode(Rule rule)
Creates a rule node.- Parameters:
rule- the rule node
-
-
Method Detail
-
getText
public java.lang.String getText()
Description copied from class:TreeNodeReturns the display text.
-
getRule
Rule getRule()
Returns the represented rule.- Returns:
- the rule
-
supportedInsertionPoint
TreeNode.InsertionPoint supportedInsertionPoint(TreeNode.Insertable insertable)
Description copied from class:TreeNodeReturns the supported insertion point within the tree forinsertable.- Specified by:
supportedInsertionPointin classTreeNode- Parameters:
insertable- the element to be inserted- Returns:
- the supported rule insertion point
-
-