![]() |
pCon.planner Plugin SDK
Version 8.8.1
|
Undo Manager. More...
Public Member Functions | |
void | SetUndoRecordingEnabled (bool pEnabled) |
Enabled or disables undo recording. More... | |
void | BeginTransaction () |
Starts a new transaction. More... | |
void | EndTransaction () |
Ends a transaction. More... | |
void | AbortTransaction () |
Aborts a transaction. More... | |
void | Undo () |
Performs an undo operation. More... | |
void | Redo () |
Performs a redo operation. More... | |
void | AppendCommand (ICommand^ pCommand) |
Adds a custom command. More... | |
Undo Manager.
void X3g::Plugin::IUndoManager::AbortTransaction | ( | ) |
Aborts a transaction.
Undo recording must be enabled to use this function.
void X3g::Plugin::IUndoManager::AppendCommand | ( | ICommand^ | pCommand) |
Adds a custom command.
void X3g::Plugin::IUndoManager::BeginTransaction | ( | ) |
Starts a new transaction.
Undo recording must be enabled to use this function. All changes between begin and end of a transaction creates a single undo step. Nested transactions are supported.
void X3g::Plugin::IUndoManager::EndTransaction | ( | ) |
Ends a transaction.
Undo recording must be enabled to use this function. All changes between begin and end of a transaction creates a single undo step. Nested transactions are supported.
void X3g::Plugin::IUndoManager::Redo | ( | ) |
Performs a redo operation.
void X3g::Plugin::IUndoManager::SetUndoRecordingEnabled | ( | bool | pEnabled) |
Enabled or disables undo recording.
Undo recording is enabled by default.
void X3g::Plugin::IUndoManager::Undo | ( | ) |
Performs an undo operation.