//! Returns data object by AIS
ObjectPtr findPresentedObject(const AISObjectPtr& theAIS) const;
+ /// The method called when widget is deactivated
+ virtual void deactivate();
+
//! Clear all validated cash in the widget
void clearValidatedCash();
/// \return boolean value
bool isFilterActivated() const;
+ /// Appends into container of workshop selection filters
+ /// \param [out] selection filters
+ virtual void selectionFilters(SelectMgr_ListOfFilter& theSelectionFilters);
+
/// Block the model flush of update and intialization of attribute
/// \param theAttribute an attribute of blocking
/// \param theFeature a feature
/// \return a list of presentations
QList<std::shared_ptr<ModuleBase_ViewerPrs>> getFilteredSelected();
- /// It obtains selection filters from the workshop and activates them in the active viewer
- /// \param toActivate a flag about activation or deactivation the filters
- /// \return true if the selection filter of the widget is activated in viewer context
- bool activateFilters(const bool toActivate);
-
/// Block the model flush of update and intialization of attribute
/// \param theAttribute an attribute of blocking
/// \param theToBlock flag whether the model is blocked or unblocked