ParaView
|
abstract superclass for Server Manager undo elements. More...
#include <vtkSMUndoElement.h>
Public Types | |
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 vtkSMSession * | GetSession () |
virtual void | SetSession (vtkSMSession *) |
virtual vtkSMSessionProxyManager * | GetSessionProxyManager () |
Return the corresponding ProxyManager if any. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | Undo ()=0 |
Undo the operation encapsulated by this element. More... | |
virtual int | Redo ()=0 |
Redo the operation encaspsulated by this element. More... | |
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 int | IsTypeOf (const char *type) |
static vtkSMUndoElement * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkUndoElement * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
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 | |
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... | |
abstract superclass for Server Manager undo elements.
Abstract superclass for Server Manager undo elements. This class keeps the session, so undoelement could work accross a set of communication Sessions.
Definition at line 35 of file vtkSMUndoElement.h.
Definition at line 38 of file vtkSMUndoElement.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkUndoElement.
Reimplemented in vtkSMGlobalPropertiesLinkUndoElement, vtkSMRemoteObjectUpdateUndoElement, vtkSMPropertyModificationUndoElement, pqProxyModifiedStateUndoElement, and vtkSMComparativeAnimationCueUndoElement.
|
static |
|
virtual |
Reimplemented from vtkUndoElement.
Reimplemented in vtkSMGlobalPropertiesLinkUndoElement, vtkSMRemoteObjectUpdateUndoElement, vtkSMPropertyModificationUndoElement, pqProxyModifiedStateUndoElement, and vtkSMComparativeAnimationCueUndoElement.
|
static |
void vtkSMUndoElement::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
|
virtual |
|
virtual |
Return the corresponding ProxyManager if any.
|
protected |
Definition at line 55 of file vtkSMUndoElement.h.