|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.util.PropositionTreeUtil
public class PropositionTreeUtil
Created with IntelliJ IDEA. User: SW Date: 2012/12/03 Time: 4:39 PM To change this template use File | Settings | File Templates.
Constructor Summary | |
---|---|
PropositionTreeUtil()
|
Method Summary | |
---|---|
static void |
cancelNewProp(PropositionEditor proposition)
|
static String |
configureLogicExpression(PropositionEditor proposition)
|
static PropositionEditor |
createCompoundPropositionBoStub(PropositionEditor existing,
boolean addNewChild,
Class<? extends PropositionEditor> propClass)
|
static PropositionEditor |
createCompoundPropositionBoStub(PropositionEditor existing,
Class<? extends PropositionEditor> propClass)
|
static List<PropositionParameterEditor> |
createParameterList()
|
static PropositionEditor |
createSimplePropositionBoStub(PropositionEditor sibling,
Class<? extends PropositionEditor> propClass)
This method creates a partially populated Simple PropositionBo with three parameters: a term type paramter (value not assigned) a operation parameter a constant parameter (value set to empty string) The returned PropositionBo has an generatedId. |
static Node<RuleEditorTreeNode,String> |
findEditedProposition(Node<RuleEditorTreeNode,String> node)
Find and return the node containing the proposition that is in currently in edit mode |
static Node<RuleEditorTreeNode,String> |
findParentPropositionNode(Node<RuleEditorTreeNode,String> currentNode,
String selectedPropKey)
|
static PropositionEditor |
findProposition(Node<RuleEditorTreeNode,String> currentNode,
String selectedPropKey)
|
static Node<RuleEditorTreeNode,String> |
findPropositionTreeNode(Node<RuleEditorTreeNode,String> currentNode,
String selectedPropId)
|
static PropositionEditor |
getProposition(RuleEditor ruleEditor)
|
static void |
resetEditModeOnPropositionTree(Node<RuleEditorTreeNode,String> currentNode)
disable edit mode for all Nodes beneath and including the passed in Node |
static void |
resetEditModeOnPropositionTree(RuleEditor ruleEditor)
|
static void |
resetNewProp(PropositionEditor proposition)
|
static void |
setTypeForCompoundOpCode(PropositionEditor proposition,
String compoundOpCode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropositionTreeUtil()
Method Detail |
---|
public static void setTypeForCompoundOpCode(PropositionEditor proposition, String compoundOpCode)
public static Node<RuleEditorTreeNode,String> findParentPropositionNode(Node<RuleEditorTreeNode,String> currentNode, String selectedPropKey)
public static PropositionEditor getProposition(RuleEditor ruleEditor)
PropositionBo
from the formpublic static PropositionEditor findProposition(Node<RuleEditorTreeNode,String> currentNode, String selectedPropKey)
public static Node<RuleEditorTreeNode,String> findEditedProposition(Node<RuleEditorTreeNode,String> node)
node
- the node to start searching from (typically the root)
public static void resetEditModeOnPropositionTree(RuleEditor ruleEditor)
public static void resetEditModeOnPropositionTree(Node<RuleEditorTreeNode,String> currentNode)
currentNode
- public static Node<RuleEditorTreeNode,String> findPropositionTreeNode(Node<RuleEditorTreeNode,String> currentNode, String selectedPropId)
public static String configureLogicExpression(PropositionEditor proposition)
public static PropositionEditor createSimplePropositionBoStub(PropositionEditor sibling, Class<? extends PropositionEditor> propClass) throws IllegalAccessException, InstantiationException
sibling
- -
IllegalAccessException
InstantiationException
public static List<PropositionParameterEditor> createParameterList()
public static PropositionEditor createCompoundPropositionBoStub(PropositionEditor existing, boolean addNewChild, Class<? extends PropositionEditor> propClass) throws InstantiationException, IllegalAccessException
InstantiationException
IllegalAccessException
public static PropositionEditor createCompoundPropositionBoStub(PropositionEditor existing, Class<? extends PropositionEditor> propClass) throws IllegalAccessException, InstantiationException
IllegalAccessException
InstantiationException
public static void cancelNewProp(PropositionEditor proposition)
public static void resetNewProp(PropositionEditor proposition)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |