public class RuleEditTreeBuilder extends AbstractTreeBuilder
Constructor and Description |
---|
RuleEditTreeBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOpCodeNode(Node currentNode,
PropositionEditor prop,
int counter)
This method adds an opCode Node to separate components in a compound proposition.
|
protected String |
buildNodeLabel(RuleEditor rule,
PropositionEditor prop) |
Tree |
buildTree(RuleEditor rule) |
String |
getNaturalLanguageUsageKey() |
protected void |
handleCompoundNode(RuleEditor rule,
Node sprout,
PropositionEditor prop,
Node<RuleEditorTreeNode,String> leaf) |
protected void |
handleSimpleNode(RuleEditor rule,
Node sprout,
PropositionEditor prop,
Node<RuleEditorTreeNode,String> leaf) |
protected void |
setupCompoundNode(RuleEditor rule,
PropositionEditor prop,
Node<RuleEditorTreeNode,String> leaf) |
protected void |
setupEditNode(RuleEditor rule,
PropositionEditor prop,
Node<RuleEditorTreeNode,String> leaf) |
protected void |
setupSimpleNode(RuleEditor rule,
PropositionEditor prop,
Node<RuleEditorTreeNode,String> leaf) |
addNodeType, buildNodeLabel, getDescription, getPropositionPrefix
public RuleEditTreeBuilder()
public Tree buildTree(RuleEditor rule)
protected void handleCompoundNode(RuleEditor rule, Node sprout, PropositionEditor prop, Node<RuleEditorTreeNode,String> leaf)
protected void setupCompoundNode(RuleEditor rule, PropositionEditor prop, Node<RuleEditorTreeNode,String> leaf)
protected void handleSimpleNode(RuleEditor rule, Node sprout, PropositionEditor prop, Node<RuleEditorTreeNode,String> leaf)
protected void setupEditNode(RuleEditor rule, PropositionEditor prop, Node<RuleEditorTreeNode,String> leaf)
protected void setupSimpleNode(RuleEditor rule, PropositionEditor prop, Node<RuleEditorTreeNode,String> leaf)
protected String buildNodeLabel(RuleEditor rule, PropositionEditor prop)
protected void addOpCodeNode(Node currentNode, PropositionEditor prop, int counter)
currentNode
- prop
- public String getNaturalLanguageUsageKey()
getNaturalLanguageUsageKey
in class AbstractTreeBuilder
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.