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