ParaView
|
#include <pqProxyModifiedStateUndoElement.h>
Public Types | |
typedef vtkSMUndoElement | Superclass |
![]() | |
typedef vtkUndoElement | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | Undo () |
Undo the operation encapsulated by this element. More... | |
virtual int | Redo () |
Redo the operation encaspsulated by this element. More... | |
void | MadeUnmodified (pqProxy *) |
Use this to initialize the element if the pqProxy was marked as UNMODIFIED. More... | |
void | MadeUninitialized (pqProxy *) |
Use this to initialize the element if the pqProxy was marked as UNINITIALIZED. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkSMSession * | GetSession () |
virtual void | SetSession (vtkSMSession *) |
virtual vtkSMSessionProxyManager * | GetSessionProxyManager () |
Return the corresponding ProxyManager if any. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual bool | Merge (vtkUndoElement *vtkNotUsed(new_element)) |
Called on the older element in the UndoSet to merge with the element being added if both the elements are mergeable . More... | |
virtual void | SetUndoSetWorkingContext (vtkCollection *workCTX) |
virtual bool | GetMergeable () |
Returns if this undo element can be merged with other undo elements. More... | |
Static Public Member Functions | |
static pqProxyModifiedStateUndoElement * | New () |
static int | IsTypeOf (const char *type) |
static pqProxyModifiedStateUndoElement * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkSMUndoElement * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkUndoElement * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
pqProxyModifiedStateUndoElement () | |
~pqProxyModifiedStateUndoElement () | |
bool | InternalUndoRedo (bool undo) |
![]() | |
vtkSMUndoElement () | |
~vtkSMUndoElement () | |
![]() | |
vtkUndoElement () | |
~vtkUndoElement () | |
virtual void | SetMergeable (bool) |
Subclasses must set this flag to enable merging of consecutive elements in an UndoSet. More... | |
Protected Attributes | |
vtkTypeUInt32 | ProxySourceGlobalId |
bool | Reverse |
![]() | |
vtkWeakPointer< vtkSMSession > | Session |
![]() | |
bool | Mergeable |
Subclasses must set this flag to enable merging of consecutive elements in an UndoSet. More... | |
vtkCollection * | UndoSetWorkingContext |
Subclasses must set this flag to enable merging of consecutive elements in an UndoSet. More... | |
Definition at line 34 of file pqProxyModifiedStateUndoElement.h.
Definition at line 38 of file pqProxyModifiedStateUndoElement.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkSMUndoElement.
|
static |
|
virtual |
Reimplemented from vtkSMUndoElement.
|
static |
void pqProxyModifiedStateUndoElement::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
inlinevirtual |
Undo the operation encapsulated by this element.
Implements vtkUndoElement.
Definition at line 41 of file pqProxyModifiedStateUndoElement.h.
|
inlinevirtual |
Redo the operation encaspsulated by this element.
Implements vtkUndoElement.
Definition at line 42 of file pqProxyModifiedStateUndoElement.h.
void pqProxyModifiedStateUndoElement::MadeUnmodified | ( | pqProxy * | ) |
Use this to initialize the element if the pqProxy was marked as UNMODIFIED.
void pqProxyModifiedStateUndoElement::MadeUninitialized | ( | pqProxy * | ) |
Use this to initialize the element if the pqProxy was marked as UNINITIALIZED.
|
protected |
|
protected |
Definition at line 61 of file pqProxyModifiedStateUndoElement.h.
|
protected |
Definition at line 62 of file pqProxyModifiedStateUndoElement.h.