public class UndoRedoListenerAdapter extends java.lang.Object implements IUndoRedoListener
IUndoRedoListener.| Constructor and Description |
|---|
UndoRedoListenerAdapter() |
| Modifier and Type | Method and 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.
|
public void canRedoChanged(boolean canRedo)
IUndoRedoListenercanRedoChanged in interface IUndoRedoListenercanRedo - Whether it is possible to redo or notpublic void canUndoChanged(boolean canUndo)
IUndoRedoListenercanUndoChanged in interface IUndoRedoListenerpublic void commandRedone(IUndoRedoCommand command)
IUndoRedoListenercommandRedone in interface IUndoRedoListenercommand - Command that was redonepublic void commandUndone(IUndoRedoCommand command)
IUndoRedoListenercommandUndone in interface IUndoRedoListenercommand - Command that was undonepublic void undoableCommandAdded(IUndoRedoCommand command)
IUndoRedoListenerGanttUndoRedoManager.undoableCommandAdded in interface IUndoRedoListenercommand - Command added to stackGanttChart.getUndoRedoManager()