StartGui::Workbench Class Reference

#include <Workbench.h>

Inheritance diagram for StartGui::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 Base::Type getTypeId (void) const
virtual 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

virtual Gui::ToolBarItemsetupCommandBars () const
 Defines the standard command bars.
virtual Gui::DockWindowItemssetupDockWindows () const
 Returns a DockWindowItems structure of dock windows this workbench.
virtual Gui::MenuItemsetupMenuBar () const
 Defines the standard menus.
virtual Gui::ToolBarItemsetupToolBars () const
 Defines the standard toolbars.

Detailed Description

Author:
Werner Mayer

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


Constructor & Destructor Documentation

Workbench::Workbench (  ) 

Constructs a workbench object.

Reimplemented from Gui::Workbench.

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

Workbench::~Workbench (  )  [virtual]

Reimplemented from Gui::Workbench.

Definition at line 55 of file Mod/Start/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 59 of file Mod/Start/Gui/Workbench.cpp.

References Base::Console(), Gui::Command::doCommand(), Gui::Command::Gui, and Base::Exception::what().

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

Reimplemented from Gui::StdWorkbench.

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

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

Reimplemented from Gui::StdWorkbench.

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

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

Reimplemented from Gui::StdWorkbench.

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

void Workbench::init ( void   )  [static]

Reimplemented from Gui::StdWorkbench.

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

Referenced by initStartGui().

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

Defines the standard command bars.

Reimplemented from Gui::StdWorkbench.

Definition at line 108 of file Mod/Start/Gui/Workbench.cpp.

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

Defines the standard context menu.

Reimplemented from Gui::StdWorkbench.

Definition at line 77 of file Mod/Start/Gui/Workbench.cpp.

Gui::DockWindowItems * Workbench::setupDockWindows (  )  const [protected, virtual]

Returns a DockWindowItems structure of dock windows this workbench.

Reimplemented from Gui::StdWorkbench.

Definition at line 114 of file Mod/Start/Gui/Workbench.cpp.

References Gui::DockWindowItems::setVisibility().

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

Defines the standard menus.

Reimplemented from Gui::StdWorkbench.

Definition at line 82 of file Mod/Start/Gui/Workbench.cpp.

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

Defines the standard toolbars.

Reimplemented from Gui::StdWorkbench.

Definition at line 87 of file Mod/Start/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:48 2011 for FreeCAD by  doxygen 1.6.1