|
||||||||||
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.EditLetExpCommand
public class EditLetExpCommand
Command class for edit the properties of a boolean expression.
Constructor Summary | |
---|---|
EditLetExpCommand(VOCLModel.LetExp letexp)
creates a new EditLetExpCommand |
Method Summary | |
---|---|
void |
execute()
execute this command |
void |
redo()
Redo command execution. |
void |
setCommandAttributes(boolean isHorizontal,
int splitPercentage,
VOCLModel.VariableDeclaration varDecl,
boolean isNegated)
sets the new letexp 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 EditLetExpCommand(VOCLModel.LetExp letexp)
letexp
- the letexp to be alteredMethod Detail |
---|
public void setCommandAttributes(boolean isHorizontal, int splitPercentage, VOCLModel.VariableDeclaration varDecl, boolean isNegated)
isHorizontal
- the new split horizontal flagsplitPercentage
- the split percentagevarDecl
- the VariableDeclaration
of this LetExp
isNegated
- indicating whether to negate the expressionpublic 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 |