//! Clear all validated cash in the widget
void clearValidatedCash();
+ /// Returns true if the workshop validator filter has been already activated
+ /// \return boolean value
+ bool isFilterActivated() const;
+
protected:
/// Checks whether all active viewer filters validate the presentation
/// \param thePrs a selected presentation in the view
/// to current attribute by setting the value inside and calling validators. After this,
/// the previous attribute value is restored.The valid/invalid value is cashed.
/// \param theValue a selected presentation in the view
+ /// \param theAttribute the attribute
/// \return a boolean value
bool isValidSelectionForAttribute(const std::shared_ptr<ModuleBase_ViewerPrs>& theValue,
const AttributePtr& theAttribute);
/// 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
- /// \param isActive out value if model is blocked, in value if model is unblocked
+ /// \param isFlushesActived out value if model is blocked, in value if model is unblocked
/// to be used to restore flush state when unblocked
/// \param isAttributeSetInitializedBlocked out value if model is blocked
/// in value if model is unblocked to be used to restore previous state when unblocked
/// \return true if all validators return that the attribute is valid
bool isValidAttribute(const AttributePtr& theAttribute) const;
- /// Returns true if the workshop validator filter has been already activated
- /// \return boolean value
- bool isFilterActivated() const;
-
protected:
/// Gets the validity state of the presentation in an internal map. Returns true if the valid state of value is stored
/// \param theValue a viewer presentation