ParaView
|
This UndoElement is used to link or unlink GlobalPropertyManager property to a property of an arbitrary Proxy. More...
#include <vtkSMGlobalPropertiesLinkUndoElement.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 | SetLinkState (const char *mgrname, const char *globalpropname, vtkSMProxy *proxy, const char *propname, bool isAddAction) |
Provide the informations needed to restore the previous state. 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 vtkSMGlobalPropertiesLinkUndoElement * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMGlobalPropertiesLinkUndoElement * | 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 | |
vtkSMGlobalPropertiesLinkUndoElement () | |
~vtkSMGlobalPropertiesLinkUndoElement () | |
virtual void | SetGlobalPropertyManagerName (const char *) |
virtual void | SetGlobalPropertyName (const char *) |
virtual void | SetProxyPropertyName (const char *) |
int | UndoRedoInternal (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 | |
char * | GlobalPropertyManagerName |
char * | GlobalPropertyName |
vtkTypeUInt32 | ProxyGlobalID |
char * | ProxyPropertyName |
bool | IsLinkAdded |
![]() | |
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... | |
This UndoElement is used to link or unlink GlobalPropertyManager property to a property of an arbitrary Proxy.
This class is automatically build inside the vtkSMProxyManager when GlobalPropertyLinks are changed. FIXME: This class is currrently non-functional. I need to re-energize this class. It's falling down the priority chain for now.
Definition at line 34 of file vtkSMGlobalPropertiesLinkUndoElement.h.
Definition at line 38 of file vtkSMGlobalPropertiesLinkUndoElement.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkSMUndoElement.
|
static |
|
virtual |
Reimplemented from vtkSMUndoElement.
|
static |
void vtkSMGlobalPropertiesLinkUndoElement::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Undo the operation encapsulated by this element.
Implements vtkUndoElement.
|
virtual |
Redo the operation encaspsulated by this element.
Implements vtkUndoElement.
void vtkSMGlobalPropertiesLinkUndoElement::SetLinkState | ( | const char * | mgrname, |
const char * | globalpropname, | ||
vtkSMProxy * | proxy, | ||
const char * | propname, | ||
bool | isAddAction | ||
) |
Provide the informations needed to restore the previous state.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 62 of file vtkSMGlobalPropertiesLinkUndoElement.h.
|
protected |
Definition at line 63 of file vtkSMGlobalPropertiesLinkUndoElement.h.
|
protected |
Definition at line 64 of file vtkSMGlobalPropertiesLinkUndoElement.h.
|
protected |
Definition at line 65 of file vtkSMGlobalPropertiesLinkUndoElement.h.
|
protected |
Definition at line 66 of file vtkSMGlobalPropertiesLinkUndoElement.h.