public interface ICommandManager
ICommand.runWith(IChange...).
Each command holds its own own context to do changes (see IChange) on it. These changes can be undo()ne
and then redo()ne.
To use macros, the implementation should implement the IMacroManager.| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo()
canRedo
|
boolean |
canUndo()
canUndo
|
boolean |
doIt(ICommand<?>... cmd)
doIt
|
ICommand<?> |
redo()
redo a command that was un-done.
|
ICommand<?> |
undo()
undo a command that was done by
#doIt(ICommand). |
boolean doIt(ICommand<?>... cmd)
cmd - command to executeICommand<?> undo()
#doIt(ICommand).ICommand<?> redo()
boolean canUndo()
boolean canRedo()
Copyright © 2012–2021. All rights reserved.