Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef.commands
Class ForwardUndoCompoundCommand

java.lang.Object
  extended by

org.eclipse.gef.commands.Command
      extended by

org.eclipse.gef.commands.CompoundCommand
          extended by
org.eclipse.gef.commands.ForwardUndoCompoundCommand

public class ForwardUndoCompoundCommand
extends CompoundCommand

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 (java.lang.String label)
          Constructs a ForwardUndoCompoundCommand with the specified label
 
Method Summary
 java.lang.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

ForwardUndoCompoundCommand

public ForwardUndoCompoundCommand()
Constructs a ForwardUndoCompoundCommand with no label


ForwardUndoCompoundCommand

public ForwardUndoCompoundCommand(java.lang.String label)
Constructs a ForwardUndoCompoundCommand with the specified label

Parameters:
label - the label
Method Detail

getDebugLabel

public java.lang.String getDebugLabel()
Overrides:
getDebugLabel in class Command
Returns:
an untranslated String used for debug purposes only
See Also:
Command.getDebugLabel()

undo

public 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:
undo in class CompoundCommand
See Also:
Command.undo()

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire