ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pqUndoStackBuilder Class Reference

pqUndoStackBuilder extends the vtkSMUndoStackBuilder as follows: More...

#include <pqUndoStackBuilder.h>

Inherits vtkSMUndoStackBuilder.

Public Types

typedef vtkSMUndoStackBuilder Superclass
 

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. More...
 
virtual void SetIgnoreIsolatedChanges (bool)
 
virtual void SetUndoStack (vtkSMUndoStack *)
 Overridden to add observers to not record changes when the stack is being undone/redone. More...
 
virtual void OnStateChange (vtkSMSession *session, vtkTypeUInt32 globalId, const vtkSMMessage *previousState, const vtkSMMessage *newState)
 Overridden to filter unwanted event and manage auto undoset creation. More...
 

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. More...
 

Protected Attributes

bool IgnoreIsolatedChanges
 
bool UndoRedoing
 

Detailed Description

pqUndoStackBuilder extends the vtkSMUndoStackBuilder as follows:

Definition at line 72 of file pqUndoStackBuilder.h.

Member Typedef Documentation

§ Superclass

typedef vtkSMUndoStackBuilder pqUndoStackBuilder::Superclass

Definition at line 76 of file pqUndoStackBuilder.h.

Constructor & Destructor Documentation

§ pqUndoStackBuilder()

pqUndoStackBuilder::pqUndoStackBuilder ( )
protected

§ ~pqUndoStackBuilder()

pqUndoStackBuilder::~pqUndoStackBuilder ( )
protected

Member Function Documentation

§ New()

static pqUndoStackBuilder* pqUndoStackBuilder::New ( )
static

§ GetClassName()

virtual const char* pqUndoStackBuilder::GetClassName ( )
virtual

§ IsTypeOf()

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

§ IsA()

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

§ SafeDownCast()

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

§ PrintSelf()

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

§ GetIgnoreIsolatedChanges()

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.

§ SetIgnoreIsolatedChanges()

virtual void pqUndoStackBuilder::SetIgnoreIsolatedChanges ( bool  )
virtual

§ SetUndoStack()

virtual void pqUndoStackBuilder::SetUndoStack ( vtkSMUndoStack *  )
virtual

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

§ OnStateChange()

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.

§ Filter()

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

Return false if this state should be escaped.

Member Data Documentation

§ IgnoreIsolatedChanges

bool pqUndoStackBuilder::IgnoreIsolatedChanges
protected

Definition at line 102 of file pqUndoStackBuilder.h.

§ UndoRedoing

bool pqUndoStackBuilder::UndoRedoing
protected

Definition at line 103 of file pqUndoStackBuilder.h.


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