ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSMPropertyModificationUndoElement Class Reference

#include <vtkSMPropertyModificationUndoElement.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int Undo ()
virtual int Redo ()
void ModifiedProperty (vtkSMProxy *proxy, const char *propertyname)
virtual bool Merge (vtkUndoElement *vtkNotUsed(new_element))

Static Public Member Functions

static
vtkSMPropertyModificationUndoElement
New ()
static int IsTypeOf (const char *type)
static
vtkSMPropertyModificationUndoElement
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMPropertyModificationUndoElement ()
 ~vtkSMPropertyModificationUndoElement ()
int RevertToState ()
virtual void SetPropertyName (const char *)

Protected Attributes

vtkTypeUInt32 ProxyGlobalID
char * PropertyName
vtkSMMessagePropertyState

Detailed Description

This is the concrete implementation for the Undo element for a property modification event. The undo action sets the property to the value that was pushed on to the server previous to the modification. The redo action sets the property to the modified value.

Definition at line 31 of file vtkSMPropertyModificationUndoElement.h.


Constructor & Destructor Documentation

vtkSMPropertyModificationUndoElement::vtkSMPropertyModificationUndoElement ( ) [protected]
vtkSMPropertyModificationUndoElement::~vtkSMPropertyModificationUndoElement ( ) [protected]

Member Function Documentation

static vtkSMPropertyModificationUndoElement* vtkSMPropertyModificationUndoElement::New ( ) [static]

Reimplemented from vtkObject.

virtual const char* vtkSMPropertyModificationUndoElement::GetClassName ( ) [virtual]

Reimplemented from vtkSMUndoElement.

static int vtkSMPropertyModificationUndoElement::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkSMUndoElement.

virtual int vtkSMPropertyModificationUndoElement::IsA ( const char *  type) [virtual]

Reimplemented from vtkSMUndoElement.

static vtkSMPropertyModificationUndoElement* vtkSMPropertyModificationUndoElement::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkSMUndoElement.

void vtkSMPropertyModificationUndoElement::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkSMUndoElement.

virtual int vtkSMPropertyModificationUndoElement::Undo ( ) [virtual]

Undo the operation encapsulated by this element.

Implements vtkUndoElement.

virtual int vtkSMPropertyModificationUndoElement::Redo ( ) [virtual]

Redo the operation encaspsulated by this element.

Implements vtkUndoElement.

void vtkSMPropertyModificationUndoElement::ModifiedProperty ( vtkSMProxy proxy,
const char *  propertyname 
)

Set the property/proxy that was modified.

virtual bool vtkSMPropertyModificationUndoElement::Merge ( vtkUndoElement vtkNotUsednew_element) [virtual]

Called on the older element in the UndoSet to merge with the element being added if both the elements are mergeable. vtkSMPropertyModificationUndoElement is mergeable with vtkSMPropertyModificationUndoElement alone if both represent change to the same property. Returns if the merge was successful.

Reimplemented from vtkUndoElement.

int vtkSMPropertyModificationUndoElement::RevertToState ( ) [protected]
virtual void vtkSMPropertyModificationUndoElement::SetPropertyName ( const char *  ) [protected, virtual]

Member Data Documentation

Definition at line 60 of file vtkSMPropertyModificationUndoElement.h.

Definition at line 63 of file vtkSMPropertyModificationUndoElement.h.

Definition at line 64 of file vtkSMPropertyModificationUndoElement.h.


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