#include <Workbench.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
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 | |
Gui::ToolBarItem * | setupCommandBars () const |
Defines the standard command bars. | |
Gui::MenuItem * | setupMenuBar () const |
Defines the standard menus. | |
Gui::ToolBarItem * | setupToolBars () const |
Defines the standard toolbars. |
Definition at line 34 of file Mod/Mesh/Gui/Workbench.h.
Workbench::Workbench | ( | ) |
Constructs a workbench object.
Reimplemented from Gui::Workbench.
Definition at line 49 of file Mod/Mesh/Gui/Workbench.cpp.
Workbench::~Workbench | ( | ) | [virtual] |
Reimplemented from Gui::Workbench.
Definition at line 53 of file Mod/Mesh/Gui/Workbench.cpp.
void * Workbench::create | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.
Base::Type Workbench::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.
Base::Type Workbench::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::StdWorkbench.
Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.
void Workbench::init | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 47 of file Mod/Mesh/Gui/Workbench.cpp.
Referenced by initMeshGui().
Gui::ToolBarItem * Workbench::setupCommandBars | ( | ) | const [protected, virtual] |
Defines the standard command bars.
Reimplemented from Gui::StdWorkbench.
Definition at line 103 of file Mod/Mesh/Gui/Workbench.cpp.
References Mesh2Shape::mesh, and Gui::ToolBarItem::setCommand().
void Workbench::setupContextMenu | ( | const char * | recipient, | |
Gui::MenuItem * | item | |||
) | const [virtual] |
Defines the standard context menu.
Reimplemented from Gui::StdWorkbench.
Definition at line 57 of file Mod/Mesh/Gui/Workbench.cpp.
References Mesh::Feature::getClassTypeId(), and Gui::Selection().
Gui::MenuItem * Workbench::setupMenuBar | ( | ) | const [protected, virtual] |
Defines the standard menus.
Reimplemented from Gui::StdWorkbench.
Definition at line 66 of file Mod/Mesh/Gui/Workbench.cpp.
References Gui::MenuItem::findItem(), Gui::MenuItem::insertItem(), Mesh2Shape::mesh, and Gui::MenuItem::setCommand().
Gui::ToolBarItem * Workbench::setupToolBars | ( | ) | const [protected, virtual] |
Defines the standard toolbars.
Reimplemented from Gui::StdWorkbench.
Definition at line 94 of file Mod/Mesh/Gui/Workbench.cpp.
References Mesh2Shape::mesh, and Gui::ToolBarItem::setCommand().