+ /// \param theContext object where the sub-shape was selected
+ /// \param theSubShape selected sub-shape (if null, the whole context is selected)
+ /// \param theTemporarily if it is true, do not store and name the added in the data framework
+ /// (used to remove immediately, without the following updates)
+ /// \returns true if attribute was updated
+ virtual bool setValue(
+ const ObjectPtr& theContext, const std::shared_ptr<GeomAPI_Shape>& theSubShape,
+ const bool theTemporarily = false) = 0;
+
+ /// Same as SetValue, but it takes an edge (on circular or elliptic curve)
+ /// and stores the vertex of the central point (for ellipse the first or the second focus point)
+ virtual void setValueCenter(
+ const ObjectPtr& theContext, const std::shared_ptr<GeomAPI_Edge>& theEdge,
+ const CenterType theCenterType,
+ const bool theTemporarily = false) = 0;
+
+ /// Makes this selection attribute selects the same as in theSource selection
+ virtual void selectValue(
+ const std::shared_ptr<ModelAPI_AttributeSelection>& theSource) = 0;
+
+ /// Reset temporary stored values
+ virtual void removeTemporaryValues() = 0;