Salome HOME
Define Selection validator interface.
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 1172bc7dee0479550053ff910a41ffca0ffaaa3c..960c4dd89e5b5e4ab191c7c8f41c18897f510efc 100644 (file)
@@ -38,6 +38,7 @@ class QWidget;
 class QDockWidget;
 
 class Model_FeatureUpdatedMessage;
+class QAction;
 
 /**\class XGUI_Workshop
  * \ingroup GUI
@@ -125,7 +126,7 @@ signals:
 
 public slots:
   void updateCommandStatus();
-  void updateModuleCommands();
+  void updateCommandsOnViewSelection();
 
   void onNew();
   void onOpen();
@@ -155,6 +156,8 @@ protected:
   void onFeatureCreatedMsg(const Model_FeatureUpdatedMessage* theMsg);
   void onFeatureRedisplayMsg(const Model_FeatureUpdatedMessage* theMsg);
 
+  QList<QAction*> getModuleCommands() const;
+
 protected slots:
   /// SLOT, that is called after the operation is started. Update workshop state according to
   /// the started operation, e.g. visualizes the property panel and connect to it.