Package org.eclipse.ltk.core.refactoring
Class UndoManagerAdapter
java.lang.Object
org.eclipse.ltk.core.refactoring.UndoManagerAdapter
- All Implemented Interfaces:
IUndoManagerListener
This adapter class provides default implementations for the
methods defined by the
IUndoManagerListener interface.
This class may be subclassed by clients.
- Since:
- 3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaboutToPerformChange(IUndoManager manager, Change change) This method gets called by the undo manager if a change gets executed in the context of the undo manager.voidchangePerformed(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.voidredoStackChanged(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).voidundoStackChanged(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).
-
Constructor Details
-
UndoManagerAdapter
public UndoManagerAdapter()
-
-
Method Details
-
undoStackChanged
Description copied from interface:IUndoManagerListenerThis 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).- Specified by:
undoStackChangedin interfaceIUndoManagerListener- Parameters:
manager- the manager this listener is registered to
-
redoStackChanged
Description copied from interface:IUndoManagerListenerThis 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).- Specified by:
redoStackChangedin interfaceIUndoManagerListener- Parameters:
manager- the manager this listener is registered to
-
aboutToPerformChange
Description copied from interface:IUndoManagerListenerThis method gets called by the undo manager if a change gets executed in the context of the undo manager.- Specified by:
aboutToPerformChangein interfaceIUndoManagerListener- Parameters:
manager- the manager this listener is registered tochange- the change to be executed
-
changePerformed
Description copied from interface:IUndoManagerListenerThis method gets called by the undo manager when a change has been executed in the context of the undo manager.- Specified by:
changePerformedin interfaceIUndoManagerListener- Parameters:
manager- the manager this listener is registered tochange- the change that has been executed
-