#include <Workbench.h>
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::ToolBarItem * | setupCommandBars () const |
Defines the standard command bars. | |
virtual Gui::DockWindowItems * | setupDockWindows () const |
Returns a DockWindowItems structure of dock windows this workbench. | |
virtual Gui::MenuItem * | setupMenuBar () const |
Defines the standard menus. | |
virtual Gui::ToolBarItem * | setupToolBars () const |
Defines the standard toolbars. |
Definition at line 34 of file Mod/Start/Gui/Workbench.h.
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.
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().