|
||||||||||
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.SetConstraintCommand
public class SetConstraintCommand
Change the location of a graphical object.
Constructor Summary | |
---|---|
SetConstraintCommand()
The default constructor. |
Method Summary | |
---|---|
void |
execute()
Executes the command. |
void |
redo()
Redo command execution. |
void |
setLocation(org.eclipse.draw2d.geometry.Rectangle r)
Sets the location. |
void |
setObject(org.eclipse.emf.ecore.EObject object)
|
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 SetConstraintCommand()
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 setLocation(org.eclipse.draw2d.geometry.Rectangle r)
r
- the location to setpublic void setObject(org.eclipse.emf.ecore.EObject object)
public void undo()
undo
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |