Salome HOME
Issue #21 xml property renamed "text" -> "title".
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index 209bb7aa2fef6119f383c7b4d26ca4b8ceea64ad..7b0f603371f6c7823df85b0e33fb086efefe7322 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,11 @@ Config_FeatureMessage::Config_FeatureMessage(const Event_ID theId, const void* t
 
   myGroupId = "";
   myWorkbenchId = "";
+  myPluginLibrary = "";
+
+  myInternal = false;
+  myUseInput = false;
+  myNestedFeatures = "";
 }
 
 const std::string& Config_FeatureMessage::icon() const
@@ -101,7 +106,27 @@ 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;
+}