Methods' Summary |
undoActionAdded |
is called when an undo action is added to the undo stack.
|
actionUndone |
is called when the top-most action of the undo stack has been undone.
|
actionRedone |
is called when the top-most action of the Redo stack has been re-applied.
|
allActionsCleared |
is called when both the Undo and the Redo stack have been cleared from all Undo actions.
|
redoActionsCleared |
is called when the Redo stack has been cleared.
|
resetAll |
called when the complete undo manager has been reset
|
enteredContext |
is called when a new Undo context has been entered.
|
enteredHiddenContext |
is called when a new hidden Undo context has been entered.
|
leftContext |
is called when an Undo context has been left.
|
leftHiddenContext |
is called when a hidden Undo context has been left.
|
cancelledContext |
is called when an Undo context has been left, but no actions have been added within this context.
|
Methods' Details |
undoActionAdded
- Description
- is called when an undo action is added to the undo stack.
Note that the action must not necessarily be the new top element of the stack: In case there's an
open Undo context, UndoManagerEvent::UndoContextDepth will be greater 0 ,
and the newly added action will be subordinate of the context action.
- See also
- XUndoManager::addUndoAction
|
|
actionUndone
- Description
- is called when the top-most action of the undo stack has been undone.
- See also
- XUndoManager::undo
|
|
actionRedone
- Description
- is called when the top-most action of the Redo stack has been re-applied.
- See also
- XUndoManager::redo
|
|
allActionsCleared
- Description
- is called when both the Undo and the Redo stack have been cleared from all Undo actions.
- See also
- XUndoManager::clear
|
|
redoActionsCleared
|
resetAll
- Description
- called when the complete undo manager has been reset
|
|
enteredContext
- Description
- is called when a new Undo context has been entered.
UndoManagerEvent::UndoActionTitle carries the title of the Undo context, and
UndoManagerEvent::UndoContextDepth the number of open Undo contexts, including the
one just entered.
- See also
- XUndoManager::enterUndoContext
|
|
enteredHiddenContext
- Description
- is called when a new hidden Undo context has been entered.
UndoManagerEvent::UndoActionTitle carries the title of the Undo context, and
UndoManagerEvent::UndoContextDepth the number of open Undo contexts, including the
one just entered.
- See also
- XUndoManager::enterUndoContext
|
|
leftContext
|
leftHiddenContext
|
cancelledContext
- Description
- is called when an Undo context has been left, but no actions have been added within this context.
In such a case, the context which has just been left will not contribute to the undo stack, but instead
be silently removed. Consequently, the UndoManagerEvent::UndoActionTitle is empty.
- See also
- XUndoManager::leaveUndoContext, leftContext, leftHiddenContext
|
|
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.