MeshGui::Workbench Class Reference

#include <Workbench.h>

Inheritance diagram for MeshGui::Workbench:
Gui::StdWorkbench Gui::Workbench Base::BaseClass

List of all members.

Public Member Functions

virtual Base::Type getTypeId (void) const
void setupContextMenu (const char *recipient, Gui::MenuItem *) const
 Defines the standard context menu.
 Workbench ()
 Constructs a workbench object.
virtual ~Workbench ()

Static Public Member Functions

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

Protected Member Functions

Gui::ToolBarItemsetupCommandBars () const
 Defines the standard command bars.
Gui::MenuItemsetupMenuBar () const
 Defines the standard menus.
Gui::ToolBarItemsetupToolBars () const
 Defines the standard toolbars.

Detailed Description

Author:
Werner Mayer

Definition at line 34 of file Mod/Mesh/Gui/Workbench.h.


Constructor & Destructor Documentation

Workbench::Workbench (  ) 

Constructs a workbench object.

Reimplemented from Gui::Workbench.

Definition at line 49 of file Mod/Mesh/Gui/Workbench.cpp.

Workbench::~Workbench (  )  [virtual]

Reimplemented from Gui::Workbench.

Definition at line 53 of file Mod/Mesh/Gui/Workbench.cpp.


Member Function Documentation

void * Workbench::create ( void   )  [static]

Reimplemented from Gui::StdWorkbench.

Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.

Base::Type Workbench::getClassTypeId ( void   )  [static]

Reimplemented from Gui::StdWorkbench.

Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.

Base::Type Workbench::getTypeId ( void   )  const [virtual]

Reimplemented from Gui::StdWorkbench.

Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.

void Workbench::init ( void   )  [static]

Reimplemented from Gui::StdWorkbench.

Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.

Referenced by initMeshGui().

Gui::ToolBarItem * Workbench::setupCommandBars (  )  const [protected, virtual]

Defines the standard command bars.

Reimplemented from Gui::StdWorkbench.

Definition at line 103 of file Mod/Mesh/Gui/Workbench.cpp.

References Mesh2Shape::mesh, and Gui::ToolBarItem::setCommand().

void Workbench::setupContextMenu ( const char *  recipient,
Gui::MenuItem item 
) const [virtual]

Defines the standard context menu.

Reimplemented from Gui::StdWorkbench.

Definition at line 57 of file Mod/Mesh/Gui/Workbench.cpp.

References Mesh::Feature::getClassTypeId(), and Gui::Selection().

Gui::MenuItem * Workbench::setupMenuBar (  )  const [protected, virtual]

Defines the standard menus.

Reimplemented from Gui::StdWorkbench.

Definition at line 66 of file Mod/Mesh/Gui/Workbench.cpp.

References Gui::MenuItem::findItem(), Gui::MenuItem::insertItem(), Mesh2Shape::mesh, and Gui::MenuItem::setCommand().

Gui::ToolBarItem * Workbench::setupToolBars (  )  const [protected, virtual]

Defines the standard toolbars.

Reimplemented from Gui::StdWorkbench.

Definition at line 94 of file Mod/Mesh/Gui/Workbench.cpp.

References Mesh2Shape::mesh, and Gui::ToolBarItem::setCommand().


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

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