v2.33
 
IUndoStack Interface Reference

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). More...

Inheritance diagram for IUndoStack:

Public Member Functions

HRESULT HasRedo ([out, retval] VARIANT_BOOL *pResult)
 
HRESULT HasUndo ([out, retval] VARIANT_BOOL *pResult)
 
HRESULT Redo ()
 
HRESULT Undo ()
 

Detailed Description

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).