Salome HOME
Improve viewer performance
[modules/shaper.git] / src / XGUI / XGUI_ErrorMgr.h
index 656b2ca3a41ecfcdff06bdc6eb4e134bd2edb92f..89deaeef928cb6430759c511e1030e4704cd1a8e 100644 (file)
@@ -18,16 +18,30 @@ class QAction;
 class QDialog;
 class QLabel;
 
+/**
+ * \class XGUI_ErrorMgr
+ * \ingroup GUI
+ * \brief Class of Errors manager object
+ */
 class XGUI_EXPORT XGUI_ErrorMgr : public ModuleBase_IErrorMgr
 {
   Q_OBJECT
 public:
+  /// Constructor
+  /// \param theParent a parent object
+  /// \param theWorkshop a workshop object
   XGUI_ErrorMgr(QObject* theParent, ModuleBase_IWorkshop* theWorkshop);
   /// Virtual destructor
   virtual ~XGUI_ErrorMgr();
 
+  /// Update actions for the given feature
+  /// \param theFeature a feature
   void updateActions(const FeaturePtr& theFeature);
 
+  /// Update enable state of AcceptAll action if the feature uses it
+  /// \param theFeature a feature
+  void updateAcceptAllAction(const FeaturePtr& theFeature);
+
   /// Return true if the feature has no error. If there is an error and the action
   /// is not valid, the dialog with the error information is shown.
   /// \param theAction an action, which is checked on validity