Salome HOME
Fix solvespace version number in environment.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelector.h
index 150a0ce349d07410f8403d447a8fb27c9372e547..58cb33062030fe26c3bb28a875a1b0df5ecc4c53 100755 (executable)
@@ -44,7 +44,7 @@ Q_OBJECT
   virtual bool isViewerSelector() { return true; }
 
   /// Activate or deactivate selection and selection filters
-  void activateSelectionAndFilters(bool toActivate);
+  virtual void activateSelectionAndFilters(bool toActivate);
 
   /// Checks the widget validity. By default, it returns true.
   /// \param thePrs a selected presentation in the view
@@ -111,7 +111,8 @@ Q_OBJECT
   /// Returns a name in the next form: attribute_feature_name/attribute_id
   /// \param theAttribute a model attribute
   /// \return string value
-  static std::string generateName(const AttributePtr& theAttribite);
+  static std::string generateName(const AttributePtr& theAttribite,
+                                  ModuleBase_IWorkshop* theWorkshop);
 };
 
 #endif