- /// Sends Move event for the given object
- /// \param theObj is object for moving
- void moveObject(ObjectPtr theObj) const;
+ /// Compute the feature default value and fill the controls with it
+ /// or store the control value to the feature
+ virtual void initializeValueByActivate();
+
+ /// Saves the internal parameters to the given feature. Emits signals before and after store
+ /// \return True in success
+ bool storeValue();
+
+ /// Saves the internal parameters to the given feature
+ /// \return True in success
+ virtual bool storeValueCustom() const = 0;
+
+ /// Restore value from attribute data to the widget's control
+ virtual bool restoreValueCustom() = 0;
+
+ /// Fills the widget with default values
+ /// \return true if the widget current value is reset
+ virtual bool resetCustom() { return false; };
+
+ /// The method called when widget is activated
+ virtual void activateCustom() {};
+
+ /// Sends a message about block/unblock viewer updating
+ /// \param theValue a boolean value
+ static void blockUpdateViewer(const bool theValue);