+ bool canDisplayObject(const ObjectPtr& theObject) const;
+
+ /// 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();
+
+ /// Return error state of the sketch feature, true if the error has happened
+ /// \return boolean value
+ bool sketchSolverError();
+
+ //! Returns the feature error if the current state of the feature in the sketch is not correct
+ //! If the feature is correct, it returns an empty value
+ //! Incorrect states: the feature is sketch, the solver error value
+ //! The feature value is reset, this is the flag of sketch mgr
+ //! \return string value
+ QString getFeatureError(const FeaturePtr& theFeature);
+
+ /// It nullify internal flags concerned to clicked mouse event
+ void clearClickedFlags();
+
+ /// 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);
+
+ /// Create specific for the module presentation
+ /// \param theResult an object for presentation
+ /// \return created presentation or NULL(default value)
+ virtual Handle_AIS_InteractiveObject createPresentation(const ResultPtr& theResult);
+
+ /// Connects or disconnects to the value changed signal of the property panel widgets
+ /// \param theWidget a property contol widget
+ /// \param isToConnect a boolean value whether connect or disconnect
+ void connectToPropertyPanel(ModuleBase_ModelWidget* theWidget, const bool isToConnect);
+
+ /// Visualize the operation feature if the previous state is modified value in property panel
+ /// \param thePreviousState the previous widget value state
+ void widgetStateChanged(int thePreviousState);
+
+ /// If the current operation is a dimention one, the style of dimension visualization is send for
+ /// the current object
+ /// \param theObject an object to be customized
+ void customizePresentation(const ObjectPtr& theObject);
+
+ /// Update sketch presentations according to the the state
+ /// \param theType a type of sketch visualization style
+ /// \param theState a boolean state
+ void updateBySketchParameters(const PartSet_Tools::ConstraintVisibleState& theType,
+ bool theState);