18 #ifndef vtkSMUndoStackBuilder_h 19 #define vtkSMUndoStackBuilder_h 48 virtual void Begin(
const char* label);
78 virtual void PushToStack();
109 vtkSetMacro(IgnoreAllChanges,
bool);
110 vtkGetMacro(IgnoreAllChanges,
bool);
114 virtual void OnStateChange(
vtkSMSession* session, vtkTypeUInt32 globalId,
128 vtkSetStringMacro(Label);
136 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