- /// Returns true if the current operation is sketch entity create operation
- /// \param isConstruction the current construction state
- /// \return the boolean result
- bool canChangeConstruction(bool& isConstruction) const;
-
- /// Changes the sketcher entity construction argument value
- /// \param isChecked if true, the feature is a construction
- void setConstruction(const bool isChecked);
+ /// Returns true if the mouse is over viewer or property panel value is changed
+ /// \return boolean result
+ bool canDisplayCurrentCreatedFeature() const;
+
+ /// Returns state of constraints showing flag
+ bool isConstraintsShown() const { return myIsConstraintsShown; }
+
+ /// 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 theHighlightedUse a boolean flag
+ void storeSelection(const bool theHighlightedOnly = false);
+
+ /// Restores previously saved selection state
+ void restoreSelection();
+
+ /// Return error state of the sketch feature, true if the error has happened
+ /// \return boolean value
+ bool sketchSolverError();
+
+ /// Returns list of strings which contains id's of sketch operations
+ static const QStringList& sketchOperationIdList();
+
+ /// Returns list of strings which contains id's of constraints operations
+ static const QStringList& constraintsIdList();
+
+ /// Returns a list of modes, where the AIS objects should be activated
+ /// \param theModes a list of modes
+ static void sketchSelectionModes(QIntList& theModes);