|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.gef.commands.Command | +--org.eclipse.gef.commands.CompoundCommand | +--org.eclipse.gef.commands.ForwardUndoCompoundCommand
A CompoundCommand that performs undo on its contained Commands in the same order in which they were executed.
Constructor Summary | |
ForwardUndoCompoundCommand()
Constructs a ForwardUndoCompoundCommand with no label |
|
ForwardUndoCompoundCommand(String label)
Constructs a ForwardUndoCompoundCommand with the specified label |
Method Summary | |
String |
getDebugLabel()
|
void |
undo()
Undo the command. |
Methods inherited from class org.eclipse.gef.commands.CompoundCommand |
add, canExecute, canUndo, dispose, execute, getChildren, getCommands, getLabel, isEmpty, redo, size, unwrap |
Methods inherited from class org.eclipse.gef.commands.Command |
chain, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForwardUndoCompoundCommand()
public ForwardUndoCompoundCommand(String label)
label
- the labelMethod Detail |
public String getDebugLabel()
getDebugLabel
in class Command
Command.getDebugLabel()
public void undo()
undo
in class CompoundCommand
Command.undo()
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |