|
||||||||||
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.EditIfExpCommand
public class EditIfExpCommand
Command class for edit the properties of a boolean expression.
Constructor Summary | |
---|---|
EditIfExpCommand(VOCLModel.IfExp ifexp)
creates a new EditIfExpCommand |
Method Summary | |
---|---|
void |
execute()
execute this command |
void |
redo()
Redo command execution. |
void |
setCommandAttributes(boolean isHorizontal,
int splitPercentage1,
int splitPercentage2,
boolean isNegated)
sets the new ifexp 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 EditIfExpCommand(VOCLModel.IfExp ifexp)
ifexp
- the ifexp to be alteredMethod Detail |
---|
public void setCommandAttributes(boolean isHorizontal, int splitPercentage1, int splitPercentage2, boolean isNegated)
isHorizontal
- the new split horizontal flagsplitPercentage1
- Split percentage for upper and bottom part (or left/right if splitted vertically)splitPercentage2
- Split percentage for left and right (or top/bottom if splitted vertically)isNegated
- indicating whether the Expression is negatedpublic 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 |