#include <Workbench.h>
Public Member Functions | |
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/Complete/Gui/Workbench.h.
Workbench::Workbench | ( | ) |
Constructs a workbench object.
Reimplemented from Gui::Workbench.
Definition at line 64 of file Mod/Complete/Gui/Workbench.cpp.
Workbench::~Workbench | ( | ) | [virtual] |
Reimplemented from Gui::Workbench.
Definition at line 68 of file Mod/Complete/Gui/Workbench.cpp.
void * Workbench::create | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 62 of file Mod/Complete/Gui/Workbench.cpp.
Base::Type Workbench::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 62 of file Mod/Complete/Gui/Workbench.cpp.
Base::Type Workbench::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::StdWorkbench.
Definition at line 62 of file Mod/Complete/Gui/Workbench.cpp.
void Workbench::init | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 62 of file Mod/Complete/Gui/Workbench.cpp.
Referenced by initCompleteGui().
Gui::ToolBarItem * Workbench::setupCommandBars | ( | ) | const [protected, virtual] |
Defines the standard command bars.
Reimplemented from Gui::StdWorkbench.
Definition at line 568 of file Mod/Complete/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 72 of file Mod/Complete/Gui/Workbench.cpp.
References App::PropertyContainer::getClassTypeId(), Gui::Selection(), and Gui::MenuItem::setCommand().
Gui::DockWindowItems * Workbench::setupDockWindows | ( | ) | const [protected, virtual] |
Returns a DockWindowItems structure of dock windows this workbench.
Reimplemented from Gui::StdWorkbench.
Definition at line 574 of file Mod/Complete/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 114 of file Mod/Complete/Gui/Workbench.cpp.
References draftlibs::dxfReader::drawing, DrawingExample::file, Gui::CommandManager::getCommandByName(), Gui::Application::Instance, Mesh2Shape::mesh, and Gui::MenuItem::setCommand().
Gui::ToolBarItem * Workbench::setupToolBars | ( | ) | const [protected, virtual] |
Defines the standard toolbars.
Reimplemented from Gui::StdWorkbench.
Definition at line 415 of file Mod/Complete/Gui/Workbench.cpp.
References draftlibs::dxfReader::drawing, DrawingExample::file, Gui::CommandManager::getCommandByName(), Gui::Application::Instance, and Gui::ToolBarItem::setCommand().