![]() |
v2.44
|
|
An undo stack is a collection of Renga project changesets that can be undone, organized as a stack. More...
Public Member Functions | |
| HRESULT | HasRedo ([out, retval] VARIANT_BOOL *pResult) |
| Indicates whether the undo stack has redo changeset. | |
| HRESULT | HasUndo ([out, retval] VARIANT_BOOL *pResult) |
| Indicates whether the undo stack has undo changeset. | |
| HRESULT | Redo () |
| Redoes the last undone changeset. | |
| HRESULT | Undo () |
| Undoes the last changeset. | |
An undo stack is a collection of Renga project changesets that can be undone, organized as a stack.
When the Undo command is executed, the last changeset is undone and removed from the stack. Until another changeset is added to the stack, the undone changeset can be reverted with the Redo command. Redo reapplies the last undone changeset and pushes it back onto the Undo stack. A specific undo stack is associated with a specific model (See IModel, IProject::CreateOperationWithUndo, IProject::GetUndoStack).
| HRESULT HasRedo | ( | [out, retval] VARIANT_BOOL * | pResult | ) |
Indicates whether the undo stack has redo changeset.
| [out] | pResult | Equals TRUE if redo operations are available, FALSE otherwise. |
| HRESULT HasUndo | ( | [out, retval] VARIANT_BOOL * | pResult | ) |
Indicates whether the undo stack has undo changeset.
| [out] | pResult | Equals TRUE if undo operations are available, FALSE otherwise. |