#include <ViewProviderPython.h>
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::PropertyData & | getPropertyData (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::PropertyData * | getPropertyDataPtr (void) |
Protected Attributes | |
std::map< const App::Property *, Gui::ViewProvider * > | propView |
Definition at line 32 of file Sketcher/Gui/ViewProviderPython.h.
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.
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] |
Gets called if some of the property hade bin changed.
Reimplemented from SketcherGui::ViewProviderSketch.
Definition at line 62 of file Sketcher/Gui/ViewProviderPython.cpp.
References SketcherGui::ViewProviderSketch::attach(), create(), Gui::ViewProvider::getActiveDisplayMode(), Gui::ViewProviderDocumentObject::getClassTypeId(), App::PropertyComplexGeoData::getClassTypeId(), Gui::ViewProviderDocumentObject::getObject(), Gui::ViewProvider::getRoot(), Gui::ViewProvider::getTypeId(), App::Property::getTypeId(), Base::Type::isDerivedFrom(), propView, PartGui::ViewProviderPartExt::setDisplayMode(), and Gui::ViewProvider::updateData().
std::map<const App::Property*, Gui::ViewProvider*> SketcherGui::ViewProviderCustom::propView [protected] |
Definition at line 45 of file Sketcher/Gui/ViewProviderPython.h.
Referenced by onChanged(), and updateData().