30 #ifndef vtkSMUndoStackBuilder_h 31 #define vtkSMUndoStackBuilder_h 60 virtual void Begin(
const char* label);
90 virtual void PushToStack();
121 vtkSetMacro(IgnoreAllChanges,
bool);
122 vtkGetMacro(IgnoreAllChanges,
bool);
126 virtual void OnStateChange(
vtkSMSession* session, vtkTypeUInt32 globalId,
140 vtkSetStringMacro(Label);
148 void InitializeUndoSet();
unit undo-redo-able operation.
builds server manager undo sets and pushes them on the undo stack.
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
This is the undo/redo stack for the Server Manager.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
superclass for most server manager classes
virtual bool HandleChangeEvents()
Returns if the event raised by the proxy manager should be converted to undo elements.
Maintains a collection of vtkUndoElement that can be undone/redone in a single step.
vtkSMUndoStack * UndoStack
static vtkSMObject * New()
proxy for a VTK object(s) on a server
void EndAndPushToStack()
Convenience method call End(); PushToStack(); in that order.
void PrintSelf(ostream &os, vtkIndent indent) override