]> SALOME platform Git repositories - modules/shaper.git/blob - src/Config/Config_FeatureMessage.h
Salome HOME
ff14c46aefbe385cc5599575ebafdc27ac5ecc64
[modules/shaper.git] / src / Config / Config_FeatureMessage.h
1 #ifndef CONFIG_MESSAGE_H
2 #define CONFIG_MESSAGE_H
3
4 #include "Config.h"
5
6 #include <Event_Message.hxx>
7 #include <string>
8
9 class CONFIG_EXPORT Config_FeatureMessage : public Event_Message
10 {
11
12   std::string myId;
13   std::string myText;
14   std::string myTooltip;
15   std::string myIcon;
16   std::string myKeysequence;
17
18   std::string myGroupId;
19   std::string myWorkbenchId;
20
21 public:
22   //const Event_ID theID, const void* theSender = 0
23   Config_FeatureMessage(const Event_ID theId, const void* theParent = 0);
24
25   //Auto-generated getters/setters
26   const std::string& icon() const;
27   const std::string& id() const;
28   const std::string& keysequence() const;
29   const std::string& text() const;
30   const std::string& tooltip() const;
31
32   const std::string& groupId() const;
33   const std::string& workbenchId() const;
34
35   void setIcon(const std::string& icon);
36   void setId(const std::string& id);
37   void setKeysequence(const std::string& keysequence);
38   void setText(const std::string& text);
39   void setTooltip(const std::string& tooltip);
40
41   void setGroupId(const std::string& groupId);
42   void setWorkbenchId(const std::string& workbenchId);
43 };
44
45 #endif // CONFIG_MESSAGE_H