- static bool deleteFeatures(const QObjectPtrList& theList,
- std::set<FeaturePtr> theIgnoredFeatures = std::set<FeaturePtr>(),
- QWidget* theParent = 0,
- const bool theAskAboutDeleteReferences = false);
+ bool deleteFeatures(const QObjectPtrList& theList,
+ const std::set<FeaturePtr>& theIgnoredFeatures = std::set<FeaturePtr>(),
+ QWidget* theParent = 0,
+ const bool theAskAboutDeleteReferences = false);
+
+ /// Deactivates the object, if it is active and the module returns that the activation
+ /// of selection for the object is not possible currently(the current operation uses it)
+ /// \param theObject an object
+ /// \param theUpdateViewer a boolean flag to update viewer immediately
+ void deactivateActiveObject(const ObjectPtr& theObject, const bool theUpdateViewer);
+
+ /// Returns true if the action of the feature is created to contain Accept/Cancel button
+ /// \param theFeature a feature
+ bool isFeatureOfNested(const FeaturePtr& theFeature);
+
+ /// Has to be called in order to display objects with visibility status = true
+ void synchronizeViewer();
+
+ /// Has to be called in order to display objects from a cpecifed group with visibility status = true
+ /// \param theDoc the document for objects synchronisation
+ /// \param theGroup the group name
+ /// \param theUpdateViewer update viewer flag
+ void synchronizeGroupInViewer(const DocumentPtr& theDoc, const std::string& theGroup, bool theUpdateViewer);
+
+ /// A constant string used for "Move to end" command definition
+ /// It is used for specific processing of Undo/Redo for this command.
+ static QString MOVE_TO_END_COMMAND;