ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
pqUndoStackBuilder Class Reference

pqUndoStackBuilder extends the vtkSMUndoStackBuilder as follows: More...

#include <pqUndoStackBuilder.h>

Inheritance diagram for pqUndoStackBuilder:
Inheritance graph
[legend]
Collaboration diagram for pqUndoStackBuilder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual bool GetIgnoreIsolatedChanges ()
 Get/Set if all modifications triggerred when not within a Begin/End block should be added to the undo stack or not.
virtual void SetIgnoreIsolatedChanges (bool)
virtual void SetUndoStack (vtkSMUndoStack *)
 Overridden to add observers to not record changes when the stack is being undone/redone.
virtual void OnStateChange (vtkSMSession *session, vtkTypeUInt32 globalId, const vtkSMMessage *previousState, const vtkSMMessage *newState)
 Overridden to filter unwanted event and manage auto undoset creation.

Static Public Member Functions

static pqUndoStackBuilderNew ()
static int IsTypeOf (const char *type)
static pqUndoStackBuilderSafeDownCast (vtkObject *o)

Protected Member Functions

 pqUndoStackBuilder ()
 ~pqUndoStackBuilder ()
bool Filter (vtkSMSession *session, vtkTypeUInt32 globalId)
 Return false if this state should be escaped.

Protected Attributes

bool IgnoreIsolatedChanges
bool UndoRedoing

Detailed Description

pqUndoStackBuilder extends the vtkSMUndoStackBuilder as follows:

Definition at line 72 of file pqUndoStackBuilder.h.


Constructor & Destructor Documentation

pqUndoStackBuilder::pqUndoStackBuilder ( ) [protected]
pqUndoStackBuilder::~pqUndoStackBuilder ( ) [protected]

Member Function Documentation

static pqUndoStackBuilder* pqUndoStackBuilder::New ( ) [static]

Reimplemented from vtkSMUndoStackBuilder.

virtual const char* pqUndoStackBuilder::GetClassName ( ) [virtual]

Reimplemented from vtkSMUndoStackBuilder.

static int pqUndoStackBuilder::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkSMUndoStackBuilder.

virtual int pqUndoStackBuilder::IsA ( const char *  type) [virtual]

Reimplemented from vtkSMUndoStackBuilder.

static pqUndoStackBuilder* pqUndoStackBuilder::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkSMUndoStackBuilder.

void pqUndoStackBuilder::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkSMUndoStackBuilder.

virtual bool pqUndoStackBuilder::GetIgnoreIsolatedChanges ( ) [virtual]

Get/Set if all modifications triggerred when not within a Begin/End block should be added to the undo stack or not.

On by default. Must be set before performing changes to Server Manager which the GUI is certain shouldn't be added to the Undo stack.

virtual void pqUndoStackBuilder::SetIgnoreIsolatedChanges ( bool  ) [virtual]
virtual void pqUndoStackBuilder::SetUndoStack ( vtkSMUndoStack ) [virtual]

Overridden to add observers to not record changes when the stack is being undone/redone.

Reimplemented from vtkSMUndoStackBuilder.

virtual void pqUndoStackBuilder::OnStateChange ( vtkSMSession session,
vtkTypeUInt32  globalId,
const vtkSMMessage previousState,
const vtkSMMessage newState 
) [virtual]

Overridden to filter unwanted event and manage auto undoset creation.

Reimplemented from vtkSMUndoStackBuilder.

bool pqUndoStackBuilder::Filter ( vtkSMSession session,
vtkTypeUInt32  globalId 
) [protected]

Return false if this state should be escaped.


Member Data Documentation

Definition at line 102 of file pqUndoStackBuilder.h.

Definition at line 103 of file pqUndoStackBuilder.h.


The documentation for this class was generated from the following file: