UndoRedoListenerAdapter
public interface IUndoRedoListener
Modifier and Type | Method | Description |
---|---|---|
void |
canRedoChanged(boolean canRedo) |
Notified when the undo/redo state has changed.
|
void |
canUndoChanged(boolean canUndo) |
Notified when the undo/redo state has changed.
|
void |
commandRedone(IUndoRedoCommand command) |
Notified when a redo has taken place.
|
void |
commandUndone(IUndoRedoCommand command) |
Notified when an undo has taken place.
|
void |
undoableCommandAdded(IUndoRedoCommand command) |
When a command is added to the stack that can be undone this is called.
|
void canRedoChanged(boolean canRedo)
canRedo
- Whether it is possible to redo or notvoid canUndoChanged(boolean canUndo)
canRedo
- Whether it is possible to undo or notvoid undoableCommandAdded(IUndoRedoCommand command)
GanttUndoRedoManager
.command
- Command added to stackGanttChart.getUndoRedoManager()
void commandUndone(IUndoRedoCommand command)
command
- Command that was undonevoid commandRedone(IUndoRedoCommand command)
command
- Command that was redone