|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
vocleditor.commands.EditBoolExpCommand
public class EditBoolExpCommand
Command class for edit the properties of a boolean expression.
Constructor Summary | |
---|---|
EditBoolExpCommand(VOCLModel.BoolExp boolexp)
creates a new EditBoolExpCommand |
Method Summary | |
---|---|
void |
execute()
execute this command |
void |
redo()
Redo command execution. |
void |
setCommandAttributes(VOCLModel.BoolOperation operation,
boolean isHorizontal,
int splitPercentage,
boolean isNegated)
sets the new boolexp attributes to be set in this commmand |
void |
undo()
Undo command execution. |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditBoolExpCommand(VOCLModel.BoolExp boolexp)
boolexp
- the boolexp to be alteredMethod Detail |
---|
public void setCommandAttributes(VOCLModel.BoolOperation operation, boolean isHorizontal, int splitPercentage, boolean isNegated)
operation
- the new boolean operation kindisHorizontal
- the new split horizontal flagpublic void execute()
execute
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |