Base class of all View Features in the drawing module. More...
#include <FeaturePage.h>
Public Member Functions | |
FeaturePage (void) | |
Constructor. | |
virtual Base::Type | getTypeId (void) const |
virtual const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
virtual | ~FeaturePage () |
methods overide Feature | |
virtual App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyFileIncluded | PageResult |
App::PropertyFile | Template |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
void | onChanged (const App::Property *prop) |
get called by the container when a Property was changed | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Base class of all View Features in the drawing module.
Definition at line 39 of file FeaturePage.h.
FeaturePage::FeaturePage | ( | void | ) |
Constructor.
Definition at line 53 of file FeaturePage.cpp.
References ADD_PROPERTY_TYPE, group, App::Prop_None, and App::Prop_Output.
FeaturePage::~FeaturePage | ( | ) | [virtual] |
Definition at line 61 of file FeaturePage.cpp.
void * Drawing::FeaturePage::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 49 of file FeaturePage.cpp.
App::DocumentObjectExecReturn * FeaturePage::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from App::DocumentObject.
Definition at line 80 of file FeaturePage.cpp.
References Base::Console(), draftlibs::dxfReader::error(), DrawingExample::file, Drawing::FeatureView::getClassTypeId(), App::PropertyFileIncluded::getExchangeTempFile(), importOCA::getline(), App::Application::getResourceDir(), App::PropertyFileIncluded::getValue(), App::PropertyString::getValue(), App::DocumentObjectGroup::Group, ofile, PageResult, App::PropertyFileIncluded::setValue(), App::DocumentObject::StdReturn, Template, and Drawing::FeatureView::ViewResult.
Base::Type Drawing::FeaturePage::getClassTypeId | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 49 of file FeaturePage.cpp.
Referenced by CmdDrawingExportPage::activated(), CmdDrawingNewView::activated(), and exporter().
const App::PropertyData & Drawing::FeaturePage::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 49 of file FeaturePage.cpp.
const App::PropertyData * Drawing::FeaturePage::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from App::PropertyContainer.
Definition at line 49 of file FeaturePage.cpp.
Base::Type Drawing::FeaturePage::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 49 of file FeaturePage.cpp.
virtual const char* Drawing::FeaturePage::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from App::DocumentObjectGroup.
Definition at line 59 of file FeaturePage.h.
void Drawing::FeaturePage::init | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 49 of file FeaturePage.cpp.
Referenced by initDrawing().
void FeaturePage::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container when a Property was changed
Reimplemented from App::DocumentObject.
Definition at line 66 of file FeaturePage.cpp.
References App::PropertyFileIncluded::getValue(), App::DocumentObject::isRestoring(), and PageResult.
Definition at line 48 of file FeaturePage.h.
Referenced by execute(), and onChanged().
Definition at line 49 of file FeaturePage.h.
Referenced by execute().