Salome HOME
Tangent presentation correction
[modules/shaper.git] / src / PartSet / PartSet_WidgetShapeSelector.h
index b69c66648c351c04fdc8a109da761d8feefabefa..bae13ae921be71b9add95ce466d7746dd707adf1 100644 (file)
@@ -43,12 +43,11 @@ Q_OBJECT
   CompositeFeaturePtr sketch() const { return mySketch; }
 
 protected:
-  /// Saves the internal parameters to the given feature
-  /// \return True in success
-  virtual bool storeValueCustom() const;
-
-  /// Check the selected with validators if installed
-  virtual bool isValid(ObjectPtr theObj, std::shared_ptr<GeomAPI_Shape> theShape);
+  /// Store the values to the model attribute of the widget. It casts this attribute to
+  /// the specific type and set the given values
+  /// \param theSelectedObject an object
+  /// \param theShape a selected shape, which is used in the selection attribute
+  virtual bool storeAttributeValues(ObjectPtr theSelectedObject, GeomShapePtr theShape) const;
 
 private:
   /// Pointer to a sketch