- /// Defines if it is supposed that the widget should interact with the viewer.
- virtual bool isViewerSelector() { return false; }
+ /// Set feature which is processing by active operation
+ /// \param theToStoreValue a value about necessity to store the widget value to the feature
+ void setFeature(const FeaturePtr& theFeature, const bool theToStoreValue = false);
+
+ /// Editing mode depends on mode of current operation. This value is defined by it.
+ void setEditingMode(bool isEditing) { myIsEditing = isEditing; }
+
+ /// \return Current Editing mode
+ bool isEditingMode() const { return myIsEditing; }
+
+ /// Sends Update and Redisplay for the given object
+ /// \param theObj is updating object
+ static void updateObject(ObjectPtr theObj);
+
+ /// Sends Move event for the given object
+ /// \param theObj is object for moving
+ static void moveObject(ObjectPtr theObj);