dsto.dfc.swing.undo
Class CmdRedoTo
java.lang.Object
dsto.dfc.swing.commands.AbstractCommand
dsto.dfc.swing.commands.AbstractMutableCommand
dsto.dfc.swing.undo.AbstractUndoableCommand
dsto.dfc.swing.undo.CmdRedo
dsto.dfc.swing.undo.CmdRedoTo
- All Implemented Interfaces:
- Command, Iconic, EditExceptionPolicy, Copyable, PropertyEventSource, ActionListener, Cloneable, EventListener
public class CmdRedoTo
- extends CmdRedo
Command class to invoke redoTo () on a MonitoredUndoManager
.
- Version:
- $Revision$
- Author:
- Derek Weber, Peter J Smet
Fields inherited from class dsto.dfc.swing.undo.CmdRedo |
ICON |
CmdRedoTo
public CmdRedoTo(EditListView editListView,
MonitoredUndoManager undoManager)
getDescription
public String getDescription()
- Description copied from interface:
Command
- A short description of the command, suitable for a tooltip or use
in a status panel.
- Specified by:
getDescription
in interface Command
- Overrides:
getDescription
in class CmdRedo
selectedEdit
public UndoableEdit selectedEdit()
- Returns the currently selected edit.
- Overrides:
selectedEdit
in class CmdRedo
skip
public void skip()
- Skips the current edit causing an exception, but checks to see if any more
edits are to be redone after it.
- Specified by:
skip
in interface EditExceptionPolicy
- Overrides:
skip
in class CmdRedo
listenForEnablingEvents
protected void listenForEnablingEvents()
- Description copied from class:
AbstractUndoableCommand
- Start listening for enabling cursor changes.
- Overrides:
listenForEnablingEvents
in class AbstractUndoableCommand
stopListeningForEnablingEvents
protected void stopListeningForEnablingEvents()
- Description copied from class:
AbstractUndoableCommand
- Stop listening for enabling cursor changes.
- Overrides:
stopListeningForEnablingEvents
in class AbstractUndoableCommand
Copyright © 2008 Commonwealth of Australia