+ void stopSketch(ModuleBase_Operation* );
+
+ /// Starts sketch operation, connects to the opeation property panel
+ /// \param theOperation a committed operation
+ void startNestedSketch(ModuleBase_Operation* theOperation);
+
+ /// Stop sketch operation, disconnects from the opeation property panel
+ /// \param theOperation a stopped operation
+ void stopNestedSketch(ModuleBase_Operation* theOperation);
+
+ /// Visualizes the operation feature if it is a creation nested feature operation
+ /// \param theOperation a committed operation
+ void commitNestedSketch(ModuleBase_Operation* theOperation);
+
+ /// Returns True if there are available Undos and the sketch manager allows undo
+ /// \return the boolean result
+ bool canUndo() const;
+
+ //! Returns True if there are available Redos and the sketch manager allows redo
+ /// \return the boolean result
+ bool canRedo() const;
+
+ /// Returns False only if the sketch creating feature can not be visualized.
+ /// \return a boolean value
+ bool canCommitOperation() const;
+
+ /// Returns whether the object can be erased at the bounds of the active operation.
+ /// Sketch sub-entities can not be erased during the sketch operation
+ /// \param theObject a model object
+ bool canEraseObject(const ObjectPtr& theObject) const;
+
+ /// Returns whether the object can be displayed at the bounds of the active operation.
+ /// Display only current operation results for usual operation and ask the sketcher manager
+ /// if it is a sketch operation
+ /// \param theObject a model object
+ bool canDisplayObject(const ObjectPtr& theObject) const;
+
+ /// 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);