Salome HOME
Refresh menu size after chnges in preferences
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index 85102857bea420483f1c2a7ef2f33cb9f9887ea6..041405eb394acc22b21eec10e2015d6ca1fc8a00 100644 (file)
@@ -3,8 +3,8 @@
  */
 #include "Config_FeatureMessage.h"
 
-Config_FeatureMessage::Config_FeatureMessage(const Event_ID theId, const void* theParent)
-    : Event_Message(theId, theParent)
+Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* theParent)
+    : Events_Message(theId, theParent)
 {
   myId = "";
   myText = "";
@@ -14,6 +14,16 @@ Config_FeatureMessage::Config_FeatureMessage(const Event_ID theId, const void* t
 
   myGroupId = "";
   myWorkbenchId = "";
+  myPluginLibrary = "";
+
+  myInternal = false;
+  myUseInput = false;
+  myNestedFeatures = "";
+}
+
+Config_FeatureMessage::~Config_FeatureMessage()
+{
+
 }
 
 const std::string& Config_FeatureMessage::icon() const
@@ -95,3 +105,33 @@ void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
 {
   this->myPluginLibrary = myPluginLibrary;
 }
+
+bool Config_FeatureMessage::isUseInput() const
+{
+  return myUseInput;
+}
+
+bool Config_FeatureMessage::isInternal() const
+{
+  return myInternal;
+}
+
+void Config_FeatureMessage::setUseInput(bool isUseInput)
+{
+  myUseInput = isUseInput;
+}
+
+void Config_FeatureMessage::setInternal(bool isInternal)
+{
+  myInternal = isInternal;
+}
+
+const std::string& Config_FeatureMessage::nestedFeatures() const
+{
+  return myNestedFeatures;
+}
+
+void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures)
+{
+  myNestedFeatures = theNestedFeatures;
+}