Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index 896f62a136701cb396eb38c2694738b03b32d2d1..de0966349dc6615022182f88b6aec68963ef0a7c 100644 (file)
@@ -3,9 +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 = "";
@@ -15,6 +14,16 @@ Config_FeatureMessage::Config_FeatureMessage(const Event_ID theId,
 
   myGroupId = "";
   myWorkbenchId = "";
+  myPluginLibrary = "";
+
+  myInternal = false;
+  myUseInput = false;
+  myNestedFeatures = "";
+}
+
+Config_FeatureMessage::~Config_FeatureMessage()
+{
+
 }
 
 const std::string& Config_FeatureMessage::icon() const
@@ -82,7 +91,57 @@ void Config_FeatureMessage::setWorkbenchId(const std::string& workbenchId)
   myWorkbenchId = workbenchId;
 }
 
+const std::string& Config_FeatureMessage::documentKind() const
+{
+  return myDocumentKind;
+}
+
+void Config_FeatureMessage::setDocumentKind(const std::string& documentKind)
+{
+  myDocumentKind = documentKind;
+}
+
 void Config_FeatureMessage::setTooltip(const std::string& tooltip)
 {
   myTooltip = tooltip;
 }
+
+const std::string& Config_FeatureMessage::pluginLibrary() const
+{
+  return myPluginLibrary;
+}
+
+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;
+}