|
||||||||||
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.CreateConstraintCommand
public class CreateConstraintCommand
Command for creating a asscociation role.
Constructor Summary | |
---|---|
CreateConstraintCommand()
The default constructor. |
Method Summary | |
---|---|
void |
execute()
Entry point for command execution. |
VOCLModel.VOCLDiagram |
getParent()
Returns the parent vocl diagramm. |
void |
redo()
Redo command execution. |
void |
setConstraint(VOCLModel.Constraint constraint)
Sets the constraint. |
void |
setLocation(org.eclipse.draw2d.geometry.Point loc)
Sets the location. |
void |
setParent(VOCLModel.VOCLDiagram newParent)
Sets the parent vocl diagramm. |
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 CreateConstraintCommand()
Method Detail |
---|
public 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 VOCLModel.VOCLDiagram getParent()
public void setParent(VOCLModel.VOCLDiagram newParent)
newParent
- the parent vocl diagramm to setpublic void setConstraint(VOCLModel.Constraint constraint)
constraint
- the constraint to setpublic void setLocation(org.eclipse.draw2d.geometry.Point loc)
loc
- the location to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |