| |
|
| java.lang.Object fr.aliacom.commands.Command fr.aliacom.commands.SyncCommand
SyncCommand | abstract public class SyncCommand extends Command (Code) | | SyncCommand are commands that block the UI thread.
SyncCommand implementations might provide undo support.
author: tom author: (c) 2001, 2003 Thomas Cataldo |
Method Summary | |
public IMemento | getMemento() Returns all the data that will be necessary to undo
an action. | abstract public boolean | isUndoPossible() | public void | run() | abstract public void | undoIt(IMemento memento) Undo the action associated to a command using the provided
memento. |
SyncCommand | public SyncCommand()(Code) | | |
getMemento | public IMemento getMemento() throws NoUndoPossibleException(Code) | | Returns all the data that will be necessary to undo
an action. The returned object should be stacked to
implement the undo/redo mechanism.
the data necessary to undo what the last execution did. throws: NoUndoPossibleException - |
isUndoPossible | abstract public boolean isUndoPossible()(Code) | | true if the user will be able to undo the action after the command execution. |
|
|
|