public class RuleCompareTreeBuilder extends AbstractTreeBuilder
Constructor and Description |
---|
RuleCompareTreeBuilder() |
addNodeType, buildNodeLabel, getDescription, getPropositionPrefix
public RuleCompareTreeBuilder()
public Tree<CompareTreeNode,String> buildTree(RuleEditor firstElement, RuleEditor secondElement)
protected boolean colonRequired(RuleEditor element)
protected PropositionEditor getRootProposition(RuleEditor rule)
public static Tree<CompareTreeNode,String> initCompareTree()
protected void addTreeNode(Node<CompareTreeNode,String> currentNode, PropositionEditor firstElement, PropositionEditor secondElement)
protected void addCompoundTreeNode(Node<CompareTreeNode,String> newNode, PropositionEditor firstElement, PropositionEditor secondElement)
protected String getLabelForChild(PropositionEditor proposition, String label)
protected String getLabelForOperator(PropositionEditor proposition)
protected int getChildrenSize(PropositionEditor parent)
protected PropositionEditor getChildForIndex(PropositionEditor parent, int index)
protected int getNodeWidth(Node<CompareTreeNode,String> parent)
protected void addOperatorTreeNode(Node<CompareTreeNode,String> newNode, String firstElement, String secondElement)
public List<String> getListItems(PropositionEditor propositionEditor)
public String getNaturalLanguageUsageKey()
getNaturalLanguageUsageKey
in class AbstractTreeBuilder
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.