|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gef.commands.Command
org.topcased.modeler.commands.AbstractMoveCommand
public class AbstractMoveCommand
A class defining an abstract command to change the visual plan of a graph
element. It offers methods to advance, to move back or to put on the
foreground or the background.
Creation : 11 oct. 2005
| Constructor Summary | |
|---|---|
protected |
AbstractMoveCommand(GraphElement element)
Constructor. Cannot be instantiated since it is an abstract class. |
| Method Summary | |
|---|---|
void |
execute()
|
protected void |
moveBackward()
Move backward the current graph element in the diagram plans. |
protected void |
moveForward()
Move forward the current graph element in the diagram plans. |
protected void |
moveToBack()
Move to back the current graph element in the diagram plans. |
protected void |
moveToFront()
Move to front the current graph element in the diagram plans. |
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 |
|---|
protected AbstractMoveCommand(GraphElement element)
element - the element to move through diagram plans| Method Detail |
|---|
public void execute()
execute in class org.eclipse.gef.commands.Commandpublic void undo()
undo in class org.eclipse.gef.commands.Commandprotected void moveForward()
protected void moveBackward()
protected void moveToFront()
protected void moveToBack()
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.