Package | Description |
---|---|
magma.util.command |
Modifier and Type | Method and Description |
---|---|
ICommand |
UndoList.getRedoCommand()
Moves the pointer for the next undo command to the next in the list and
returns it
|
ICommand |
UndoList.getUndoCommand()
Returns the command at the undo position and moves the pointer for the
next undo command to the previous command
|
Modifier and Type | Method and Description |
---|---|
boolean |
UndoList.addCommand(ICommand newCommand)
Adds the passed command to the list of commands.
|
boolean |
ICommand.isMergeable(ICommand newCommand)
Checks if this command is mergeable (in the undo list) with the passed
command
|
void |
ICommand.merge(ICommand newCommand)
Merges this command with the passed command so that this command
represents both
|