Salome HOME
Correct processing of the fixed arc in PlaneGCS (issue #1280)
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelector.h
index 8a282c3625b3e80f49a8ac0a3159c837d2907af3..a73a677c2632b5771f49e66ce1ce7b4fa30ba225 100755 (executable)
@@ -51,6 +51,10 @@ Q_OBJECT
   /// \return a boolean value
   virtual bool isValidSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
 
+  /// Fills the attribute with the value of the selected owner
+  /// \param thePrs a selected owner
+  virtual bool setSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
+
   /// The methiod called when widget is deactivated
   virtual void deactivate();
 
@@ -107,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