Salome HOME
Implementation of the Feature Validator
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index c83583cc0f8094bbcf973eaeb5d381776d156a41..f80b8cf7d30e4fe82e656c3aa0ae067b0a5248f3 100644 (file)
@@ -43,8 +43,6 @@ class ModelAPI_ObjectUpdatedMessage;
 class ModelAPI_ObjectDeletedMessage;
 class QAction;
 
-class SUIT_ResourceMgr;
-
 /**\class XGUI_Workshop
  * \ingroup GUI
  * \brief Class which defines a configuration of the application (Workshop) and launches it.
@@ -113,8 +111,6 @@ public:
   //! Returns icon name according to feature Id
   static QString featureIcon(const std::string& theId);
 
-  static SUIT_ResourceMgr* resourceMgr() { return myResourceMgr; }
-
   //! Activates or deactivates a part
   //! If PartPtr is Null pointer then PartSet will be activated
   void activatePart(ResultPartPtr theFeature);
@@ -142,6 +138,7 @@ public slots:
   void onExit();
   void onUndo();
   void onRedo();
+  void onPreferences();
 
   void showPropertyPanel();
   void hidePropertyPanel();
@@ -164,6 +161,8 @@ protected:
   void onFeatureRedisplayMsg(const ModelAPI_ObjectUpdatedMessage* theMsg);
   void onObjectDeletedMsg(const ModelAPI_ObjectDeletedMessage* theMsg);
 
+  void validateOperation(const QString& theOperationId);
+
   QList<QAction*> getModuleCommands() const;
 
   void displayAllResults();
@@ -216,9 +215,6 @@ private:
 
   QString myCurrentDir;
   static QMap<QString, QString> myIcons;
-
-  static SUIT_ResourceMgr* myResourceMgr;
-
 };
 
 #endif