- /// Returns true if the current operation is sketch entity create operation
- /// \param theValue the current auxiliary value
- /// \return the boolean result
- bool canSetAuxiliary(bool& theValue) const;
-
- /// Changes the sketcher entity construction argument value
- /// \param isChecked if true, the feature is a construction
- void setAuxiliary(const bool isChecked);
+ /// Returns whether the constraint object can be displayed. It depends on the sketch check
+ /// box states
+ /// \param theObject a model object
+ /// \param theState the constraint visible state state to be checked
+ /// \param isProcessed an output parameter if it is processed
+ /// \return result value
+ bool canDisplayConstraint(const FeaturePtr& theObject,
+ const PartSet_Tools::ConstraintVisibleState& theState,
+ bool& isProcessed) const;
+
+ /// Check the given objects either there are some results of the current sketch. If so,
+ /// it suggests to delete them as there are no functionality to show back hidden sketch objects
+ /// \param theObjects a list of hidden objects
+ virtual void processHiddenObject(const std::list<ObjectPtr>& theObjects);
+
+ /// Returns true if the mouse is over viewer or property panel value is changed
+ /// \return boolean result
+ bool canDisplayCurrentCreatedFeature() const;
+
+ /// Returns true if the current operation is nested creation or internal reentrant edit
+ /// \param theOperation an operation
+ bool canChangeCursor(ModuleBase_Operation* theOperation) const;
+
+ /// Returns state of constraints showing flag
+ const QMap<PartSet_Tools::ConstraintVisibleState, bool>& showConstraintStates();
+
+ /// Returns true if the object is a current sketch sub feature of a result of the feature
+ /// \param theObject an object
+ /// \return boolean value
+ bool isObjectOfSketch(const ObjectPtr& theObject) const;
+
+ /// Saves the current selection in the viewer into an internal container
+ /// It obtains the selected attributes. The highlighted objects can be processes as the selected ones
+ /// \param theHighlightedOnly a boolean flag
+ void storeSelection(const bool theHighlightedOnly = false);
+
+ /// Restores previously saved selection state
+ void restoreSelection();