Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index 44c4f1c62b0bc45218d06115dac329008a990e92..8c93a8f42a627e48a0d197b1c81a3b2b148bfd50 100644 (file)
@@ -14,7 +14,8 @@
 // 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
 //
 
 #include "Config_FeatureMessage.h"
@@ -27,14 +28,18 @@ 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;
+  myIsApplyContinue = false;
 }
 
 Config_FeatureMessage::~Config_FeatureMessage()
@@ -97,6 +102,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;
@@ -152,6 +167,12 @@ bool Config_FeatureMessage::isModal() const
   return myModal;
 }
 
+bool Config_FeatureMessage::isApplyContinue() const
+{
+  return myIsApplyContinue;
+}
+
+
 void Config_FeatureMessage::setUseInput(bool isUseInput)
 {
   myUseInput = isUseInput;
@@ -191,3 +212,18 @@ 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;
+}
\ No newline at end of file