A base class for all editor windows that have undo-functionality based on cloning their whole content
More...
|
| UndoCloneTab () |
|
override void | OnInitialize () |
| Called on startup to load the content for this tab from a file More...
|
|
override void | OnChange () |
| Mark the content of this tab as changed (needs to be saved) and create a new undo-backup More...
|
|
override void | OnUndo () |
| Called to undo the last change More...
|
|
override void | OnRedo () |
| Called to redo the last undone change More...
|
|
| UndoTab () |
|
override void | OnSaveFile () |
| Called when the content of this tab is to be saved to a file.
|
|
override void | OnChange () |
| Mark the content of this tab as changed (needs to be saved)
|
|
| Tab () |
|
void | FocusDefaultControl () |
| Set the focus back to the default control on the tab More...
|
|
virtual void | OnDelete () |
| Hook to delete the currently selected object in this tab More...
|
|
virtual void | OnUpdate () |
| Called on startup, content updates and tab switch to refresh any on-screen displays More...
|
|
virtual void | OnClose () |
| Called when the tab needs to shutdown and close More...
|
|
void | ForceClose () |
| Forces the tab to close, displaying warnings about unsaved data, etc. but not allowing the user to cancel. More...
|
|
|
override void | Undo () |
| Hook to undo the last change
|
|
override void | Redo () |
| Hook to redo the last undone change
|
|
void | Open (IToastProvider toastProvider) |
| Opens the tab. More...
|
|
new void | Hide () |
| Hides this tab (so that another can be brought to the foreground) More...
|
|
bool | RequestClose () |
| Requests the tab to close, displaying warnings about unsaved data, etc. allowing the user to cancel. More...
|
|
bool | SaveFile () |
| Saves the content of this tab to a file - error-handling included! More...
|
|
void | Delete () |
| Delete the currently selected object in this tab More...
|
|
string | NameUI [get, set] |
| The user-friendly name of this editor More...
|
|
string | FilePath [get, protected set] |
| The path to the file in this editor More...
|
|
EventHandler | TabClosed |
| Occurs after the tab was closed More...
|
|
A base class for all editor windows that have undo-functionality based on cloning their whole content
Calling OnChange will create an undo checkpoint (_currentBackup) after the fact, ready for the next change. The first checkpoint is created right at startup.