Salome HOME
Switch Wireframe/Shading with closing of context
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index 209bb7aa2fef6119f383c7b4d26ca4b8ceea64ad..f5c77fb40ead4a08b94b9c4b5e6c7061f1899371 100644 (file)
@@ -1,10 +1,12 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 /*
  *
  */
 #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 +16,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
@@ -81,6 +93,16 @@ 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;
@@ -101,7 +123,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;
+}