36 #ifndef vtkSMUndoStack_h 37 #define vtkSMUndoStack_h 39 #include "vtkPVServerManagerCoreModule.h" 42 class vtkSMUndoRedoStateLoader;
43 class vtkSMUndoStackObserver;
52 void PrintSelf(ostream& os, vtkIndent indent);
80 PushUndoSetEvent = 1987,
81 ObjectCreationEvent = 1988
96 void FillWithRemoteObjects(
vtkUndoSet* undoSet, vtkCollection* collection);
105 vtkSMUndoStackObserver* Observer;
virtual int Undo()
Performs an Undo using the set on the top of the undo stack.
void PrintSelf(ostream &os, vtkIndent indent)
This is the undo/redo stack for the Server Manager.
virtual int Redo()
Performs a Redo using the set on the top of the redo stack.
virtual void Push(const char *label, vtkUndoSet *changeSet)
Push an undo set on the Undo stack.
Maintains a collection of vtkUndoElement that can be undone/redone in a single step.
static vtkUndoStack * New()
vtkUndoStackInternal * Internal