]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Workshop.h
Salome HOME
Issue 1303 Re-ordering of Sketcher menus: separation of the current menu build functi...
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 2c3946be59f2e62b93760f9a7c37a1082ae3f164..edf22c262b2130362ce5034dc673a4397269464a 100755 (executable)
@@ -27,6 +27,7 @@ class XGUI_ContextMenuMgr;
 class XGUI_Displayer;
 class XGUI_ErrorDialog;
 class XGUI_ErrorMgr;
+class XGUI_MenuMgr;
 class XGUI_ModuleConnector;
 class XGUI_ObjectsBrowser;
 class XGUI_OperationMgr;
@@ -112,6 +113,12 @@ Q_OBJECT
     return myActionsMgr;
   }
 
+  //! ! Returns an actions manager
+  XGUI_MenuMgr* menuMgr() const
+  {
+    return myMenuMgr;
+  }
+
   //! Returns property panel widget
   XGUI_PropertyPanel* propertyPanel() const
   {
@@ -514,6 +521,7 @@ private:
   XGUI_Displayer* myDisplayer;
   XGUI_OperationMgr* myOperationMgr;  ///< manager to manipulate through the operations
   XGUI_ActionsMgr* myActionsMgr;
+  XGUI_MenuMgr* myMenuMgr; ///< manager to build menu/tool bar using order defined in XML
   XGUI_SalomeConnector* mySalomeConnector;
   XGUI_ErrorDialog* myErrorDlg;
   XGUI_ViewerProxy* myViewerProxy;