#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 Part/Gui/ViewProviderPython.h.
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.
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] |
Gets called if some of the property hade bin changed.
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 62 of file Part/Gui/ViewProviderPython.cpp.
References PartGui::ViewProviderPartExt::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*> PartGui::ViewProviderCustom::propView [protected] |
Definition at line 45 of file Part/Gui/ViewProviderPython.h.
Referenced by onChanged(), and updateData().