]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Config/Config_FeatureMessage.h
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / Config / Config_FeatureMessage.h
index 4185b4b9620831fa1bd01133e06b903339d6a530..bcf674cee780c7f505c1496092e2bde03657e55f 100644 (file)
@@ -2,7 +2,7 @@
 #define CONFIG_MESSAGE_H\r
 \r
 #include <Config.h>\r
-#include <Event_Message.h>\r
+#include <Events_Message.h>\r
 \r
 #include <string>\r
 \r
@@ -11,7 +11,7 @@
  * Example of the feature entry:\r
  * <feature id="Part" text="New part" tooltip="Creates a new part" icon=":pictures/part_ico.png"/>\r
  */\r
-class Config_FeatureMessage: public Event_Message\r
+class Config_FeatureMessage: public Events_Message\r
 {\r
   std::string myId;  //Feature unique id\r
   std::string myText; //Represents action's text\r
@@ -23,12 +23,12 @@ class Config_FeatureMessage: public Event_Message
   std::string myWorkbenchId;  //Id of feature's workbench\r
   std::string myPluginLibrary;  //Name of feature's library\r
 \r
-public:\r
-  //const Event_ID theID, const void* theSender = 0\r
-  CONFIG_EXPORT Config_FeatureMessage(const Event_ID theId, const void* theParent = 0);\r
+  bool myUseInput; //Action is being checked until user commit the operation\r
+  std::string myNestedFeatures;\r
 \r
-  //TODO(sbh): Implement static method to extract event id [SEID]\r
-  //static const char* eventId() { return ""; }\r
+public:\r
+  //const Events_ID theID, const void* theSender = 0\r
+  CONFIG_EXPORT Config_FeatureMessage(const Events_ID theId, const void* theParent = 0);\r
 \r
   //Auto-generated getters/setters\r
   CONFIG_EXPORT const std::string& icon() const;\r
@@ -40,16 +40,19 @@ public:
   CONFIG_EXPORT const std::string& groupId() const;\r
   CONFIG_EXPORT const std::string& workbenchId() const;\r
   CONFIG_EXPORT const std::string& pluginLibrary() const;\r
+  CONFIG_EXPORT const std::string& nestedFeatures() const;\r
+  CONFIG_EXPORT bool isUseInput() const;\r
 \r
   CONFIG_EXPORT void setIcon(const std::string& icon);\r
   CONFIG_EXPORT void setId(const std::string& id);\r
   CONFIG_EXPORT void setKeysequence(const std::string& keysequence);\r
   CONFIG_EXPORT void setText(const std::string& text);\r
   CONFIG_EXPORT void setTooltip(const std::string& tooltip);\r
-\r
   CONFIG_EXPORT void setGroupId(const std::string& groupId);\r
   CONFIG_EXPORT void setWorkbenchId(const std::string& workbenchId);\r
   CONFIG_EXPORT void setPluginLibrary(const std::string& thePluginLibrary);\r
+  CONFIG_EXPORT void setNestedFeatures(const std::string& theNestedFeatures);\r
+  CONFIG_EXPORT void setUseInput(bool isUseInput);\r
 };\r
 \r
-#endif // CONFIG_MESSAGE_H
+#endif // CONFIG_MESSAGE_H\r