PartDesignGui::ViewProviderPocket Class Reference

#include <ViewProviderPocket.h>

Inheritance diagram for PartDesignGui::ViewProviderPocket:
PartDesignGui::ViewProvider PartGui::ViewProviderPart PartGui::ViewProviderPartExt Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

std::vector
< App::DocumentObject * > 
claimChildren (void) const
 grouping handling
virtual Base::Type getTypeId (void) const
virtual bool onDelete (const std::vector< std::string > &)
 get called if the object is about to get deleted. Here you can delete other objects to or switch visibility of others.
void setupContextMenu (QMenu *, QObject *, const char *)
 set up the context-menu with the supported edit modes
 ViewProviderPocket ()
 constructor
virtual ~ViewProviderPocket ()
 destructor

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const
virtual bool setEdit (int ModNum)
 is called by the document when the provider goes in edit mode
virtual void unsetEdit (int ModNum)
 is called when you loose the edit mode

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 32 of file ViewProviderPocket.h.


Constructor & Destructor Documentation

ViewProviderPocket::ViewProviderPocket (  ) 

constructor

Definition at line 42 of file ViewProviderPocket.cpp.

ViewProviderPocket::~ViewProviderPocket (  )  [virtual]

destructor

Definition at line 46 of file ViewProviderPocket.cpp.


Member Function Documentation

std::vector< App::DocumentObject * > ViewProviderPocket::claimChildren ( void   )  const [virtual]

grouping handling

Reimplemented from Gui::ViewProvider.

Definition at line 50 of file ViewProviderPocket.cpp.

References Gui::ViewProviderDocumentObject::getObject().

void * PartDesignGui::ViewProviderPocket::create ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderPocket.cpp.

Base::Type PartDesignGui::ViewProviderPocket::getClassTypeId ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderPocket.cpp.

const App::PropertyData & PartDesignGui::ViewProviderPocket::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderPocket.cpp.

const App::PropertyData * PartDesignGui::ViewProviderPocket::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderPocket.cpp.

Base::Type PartDesignGui::ViewProviderPocket::getTypeId ( void   )  const [virtual]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderPocket.cpp.

void PartDesignGui::ViewProviderPocket::init ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderPocket.cpp.

Referenced by initPartDesignGui().

bool ViewProviderPocket::onDelete ( const std::vector< std::string > &   )  [virtual]

get called if the object is about to get deleted. Here you can delete other objects to or switch visibility of others.

Reimplemented from Gui::ViewProvider.

Definition at line 121 of file ViewProviderPocket.cpp.

References Gui::ViewProviderDocumentObject::getObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::Application::Instance, PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.

bool ViewProviderPocket::setEdit ( int  ModNum  )  [protected, virtual]

is called by the document when the provider goes in edit mode

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 66 of file ViewProviderPocket.cpp.

References Gui::Control(), Gui::ViewProvider::Default, PartDesignGui::TaskDlgPocketParameters::getPocketView(), and Gui::Selection().

void ViewProviderPocket::setupContextMenu ( QMenu *  ,
QObject *  ,
const char *   
) [virtual]

set up the context-menu with the supported edit modes

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 58 of file ViewProviderPocket.cpp.

References Gui::ViewProvider::Default.

void ViewProviderPocket::unsetEdit ( int  ModNum  )  [protected, virtual]

is called when you loose the edit mode

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 107 of file ViewProviderPocket.cpp.

References Gui::Control(), and Gui::ViewProvider::Default.


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

Generated on Wed Nov 23 19:02:39 2011 for FreeCAD by  doxygen 1.6.1