SketcherGui::ViewProviderCustom Class Reference

#include <ViewProviderPython.h>

Inheritance diagram for SketcherGui::ViewProviderCustom:
SketcherGui::ViewProviderSketch PartGui::ViewProvider2DObject Gui::SelectionObserver 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 Sketcher/Gui/ViewProviderPython.h.


Constructor & Destructor Documentation

ViewProviderCustom::ViewProviderCustom (  ) 

constructor

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

ViewProviderCustom::~ViewProviderCustom (  )  [virtual]

destructor

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


Member Function Documentation

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

Reimplemented from SketcherGui::ViewProviderSketch.

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

Referenced by updateData().

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

Reimplemented from SketcherGui::ViewProviderSketch.

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

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

Reimplemented from SketcherGui::ViewProviderSketch.

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

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

Reimplemented from SketcherGui::ViewProviderSketch.

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

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

Reimplemented from SketcherGui::ViewProviderSketch.

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

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

Reimplemented from SketcherGui::ViewProviderSketch.

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

Referenced by initSketcherGui().

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

get called by the container whenever a property has been changed

Reimplemented from SketcherGui::ViewProviderSketch.

Definition at line 46 of file Sketcher/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 Sketcher/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:48 2011 for FreeCAD by  doxygen 1.6.1