|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPandora.RuleController
public class RuleController
Calls the NDRuleController when a first line and a rule have been selected.
Constructor Summary | |
---|---|
RuleController()
Constructs a RuleController. |
Method Summary | |
---|---|
void |
addFirstLine(ProofLine line)
Takes the first selected line and stores it in currentLine. |
void |
addRule(java.lang.String rule)
Creates a NDRuleController. |
boolean |
apply()
First call adds the currentLine to the currentRule. |
void |
exitRule()
Called when rule execution failed or the rule finished execution. |
boolean |
lineSelected(ProofLine line)
Gives the newly selected lines to the Rule as the extra input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleController()
Method Detail |
---|
public void addRule(java.lang.String rule)
rule
- String representing the selected Rulepublic void exitRule()
public void addFirstLine(ProofLine line)
line
- ProofLine which is the first line selectedpublic boolean apply() throws java.lang.Exception
java.lang.Exception
public boolean lineSelected(ProofLine line) throws java.lang.Exception
line
- ProofLine representing the selected line
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |