PartDesignGui::Workbench Class Reference

#include <Workbench.h>

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

List of all members.

Public Member Functions

virtual void activated ()
 Run some actions when the workbench gets activated.
virtual void deactivated ()
 Run some actions when the workbench gets deactivated.
virtual Base::Type getTypeId (void) const
 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/PartDesign/Gui/Workbench.h.


Constructor & Destructor Documentation

Workbench::Workbench (  ) 

Constructs a workbench object.

Reimplemented from Gui::Workbench.

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

Workbench::~Workbench (  )  [virtual]

Reimplemented from Gui::Workbench.

Definition at line 51 of file Mod/PartDesign/Gui/Workbench.cpp.


Member Function Documentation

void Workbench::activated (  )  [virtual]

Run some actions when the workbench gets activated.

Reimplemented from Gui::Workbench.

Definition at line 55 of file Mod/PartDesign/Gui/Workbench.cpp.

References Gui::Workbench::addTaskWatcher(), and Gui::Control().

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

Reimplemented from Gui::StdWorkbench.

Definition at line 45 of file Mod/PartDesign/Gui/Workbench.cpp.

void Workbench::deactivated (  )  [virtual]

Run some actions when the workbench gets deactivated.

Reimplemented from Gui::Workbench.

Definition at line 113 of file Mod/PartDesign/Gui/Workbench.cpp.

References Gui::Workbench::removeTaskWatcher().

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

Reimplemented from Gui::StdWorkbench.

Definition at line 45 of file Mod/PartDesign/Gui/Workbench.cpp.

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

Reimplemented from Gui::StdWorkbench.

Definition at line 45 of file Mod/PartDesign/Gui/Workbench.cpp.

void Workbench::init ( void   )  [static]

Reimplemented from Gui::StdWorkbench.

Definition at line 45 of file Mod/PartDesign/Gui/Workbench.cpp.

Referenced by initPartDesignGui().

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

Defines the standard command bars.

Reimplemented from Gui::StdWorkbench.

Definition at line 227 of file Mod/PartDesign/Gui/Workbench.cpp.

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

Defines the standard menus.

Reimplemented from Gui::StdWorkbench.

Definition at line 120 of file Mod/PartDesign/Gui/Workbench.cpp.

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

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

Defines the standard toolbars.

Reimplemented from Gui::StdWorkbench.

Definition at line 177 of file Mod/PartDesign/Gui/Workbench.cpp.

References Gui::ToolBarItem::setCommand().


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