Gui::BlankWorkbench Class Reference

The BlankWorkbench class defines a complete empty workbench. More...

#include <Workbench.h>

Inheritance diagram for Gui::BlankWorkbench:
Gui::Workbench Base::BaseClass

List of all members.

Public Member Functions

virtual void activated ()
 Run some actions when the workbench gets activated.
 BlankWorkbench ()
virtual void deactivated ()
 Run some actions when the workbench gets deactivated.
virtual Base::Type getTypeId (void) const
virtual void setupContextMenu (const char *recipient, MenuItem *) const
 Defines the standard context menu.
virtual ~BlankWorkbench ()

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

The BlankWorkbench class defines a complete empty workbench.

Author:
Werner Mayer

Definition at line 153 of file Gui/Workbench.h.


Constructor & Destructor Documentation

BlankWorkbench::BlankWorkbench (  ) 

Definition at line 588 of file Gui/Workbench.cpp.

BlankWorkbench::~BlankWorkbench (  )  [virtual]

Definition at line 593 of file Gui/Workbench.cpp.


Member Function Documentation

void BlankWorkbench::activated (  )  [virtual]

Run some actions when the workbench gets activated.

Reimplemented from Gui::Workbench.

Definition at line 597 of file Gui/Workbench.cpp.

References Gui::getMainWindow().

void * Gui::BlankWorkbench::create ( void   )  [static]

Reimplemented from Gui::Workbench.

Definition at line 586 of file Gui/Workbench.cpp.

void BlankWorkbench::deactivated (  )  [virtual]

Run some actions when the workbench gets deactivated.

Reimplemented from Gui::Workbench.

Definition at line 605 of file Gui/Workbench.cpp.

References Gui::getMainWindow().

Base::Type Gui::BlankWorkbench::getClassTypeId ( void   )  [static]

Reimplemented from Gui::Workbench.

Definition at line 586 of file Gui/Workbench.cpp.

Base::Type Gui::BlankWorkbench::getTypeId ( void   )  const [virtual]

Reimplemented from Gui::Workbench.

Definition at line 586 of file Gui/Workbench.cpp.

void Gui::BlankWorkbench::init ( void   )  [static]

Reimplemented from Gui::Workbench.

Definition at line 586 of file Gui/Workbench.cpp.

Referenced by Gui::Application::initTypes().

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

Defines the standard command bars.

Implements Gui::Workbench.

Definition at line 624 of file Gui/Workbench.cpp.

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

Defines the standard context menu.

Reimplemented from Gui::Workbench.

Definition at line 610 of file Gui/Workbench.cpp.

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

Returns a DockWindowItems structure of dock windows this workbench.

Implements Gui::Workbench.

Definition at line 629 of file Gui/Workbench.cpp.

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

Defines the standard menus.

Implements Gui::Workbench.

Definition at line 614 of file Gui/Workbench.cpp.

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

Defines the standard toolbars.

Implements Gui::Workbench.

Definition at line 619 of file Gui/Workbench.cpp.


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

Generated on Wed Nov 23 19:01:58 2011 for FreeCAD by  doxygen 1.6.1