public class FocusOnSelectionAndHideCommand extends AbstractCommand<FocusOnSelectionAndHideCommand.Parameters>
| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
FocusOnSelectionAndHideCommand.Parameters  | 
documentation, log, proof, service, state, uiControl| Constructor and Description | 
|---|
FocusOnSelectionAndHideCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
execute(FocusOnSelectionAndHideCommand.Parameters s)  | 
java.lang.String | 
getName()
Returns the name of this proof command. 
 | 
private Taclet | 
getTaclet(Term t,
         java.lang.String pos)  | 
private void | 
hideAll(Sequent toKeep)
Hide all formulas of the sequent that are not focus sequent 
 | 
private SequentFormula | 
iterateThroughSequentAndFindNonMatch(Goal g,
                                    Sequent toKeep)
Iterate through sequent and find first formula that is not in the list of formulas to keep and return this formula 
 | 
private void | 
makeTacletApp(Goal g,
             SequentFormula toHide,
             Taclet tac,
             boolean antec)
Make tacletApp for one sequent formula to hide on the sequent 
 | 
evaluateArguments, execute, getArguments, getDocumentationpublic void execute(FocusOnSelectionAndHideCommand.Parameters s) throws ScriptException, java.lang.InterruptedException
execute in class AbstractCommand<FocusOnSelectionAndHideCommand.Parameters>ScriptExceptionjava.lang.InterruptedExceptionpublic java.lang.String getName()
ProofScriptCommandProofScriptEngineprivate void hideAll(Sequent toKeep) throws ParserException, ScriptException
toKeep - ParserExceptionScriptExceptionprivate Taclet getTaclet(Term t, java.lang.String pos) throws ScriptException
ScriptExceptionprivate SequentFormula iterateThroughSequentAndFindNonMatch(Goal g, Sequent toKeep) throws ScriptException, ParserException
g - toKeep - ScriptExceptionParserExceptionprivate void makeTacletApp(Goal g, SequentFormula toHide, Taclet tac, boolean antec) throws ScriptException
g - the goal on which this hide rule should be applied totoHide - the sequent formula to hidetac - the taclet top apply (either hide_left or hide_right)antec - whether the formula is in the antecedentScriptException