FreeCAD C++
|
#include <App/DocumentObjectExtension.h>
Extension with special document object calls.
Public Member Functions | |
virtual void | onExtendedSettingDocument () |
get called after setting the document | |
virtual void | onExtendedDocumentRestored () |
get called after a document has been fully restored | |
virtual void | onExtendedSetupObject () |
get called after a brand new object was created | |
virtual void | onExtendedUnsetupObject () |
get called when object is going to be removed from the document | |
virtual const char * | getViewProviderExtensionName (void) const |
![]() | |
virtual Property * | extensionGetPropertyByName (const char *name) const |
find a property by its name | |
virtual const char * | extensionGetPropertyName (const Property *prop) const |
get the name of a property | |
virtual void | extensionGetPropertyMap (std::map< std::string, Property * > &Map) const |
get all properties of the class (including properties of the parent) | |
virtual void | extensionGetPropertyList (std::vector< Property * > &List) const |
get all properties of the class (including properties of the parent) | |
virtual short | extensionGetPropertyType (const Property *prop) const |
get the Type of a Property | |
virtual short | extensionGetPropertyType (const char *name) const |
get the Type of a named Property | |
virtual const char * | extensionGetPropertyGroup (const Property *prop) const |
get the Group of a Property | |
virtual const char * | extensionGetPropertyGroup (const char *name) const |
get the Group of a named Property | |
virtual const char * | extensionGetPropertyDocumentation (const Property *prop) const |
get the Group of a Property | |
virtual const char * | extensionGetPropertyDocumentation (const char *name) const |
get the Group of a named Property | |
virtual void | extensionSave (Base::Writer &) const |
virtual void | extensionRestore (Base::XMLReader &) |
bool | extensionIsDerivedFrom (const Base::Type type) const |
Additional Inherited Members | |
![]() | |
static void | initExtensionSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Base::Type::instantiationMethod method=0) |
|
virtual |
returns the type name of the ViewProviderExtension which is automatically attached to the viewprovider object when it is initiated