Extension with special viewprovider calls. More...
#include <ViewProviderExtension.h>
Public Member Functions | |
virtual void | extensionAttach (App::DocumentObject *) |
virtual void | extensionBeforeDelete () |
virtual bool | extensionCanDragAndDropObject (App::DocumentObject *) const |
virtual bool | extensionCanDragObject (App::DocumentObject *) const |
virtual bool | extensionCanDragObjects () const |
virtual bool | extensionCanDropObject (App::DocumentObject *) const |
virtual bool | extensionCanDropObjectEx (App::DocumentObject *, App::DocumentObject *, const char *, const std::vector< std::string > &) const |
virtual bool | extensionCanDropObjects () const |
virtual std::vector< App::DocumentObject * > | extensionClaimChildren (void) const |
virtual std::vector< App::DocumentObject * > | extensionClaimChildren3D (void) const |
virtual void | extensionDragObject (App::DocumentObject *) |
virtual void | extensionDropObject (App::DocumentObject *) |
virtual std::string | extensionDropObjectEx (App::DocumentObject *obj, App::DocumentObject *, const char *, const std::vector< std::string > &) |
virtual void | extensionFinishRestoring () |
virtual SoSeparator * | extensionGetBackRoot (void) const |
virtual SoGroup * | extensionGetChildRoot (void) const |
virtual bool | extensionGetDetailPath (const char *, SoFullPath *, SoDetail *&) const |
virtual std::vector< std::string > | extensionGetDisplayModes (void) const |
virtual bool | extensionGetElementPicked (const SoPickedPoint *, std::string &) const |
virtual SoSeparator * | extensionGetFrontRoot (void) const |
virtual void | extensionHide (void) |
Hides the view provider. More... | |
virtual QIcon | extensionMergeColorfullOverlayIcons (const QIcon &orig) const |
virtual QIcon | extensionMergeGreyableOverlayIcons (const QIcon &orig) const |
virtual void | extensionModeSwitchChange (void) |
virtual bool | extensionOnDelete (const std::vector< std::string > &) |
virtual void | extensionReattach (App::DocumentObject *) |
virtual int | extensionReplaceObject (App::DocumentObject *, App::DocumentObject *) |
virtual void | extensionSetDisplayMode (const char *) |
virtual void | extensionSetupContextMenu (QMenu *, QObject *, const char *) |
virtual void | extensionShow (void) |
Shows the view provider. More... | |
virtual void | extensionStartRestoring () |
virtual void | extensionUpdateData (const App::Property *) |
Gui::ViewProviderDocumentObject * | getExtendedViewProvider () |
const Gui::ViewProviderDocumentObject * | getExtendedViewProvider () const |
virtual PyObject * | getExtensionPyObject () |
bool | ignoreOverlayIcon () const |
void | setIgnoreOverlayIcon (bool on) |
ViewProviderExtension () | |
virtual | ~ViewProviderExtension () |
Public Member Functions inherited from App::Extension | |
Extension () | |
App::ExtensionContainer * | getExtendedContainer () |
const App::ExtensionContainer * | getExtendedContainer () const |
virtual PyObject * | getExtensionPyObject () |
virtual void | initExtension (App::ExtensionContainer *obj) |
bool | isPythonExtension () |
std::string | name () const |
virtual | ~Extension () |
virtual Property * | extensionGetPropertyByName (const char *name) const |
find a property by its name More... | |
virtual const char * | extensionGetPropertyName (const Property *prop) const |
get the name of a property More... | |
virtual void | extensionGetPropertyMap (std::map< std::string, Property * > &Map) const |
get all properties of the class (including properties of the parent) More... | |
virtual void | extensionGetPropertyList (std::vector< Property * > &List) const |
get all properties of the class (including properties of the parent) More... | |
virtual short | extensionGetPropertyType (const Property *prop) const |
get the Type of a Property More... | |
virtual short | extensionGetPropertyType (const char *name) const |
get the Type of a named Property More... | |
virtual const char * | extensionGetPropertyGroup (const Property *prop) const |
get the Group of a Property More... | |
virtual const char * | extensionGetPropertyGroup (const char *name) const |
get the Group of a named Property More... | |
virtual const char * | extensionGetPropertyDocumentation (const Property *prop) const |
get the Group of a Property More... | |
virtual const char * | extensionGetPropertyDocumentation (const char *name) const |
get the Group of a named Property More... | |
virtual void | extensionSave (Base::Writer &) const |
virtual void | extensionRestore (Base::XMLReader &) |
bool | extensionIsDerivedFrom (const Base::Type type) const |
Additional Inherited Members | |
Protected Member Functions inherited from App::Extension | |
virtual void | extensionOnChanged (const Property *p) |
void | initExtensionType (Base::Type type) |
Static Protected Member Functions inherited from App::Extension | |
static void | initExtensionSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Base::Type::instantiationMethod method=nullptr) |
Protected Attributes inherited from App::Extension | |
bool | m_isPythonExtension = false |
Py::SmartPtr | ExtensionPythonObject |
Extension with special viewprovider calls.
ViewProviderExtension::ViewProviderExtension | ( | ) |
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension, and Gui::ViewProviderOriginGroupExtension.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionAttach().
|
virtual |
Reimplemented in Gui::ViewProviderLinkObserver.
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension, and Gui::ViewProviderLinkObserver.
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension.
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension, and Gui::ViewProviderLinkObserver.
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension.
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension, and Gui::ViewProviderOriginGroupExtension.
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension.
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension.
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension, and Gui::ViewProviderLinkObserver.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionFinishRestoring().
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension.
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension.
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionGetDisplayModes().
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension.
|
virtual |
Hides the view provider.
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension, and Gui::ViewProviderGroupExtension.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionHide(), and Gui::ViewProviderGroupExtension::extensionHide().
|
virtual |
Reimplemented in PartGui::ViewProviderAttachExtension.
|
virtual |
Reimplemented in TechDrawGui::ViewProviderCosmeticExtension.
|
virtual |
Reimplemented in Gui::ViewProviderLinkObserver.
|
virtual |
Reimplemented in Gui::ViewProviderGroupExtension.
|
virtual |
Reimplemented in Gui::ViewProviderLinkObserver.
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionSetDisplayMode().
|
virtual |
Reimplemented in PartGui::ViewProviderAttachExtension, and PartGui::ViewProviderSplineExtension.
|
virtual |
Shows the view provider.
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension, and Gui::ViewProviderGroupExtension.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionShow(), and Gui::ViewProviderGroupExtension::extensionShow().
|
virtual |
|
virtual |
Reimplemented in Gui::ViewProviderGeoFeatureGroupExtension, Gui::ViewProviderLinkObserver, PartGui::ViewProviderAttachExtension, PartGui::ViewProviderSplineExtension, TechDrawGui::ViewProviderCosmeticExtension, and Gui::ViewProviderOriginGroupExtension.
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionUpdateData(), PartGui::ViewProviderSplineExtension::extensionUpdateData(), and TechDrawGui::ViewProviderCosmeticExtension::extensionUpdateData().
ViewProviderDocumentObject * ViewProviderExtension::getExtendedViewProvider | ( | ) |
References Base::Persistence::getClassTypeId(), and App::Extension::getExtendedContainer().
Referenced by Gui::ViewProviderGeoFeatureGroupExtension::extensionAttach(), Gui::ViewProviderGroupExtension::extensionCanDropObject(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren(), Gui::ViewProviderGroupExtension::extensionClaimChildren(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren3D(), Gui::ViewProviderGroupExtension::extensionDragObject(), Gui::ViewProviderGroupExtension::extensionDropObject(), Gui::ViewProviderGroupExtension::extensionHide(), PartGui::ViewProviderAttachExtension::extensionMergeColorfullOverlayIcons(), PartGui::ViewProviderSplineExtension::extensionOnChanged(), Gui::ViewProviderGroupExtension::extensionOnDelete(), Gui::ViewProviderGeoFeatureGroupExtension::extensionSetDisplayMode(), PartGui::ViewProviderAttachExtension::extensionSetupContextMenu(), Gui::ViewProviderGroupExtension::extensionShow(), Gui::ViewProviderGeoFeatureGroupExtension::extensionUpdateData(), PartGui::ViewProviderAttachExtension::extensionUpdateData(), Gui::ViewProviderOriginGroupExtension::extensionUpdateData(), PartGui::ViewProviderSplineExtension::showControlPoints(), Gui::ViewProviderOriginGroupExtension::slotChangedObjectApp(), Gui::ViewProviderOriginGroupExtension::slotChangedObjectGui(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), and Gui::ViewProviderOriginGroupExtension::updateOriginSize().
const ViewProviderDocumentObject * ViewProviderExtension::getExtendedViewProvider | ( | ) | const |
|
virtual |
Reimplemented from App::Extension.
References App::Extension::ExtensionPythonObject.
bool Gui::ViewProviderExtension::ignoreOverlayIcon | ( | ) | const |
void Gui::ViewProviderExtension::setIgnoreOverlayIcon | ( | bool | on | ) |