Gui::ViewProviderExtension Class Reference

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 SoSeparatorextensionGetBackRoot (void) const
 
virtual SoGroupextensionGetChildRoot (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 SoSeparatorextensionGetFrontRoot (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::ViewProviderDocumentObjectgetExtendedViewProvider ()
 
const Gui::ViewProviderDocumentObjectgetExtendedViewProvider () const
 
virtual PyObjectgetExtensionPyObject ()
 
bool ignoreOverlayIcon () const
 
void setIgnoreOverlayIcon (bool on)
 
 ViewProviderExtension ()
 
virtual ~ViewProviderExtension ()
 
- Public Member Functions inherited from App::Extension
 Extension ()
 
App::ExtensionContainergetExtendedContainer ()
 
const App::ExtensionContainergetExtendedContainer () const
 
virtual PyObjectgetExtensionPyObject ()
 
virtual void initExtension (App::ExtensionContainer *obj)
 
bool isPythonExtension ()
 
std::string name () const
 
virtual ~Extension ()
 
virtual PropertyextensionGetPropertyByName (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
 

Detailed Description

Extension with special viewprovider calls.

Constructor & Destructor Documentation

◆ ViewProviderExtension()

ViewProviderExtension::ViewProviderExtension ( )

◆ ~ViewProviderExtension()

ViewProviderExtension::~ViewProviderExtension ( )
virtual

Member Function Documentation

◆ extensionAttach()

virtual void Gui::ViewProviderExtension::extensionAttach ( App::DocumentObject )
virtual

◆ extensionBeforeDelete()

virtual void Gui::ViewProviderExtension::extensionBeforeDelete ( )
virtual

Reimplemented in Gui::ViewProviderLinkObserver.

◆ extensionCanDragAndDropObject()

virtual bool Gui::ViewProviderExtension::extensionCanDragAndDropObject ( App::DocumentObject ) const
virtual

◆ extensionCanDragObject()

virtual bool Gui::ViewProviderExtension::extensionCanDragObject ( App::DocumentObject ) const
virtual

◆ extensionCanDragObjects()

virtual bool Gui::ViewProviderExtension::extensionCanDragObjects ( ) const
virtual

◆ extensionCanDropObject()

virtual bool Gui::ViewProviderExtension::extensionCanDropObject ( App::DocumentObject ) const
virtual

◆ extensionCanDropObjectEx()

virtual bool Gui::ViewProviderExtension::extensionCanDropObjectEx ( App::DocumentObject ,
App::DocumentObject ,
const char *  ,
const std::vector< std::string > &   
) const
virtual

◆ extensionCanDropObjects()

virtual bool Gui::ViewProviderExtension::extensionCanDropObjects ( ) const
virtual

◆ extensionClaimChildren()

virtual std::vector< App::DocumentObject * > Gui::ViewProviderExtension::extensionClaimChildren ( void  ) const
virtual

◆ extensionClaimChildren3D()

virtual std::vector< App::DocumentObject * > Gui::ViewProviderExtension::extensionClaimChildren3D ( void  ) const
virtual

◆ extensionDragObject()

virtual void Gui::ViewProviderExtension::extensionDragObject ( App::DocumentObject )
virtual

◆ extensionDropObject()

virtual void Gui::ViewProviderExtension::extensionDropObject ( App::DocumentObject )
virtual

◆ extensionDropObjectEx()

virtual std::string Gui::ViewProviderExtension::extensionDropObjectEx ( App::DocumentObject obj,
App::DocumentObject ,
const char *  ,
const std::vector< std::string > &   
)
virtual

◆ extensionFinishRestoring()

virtual void Gui::ViewProviderExtension::extensionFinishRestoring ( )
virtual

◆ extensionGetBackRoot()

virtual SoSeparator * Gui::ViewProviderExtension::extensionGetBackRoot ( void  ) const
virtual

◆ extensionGetChildRoot()

virtual SoGroup * Gui::ViewProviderExtension::extensionGetChildRoot ( void  ) const
virtual

◆ extensionGetDetailPath()

virtual bool Gui::ViewProviderExtension::extensionGetDetailPath ( const char *  ,
SoFullPath *  ,
SoDetail *&   
) const
virtual

◆ extensionGetDisplayModes()

virtual std::vector< std::string > Gui::ViewProviderExtension::extensionGetDisplayModes ( void  ) const
virtual

◆ extensionGetElementPicked()

virtual bool Gui::ViewProviderExtension::extensionGetElementPicked ( const SoPickedPoint *  ,
std::string &   
) const
virtual

◆ extensionGetFrontRoot()

virtual SoSeparator * Gui::ViewProviderExtension::extensionGetFrontRoot ( void  ) const
virtual

◆ extensionHide()

virtual void Gui::ViewProviderExtension::extensionHide ( void  )
virtual

◆ extensionMergeColorfullOverlayIcons()

virtual QIcon Gui::ViewProviderExtension::extensionMergeColorfullOverlayIcons ( const QIcon &  orig) const
virtual

◆ extensionMergeGreyableOverlayIcons()

virtual QIcon Gui::ViewProviderExtension::extensionMergeGreyableOverlayIcons ( const QIcon &  orig) const
virtual

◆ extensionModeSwitchChange()

virtual void Gui::ViewProviderExtension::extensionModeSwitchChange ( void  )
virtual

Reimplemented in Gui::ViewProviderLinkObserver.

◆ extensionOnDelete()

virtual bool Gui::ViewProviderExtension::extensionOnDelete ( const std::vector< std::string > &  )
virtual

◆ extensionReattach()

virtual void Gui::ViewProviderExtension::extensionReattach ( App::DocumentObject )
virtual

Reimplemented in Gui::ViewProviderLinkObserver.

◆ extensionReplaceObject()

virtual int Gui::ViewProviderExtension::extensionReplaceObject ( App::DocumentObject ,
App::DocumentObject  
)
virtual

◆ extensionSetDisplayMode()

virtual void Gui::ViewProviderExtension::extensionSetDisplayMode ( const char *  )
virtual

◆ extensionSetupContextMenu()

virtual void Gui::ViewProviderExtension::extensionSetupContextMenu ( QMenu ,
QObject ,
const char *   
)
virtual

◆ extensionShow()

virtual void Gui::ViewProviderExtension::extensionShow ( void  )
virtual

◆ extensionStartRestoring()

virtual void Gui::ViewProviderExtension::extensionStartRestoring ( )
virtual

◆ extensionUpdateData()

◆ getExtendedViewProvider() [1/2]

ViewProviderDocumentObject * ViewProviderExtension::getExtendedViewProvider ( )

◆ getExtendedViewProvider() [2/2]

const ViewProviderDocumentObject * ViewProviderExtension::getExtendedViewProvider ( ) const

◆ getExtensionPyObject()

PyObject * ViewProviderExtension::getExtensionPyObject ( void  )
virtual

Reimplemented from App::Extension.

References App::Extension::ExtensionPythonObject.

◆ ignoreOverlayIcon()

bool Gui::ViewProviderExtension::ignoreOverlayIcon ( ) const

◆ setIgnoreOverlayIcon()

void Gui::ViewProviderExtension::setIgnoreOverlayIcon ( bool  on)

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