|
||||||||||
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.CreateBoolExpCommand
public class CreateBoolExpCommand
Command for creating a boolean expression role.
Constructor Summary | |
---|---|
CreateBoolExpCommand(VOCLModel.BoolExp boolexp,
VOCLModel.NavExp parent)
The default constructor. |
Method Summary | |
---|---|
void |
execute()
Entry point for command execution. |
VOCLModel.BoolExp |
getBoolExp()
Sets the bool expression. |
void |
redo()
Redo command execution. |
void |
setCommandAttributes(VOCLModel.BoolOperation operation,
boolean isHorizontal,
int splitPercentage,
boolean isNegated)
Sets the command attributes. |
void |
setLocation(org.eclipse.draw2d.geometry.Point loc)
Sets the location. |
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 CreateBoolExpCommand(VOCLModel.BoolExp boolexp, VOCLModel.NavExp parent)
Method Detail |
---|
public VOCLModel.BoolExp getBoolExp()
public void setCommandAttributes(VOCLModel.BoolOperation operation, boolean isHorizontal, int splitPercentage, boolean isNegated)
operation
- the operationisHorizontal
- the horizontal flagsplitPercentage
- the split percentageisNegated
- the flag shows the negationpublic void execute()
execute
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public void setLocation(org.eclipse.draw2d.geometry.Point loc)
loc
- the location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |