|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener to monitor state changes of an IUndoManager
.
Clients may implement this interface to listen to undo manger changes.
As of 3.2 clients which need to examine refactorings which have been performed, undone or redone should use
IRefactoringExecutionListener
for enhanced functionality.
Method Summary | |
---|---|
void |
aboutToPerformChange(IUndoManager manager,
Change change)
This method gets called by the undo manager if a change gets executed in the context of the undo manager. |
void |
changePerformed(IUndoManager manager,
Change change)
This method gets called by the undo manager when a change has been executed in the context of the undo manager. |
void |
redoStackChanged(IUndoManager manager)
This method is called by the undo manager if the redo stack has changed (for example a redo object got added or the redo stack got flushed). |
void |
undoStackChanged(IUndoManager manager)
This method is called by the undo manager if the undo stack has changed (for example a undo object got added or the undo stack got flushed). |
Method Detail |
public void undoStackChanged(IUndoManager manager)
manager
- the manager this listener is registered topublic void redoStackChanged(IUndoManager manager)
manager
- the manager this listener is registered topublic void aboutToPerformChange(IUndoManager manager, Change change)
manager
- the manager this listener is registered tochange
- the change to be executedpublic void changePerformed(IUndoManager manager, Change change)
manager
- the manager this listener is registered tochange
- the change that has been executed
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.