PartGui::ViewProviderCustom Class Reference

#include <ViewProviderPython.h>

Inheritance diagram for PartGui::ViewProviderCustom:
PartGui::ViewProviderPart PartGui::ViewProviderPartExt Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

virtual Base::Type getTypeId (void) const
virtual void updateData (const App::Property *)
 Gets called if some of the property hade bin changed.
 ViewProviderCustom ()
 constructor
virtual ~ViewProviderCustom ()
 destructor

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const
virtual void onChanged (const App::Property *prop)
 get called by the container whenever a property has been changed

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Protected Attributes

std::map< const App::Property
*, Gui::ViewProvider * > 
propView

Detailed Description

Definition at line 32 of file Part/Gui/ViewProviderPython.h.


Constructor & Destructor Documentation

ViewProviderCustom::ViewProviderCustom (  ) 

constructor

Definition at line 38 of file Part/Gui/ViewProviderPython.cpp.

ViewProviderCustom::~ViewProviderCustom (  )  [virtual]

destructor

Definition at line 42 of file Part/Gui/ViewProviderPython.cpp.


Member Function Documentation

void * PartGui::ViewProviderCustom::create ( void   )  [static]

Reimplemented from PartGui::ViewProviderPart.

Definition at line 36 of file Part/Gui/ViewProviderPython.cpp.

Referenced by updateData().

Base::Type PartGui::ViewProviderCustom::getClassTypeId ( void   )  [static]

Reimplemented from PartGui::ViewProviderPart.

Definition at line 36 of file Part/Gui/ViewProviderPython.cpp.

const App::PropertyData & PartGui::ViewProviderCustom::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from PartGui::ViewProviderPart.

Definition at line 36 of file Part/Gui/ViewProviderPython.cpp.

const App::PropertyData * PartGui::ViewProviderCustom::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from PartGui::ViewProviderPart.

Definition at line 36 of file Part/Gui/ViewProviderPython.cpp.

Base::Type PartGui::ViewProviderCustom::getTypeId ( void   )  const [virtual]

Reimplemented from PartGui::ViewProviderPart.

Definition at line 36 of file Part/Gui/ViewProviderPython.cpp.

void PartGui::ViewProviderCustom::init ( void   )  [static]

Reimplemented from PartGui::ViewProviderPart.

Definition at line 36 of file Part/Gui/ViewProviderPython.cpp.

Referenced by initPartGui().

void ViewProviderCustom::onChanged ( const App::Property prop  )  [protected, virtual]

get called by the container whenever a property has been changed

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 46 of file Part/Gui/ViewProviderPython.cpp.

References App::Property::Copy(), draftlibs::dxfLibrary::copy, App::Property::getName(), App::Property::Paste(), and propView.

void ViewProviderCustom::updateData ( const App::Property  )  [virtual]

Member Data Documentation

Definition at line 45 of file Part/Gui/ViewProviderPython.h.

Referenced by onChanged(), and updateData().


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

Generated on Wed Nov 23 19:02:40 2011 for FreeCAD by  doxygen 1.6.1