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

This UndoElement is used to link or unlink GlobalPropertyManager property to a property of an arbitrary Proxy. More...

#include <vtkSMGlobalPropertiesLinkUndoElement.h>

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

Public Types

typedef vtkSMUndoElement Superclass
 
- Public Types inherited from vtkSMUndoElement
typedef vtkUndoElement Superclass
 
- Public Types inherited from vtkUndoElement
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...
 
- Public Member Functions inherited from vtkSMUndoElement
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkSMSessionGetSession ()
 
virtual void SetSession (vtkSMSession *)
 
virtual vtkSMSessionProxyManagerGetSessionProxyManager ()
 Return the corresponding ProxyManager if any. More...
 
- Public Member Functions inherited from vtkUndoElement
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 vtkSMGlobalPropertiesLinkUndoElementNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMGlobalPropertiesLinkUndoElementSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSMUndoElement
static int IsTypeOf (const char *type)
 
static vtkSMUndoElementSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkUndoElement
static int IsTypeOf (const char *type)
 
static vtkUndoElementSafeDownCast (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)
 
- Protected Member Functions inherited from vtkSMUndoElement
 vtkSMUndoElement ()
 
 ~vtkSMUndoElement ()
 
- Protected Member Functions inherited from vtkUndoElement
 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
 
- Protected Attributes inherited from vtkSMUndoElement
vtkWeakPointer< vtkSMSessionSession
 
- Protected Attributes inherited from vtkUndoElement
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...
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

Definition at line 38 of file vtkSMGlobalPropertiesLinkUndoElement.h.

Constructor & Destructor Documentation

◆ vtkSMGlobalPropertiesLinkUndoElement()

vtkSMGlobalPropertiesLinkUndoElement::vtkSMGlobalPropertiesLinkUndoElement ( )
protected

◆ ~vtkSMGlobalPropertiesLinkUndoElement()

vtkSMGlobalPropertiesLinkUndoElement::~vtkSMGlobalPropertiesLinkUndoElement ( )
protected

Member Function Documentation

◆ New()

static vtkSMGlobalPropertiesLinkUndoElement* vtkSMGlobalPropertiesLinkUndoElement::New ( )
static

◆ GetClassName()

virtual const char* vtkSMGlobalPropertiesLinkUndoElement::GetClassName ( )
virtual

Reimplemented from vtkSMUndoElement.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkSMUndoElement.

◆ SafeDownCast()

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

◆ PrintSelf()

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

◆ Undo()

virtual int vtkSMGlobalPropertiesLinkUndoElement::Undo ( )
virtual

Undo the operation encapsulated by this element.

Implements vtkUndoElement.

◆ Redo()

virtual int vtkSMGlobalPropertiesLinkUndoElement::Redo ( )
virtual

Redo the operation encaspsulated by this element.

Implements vtkUndoElement.

◆ SetLinkState()

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.

◆ SetGlobalPropertyManagerName()

virtual void vtkSMGlobalPropertiesLinkUndoElement::SetGlobalPropertyManagerName ( const char *  )
protectedvirtual

◆ SetGlobalPropertyName()

virtual void vtkSMGlobalPropertiesLinkUndoElement::SetGlobalPropertyName ( const char *  )
protectedvirtual

◆ SetProxyPropertyName()

virtual void vtkSMGlobalPropertiesLinkUndoElement::SetProxyPropertyName ( const char *  )
protectedvirtual

◆ UndoRedoInternal()

int vtkSMGlobalPropertiesLinkUndoElement::UndoRedoInternal ( bool  undo)
protected

Member Data Documentation

◆ GlobalPropertyManagerName

char* vtkSMGlobalPropertiesLinkUndoElement::GlobalPropertyManagerName
protected

Definition at line 62 of file vtkSMGlobalPropertiesLinkUndoElement.h.

◆ GlobalPropertyName

char* vtkSMGlobalPropertiesLinkUndoElement::GlobalPropertyName
protected

Definition at line 63 of file vtkSMGlobalPropertiesLinkUndoElement.h.

◆ ProxyGlobalID

vtkTypeUInt32 vtkSMGlobalPropertiesLinkUndoElement::ProxyGlobalID
protected

Definition at line 64 of file vtkSMGlobalPropertiesLinkUndoElement.h.

◆ ProxyPropertyName

char* vtkSMGlobalPropertiesLinkUndoElement::ProxyPropertyName
protected

Definition at line 65 of file vtkSMGlobalPropertiesLinkUndoElement.h.

◆ IsLinkAdded

bool vtkSMGlobalPropertiesLinkUndoElement::IsLinkAdded
protected

Definition at line 66 of file vtkSMGlobalPropertiesLinkUndoElement.h.


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