#include <undo_ScriptBinding.h>
Inherits SimObject.
◆ clearAll()
Clears the undo manager.
- Returns
- No Return Value
◆ getNextRedoName()
Gets the name of the action at the top of the undo stack
- Returns
- The name of the top action on the redo stack
◆ getNextUndoName()
Gets the name of the action at the top of the undo stack
- Returns
- The name of the top action on the undo stack
◆ getRedoCount()
- Returns
- Returns the number of redo Actions stored as an integer
◆ getRedoName()
String getRedoName |
( |
S32 |
index | ) |
|
Gets the name of the Action at given index.
- Parameters
-
index | An integer index value for the desired redo |
- Returns
- The name as a string
◆ getUndoCount()
- Returns
- Returns the number of UndoActions stored as an integer
◆ getUndoName()
String getUndoName |
( |
S32 |
index | ) |
|
Gets the name of the UndoAction at given index.
- Parameters
-
index | An integer index value for the desired undo |
- Returns
- The name as a string
◆ redo()
Pops the top redo action off the stack, resolves it, and then pushes it onto the undo stack
◆ undo()
Pops the top undo action off the stack, resolves it, and then pushes it onto the redo stack
◆ UndoAction::addToManager()
void UndoAction::addToManager |
( |
[undoManager] ? |
| ) |
|
Adds an UndoAction to the manager
- Parameters
-
undoManager | The manager to add the object to (default NULL) |
- Returns
- No Return Value