|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
pl.edu.agh.cast.schema.editor.command.MoveNodeCommand
public class MoveNodeCommand
Moves schema diagram elements.
Constructor Summary | |
---|---|
MoveNodeCommand(org.eclipse.gef.NodeEditPart node,
org.eclipse.draw2d.geometry.Point oldLocation,
org.eclipse.draw2d.geometry.Point newLocation)
Constructor. |
Method Summary | |
---|---|
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveNodeCommand(org.eclipse.gef.NodeEditPart node, org.eclipse.draw2d.geometry.Point oldLocation, org.eclipse.draw2d.geometry.Point newLocation)
node
- a node to moveoldLocation
- an old locationnewLocation
- a new locationMethod Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
Command.execute()
public void undo()
undo
in class org.eclipse.gef.commands.Command
Command.undo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |