- /// Provide filtering of selected shapes
- /// \param theShapesToFilter source list of shapes
- /// \param theResult result list of shapes
- void filterShapes(const NCollection_List<TopoDS_Shape>& theShapesToFilter,
- NCollection_List<TopoDS_Shape>& theResult);
+ /// The methiod called when widget is activated
+ virtual void activateCustom();
+
+ /// Saves the internal parameters to the given feature
+ /// \return True in success
+ virtual bool storeValueCustom() const;
+
+ /// Creates a backup of the current values of the attribute
+ /// It should be realized in the specific widget because of different
+ /// parameters of the current attribute
+ virtual void storeAttributeValue();
+
+ /// Creates a backup of the current values of the attribute
+ /// It should be realized in the specific widget because of different
+ /// parameters of the current attribute
+ /// \param theValid a boolean flag, if restore happens for valid parameters
+ virtual void restoreAttributeValue(const bool theValid);