Package org.eclipse.gef.commands
Class ForwardUndoCompoundCommand
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 SummaryConstructorsConstructorDescriptionConstructs a ForwardUndoCompoundCommand with no labelForwardUndoCompoundCommand(String label) Constructs a ForwardUndoCompoundCommand with the specified label
- 
Method SummaryMethods inherited from class org.eclipse.gef.commands.CompoundCommandadd, canExecute, canRedo, canUndo, dispose, execute, getChildren, getCommands, getLabel, isEmpty, redo, size, unwrapMethods inherited from class org.eclipse.gef.commands.Commandchain, setDebugLabel, setLabel
- 
Constructor Details- 
ForwardUndoCompoundCommandpublic ForwardUndoCompoundCommand()Constructs a ForwardUndoCompoundCommand with no label
- 
ForwardUndoCompoundCommandConstructs a ForwardUndoCompoundCommand with the specified label- Parameters:
- label- the label
 
 
- 
- 
Method Details- 
getDebugLabel- Overrides:
- getDebugLabelin class- Command
- Returns:
- an untranslated String used for debug purposes only
- See Also:
 
- 
undopublic void undo()Undo the command. For a Preorder compound command this means undoing all of the commands that it contains. Do it in the same order as applied.- Overrides:
- undoin class- CompoundCommand
- See Also:
 
 
-