Clients must explicitly connect to the undo manager to express their interest in the undo history. Clients should disconnect from the undo manager when they are no longer interested in tracking the undo history. If there are no clients connected to the undo manager, it will not track the document's changes and will dispose of any history that was previously kept.
Clients may also listen to the undo manager for notifications before and after undo or redo events are performed. Clients must connect to the undo manager in addition to registering listeners.
Clients may implement this interface.
@see DocumentUndoManagerRegistry @see IDocumentUndoListener @see org.eclipse.jface.text.IDocument @since 3.2
|
|
|
|
|
|