AlphaFramework API
1.0.3
|
A base class for all editor windows that have undo-functionality based on IUndoCommand logging (using the command pattern) More...
Protected Member Functions | |
UndoCommandTab () | |
void | ExecuteCommand (IUndoCommand command) |
Executes a IUndoCommand using this tab's undo stack. More... | |
void | ExecuteCommandSafe (IUndoCommand command) |
Executes a IUndoCommand and automatically displays message boxes for common exception types. More... | |
override void | OnUndo () |
Hook to undo the last change | |
override void | OnRedo () |
Hook to redo the last undone change | |
Protected Member Functions inherited from AlphaFramework.Editor.UndoTab< IUndoCommand > | |
UndoTab () | |
override void | OnSaveFile () |
override void | OnChange () |
Additional Inherited Members | |
Public Member Functions inherited from AlphaFramework.Editor.UndoTab< IUndoCommand > | |
override void | Undo () |
override void | Redo () |
Protected Attributes inherited from AlphaFramework.Editor.UndoTab< IUndoCommand > | |
readonly Button | buttonUndo |
The undo button. More... | |
readonly Button | buttonRedo |
The redo button. More... | |
readonly Stack< T > | UndoBackups |
Entries used by the undo-system to undo changes More... | |
readonly Stack< T > | RedoBackups |
Entries used by the undo-system to redo changes previously undone More... | |
A base class for all editor windows that have undo-functionality based on IUndoCommand logging (using the command pattern)
All changes to the content must be performed via the ExecuteCommand interface to be handled by the undo-system
|
inlineprotected |
Executes a IUndoCommand using this tab's undo stack.
|
inlineprotected |
Executes a IUndoCommand and automatically displays message boxes for common exception types.