-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File: XGUI_ErrorMgr.h
-// Created: 22 July 2015
-// Author: Sergey POKHODENKO
+// Copyright (C) 2014-2023 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
#ifndef XGUI_ErrorMgr_H
#define XGUI_ErrorMgr_H
/// Update actions for the given feature
/// \param theFeature a feature
- void updateActions(const FeaturePtr& theFeature);
+ virtual void updateActions(const FeaturePtr& theFeature);
/// Update enable state of AcceptAll action if the feature uses it
/// \param theFeature a feature
virtual void onWidgetChanged();
private:
+ /// Stores initial values of accept/accept all tool/status tip to internal containers
+ void storeInitialActionValues();
+
/// It disables the propety panel Accept action if the error message is not empty
/// The message is set to the header tool tip.
/// \param theAction an action to be changed