Salome HOME
updated copyright message
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index ae86d8b94d2fa9dc2d12ba6f0a090de51f6b2628..f63b038f21932f23b476e06da428ef16450d9b0f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// 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
 //
 // 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include "Config_FeatureMessage.h"
@@ -28,14 +27,21 @@ Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void*
   myTooltip = "";
   myIcon = "";
   myKeysequence = "";
+  myHelpFile = "";
 
   myGroupId = "";
   myWorkbenchId = "";
+  myToolBarId = "";
   myPluginLibrary = "";
 
   myInternal = false;
   myUseInput = false;
   myNestedFeatures = "";
+  myModal = false;
+  myIsTitleInToolbar = true;
+  myIsApplyContinue = false;
+  myHideFacesPanel = false;
+  myAbortConfirmation = true;
 }
 
 Config_FeatureMessage::~Config_FeatureMessage()
@@ -98,6 +104,16 @@ void Config_FeatureMessage::setGroupId(const std::string& groupId)
   myGroupId = groupId;
 }
 
+const std::string& Config_FeatureMessage::toolBarId() const
+{
+  return myToolBarId;
+}
+
+void Config_FeatureMessage::setToolBarId(const std::string& aId)
+{
+  myToolBarId = aId;
+}
+
 const std::string& Config_FeatureMessage::workbenchId() const
 {
   return myWorkbenchId;
@@ -128,11 +144,12 @@ const std::string& Config_FeatureMessage::pluginLibrary() const
   return myPluginLibrary;
 }
 
-void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
+void Config_FeatureMessage::setPluginLibrary(const std::string& thePluginLibrary)
 {
-  this->myPluginLibrary = myPluginLibrary;
+  this->myPluginLibrary = thePluginLibrary;
 }
 
+// LCOV_EXCL_START
 bool Config_FeatureMessage::isUseInput() const
 {
   return myUseInput;
@@ -148,11 +165,22 @@ bool Config_FeatureMessage::isAutoPreview() const
   return myIsAutoPreview;
 }
 
+bool Config_FeatureMessage::isTitleInToolbar() const
+{
+  return myIsTitleInToolbar;
+}
+
 bool Config_FeatureMessage::isModal() const
 {
   return myModal;
 }
 
+bool Config_FeatureMessage::isApplyContinue() const
+{
+  return myIsApplyContinue;
+}
+// LCOV_EXCL_STOP
+
 void Config_FeatureMessage::setUseInput(bool isUseInput)
 {
   myUseInput = isUseInput;
@@ -192,3 +220,44 @@ void Config_FeatureMessage::setAutoPreview(bool isAutoPreview)
 {
   myIsAutoPreview = isAutoPreview;
 }
+
+void Config_FeatureMessage::setApplyContinue(bool isModal)
+{
+  myIsApplyContinue = isModal;
+}
+
+const std::string& Config_FeatureMessage::helpFileName() const
+{
+  return myHelpFile;
+}
+
+void Config_FeatureMessage::setHelpFileName(const std::string& aName)
+{
+  myHelpFile = aName;
+}
+
+void Config_FeatureMessage::setTitleInToolbar(bool theValue)
+{
+  myIsTitleInToolbar = theValue;
+}
+
+bool Config_FeatureMessage::isHideFacesPanel() const
+{
+  return myHideFacesPanel;
+}
+
+
+void Config_FeatureMessage::setHideFacesPanel(bool theValue)
+{
+  myHideFacesPanel = theValue;
+}
+
+bool Config_FeatureMessage::isAbortConfirmation() const
+{
+  return myAbortConfirmation;
+}
+
+void Config_FeatureMessage::setAbortConfirmation(bool theValue)
+{
+  myAbortConfirmation = theValue;
+}