Salome HOME
Issue #6 Extended processing of nested actions.
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
1 /*
2  *
3  */
4 #include "Config_FeatureMessage.h"
5
6 Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* theParent)
7     : Events_Message(theId, theParent)
8 {
9   myId = "";
10   myText = "";
11   myTooltip = "";
12   myIcon = "";
13   myKeysequence = "";
14
15   myGroupId = "";
16   myWorkbenchId = "";
17 }
18
19 const std::string& Config_FeatureMessage::icon() const
20 {
21   return myIcon;
22 }
23
24 void Config_FeatureMessage::setIcon(const std::string& icon)
25 {
26   myIcon = icon;
27 }
28
29 const std::string& Config_FeatureMessage::id() const
30 {
31   return myId;
32 }
33
34 void Config_FeatureMessage::setId(const std::string& id)
35 {
36   myId = id;
37 }
38
39 const std::string& Config_FeatureMessage::keysequence() const
40 {
41   return myKeysequence;
42 }
43
44 void Config_FeatureMessage::setKeysequence(const std::string& keysequence)
45 {
46   myKeysequence = keysequence;
47 }
48
49 const std::string& Config_FeatureMessage::text() const
50 {
51   return myText;
52 }
53
54 void Config_FeatureMessage::setText(const std::string& text)
55 {
56   myText = text;
57 }
58
59 const std::string& Config_FeatureMessage::tooltip() const
60 {
61   return myTooltip;
62 }
63
64 const std::string& Config_FeatureMessage::groupId() const
65 {
66   return myGroupId;
67 }
68
69 void Config_FeatureMessage::setGroupId(const std::string& groupId)
70 {
71   myGroupId = groupId;
72 }
73
74 const std::string& Config_FeatureMessage::workbenchId() const
75 {
76   return myWorkbenchId;
77 }
78
79 void Config_FeatureMessage::setWorkbenchId(const std::string& workbenchId)
80 {
81   myWorkbenchId = workbenchId;
82 }
83
84 void Config_FeatureMessage::setTooltip(const std::string& tooltip)
85 {
86   myTooltip = tooltip;
87 }
88
89 const std::string& Config_FeatureMessage::pluginLibrary() const
90 {
91   return myPluginLibrary;
92 }
93
94 void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
95 {
96   this->myPluginLibrary = myPluginLibrary;
97 }
98
99 bool Config_FeatureMessage::isUseInput() const
100 {
101   return myUseInput;
102 }
103
104 void Config_FeatureMessage::setUseInput(bool isUseInput)
105 {
106   myUseInput = isUseInput;
107 }
108
109 const std::string& Config_FeatureMessage::nestedFeatures() const
110 {
111   return myNestedFeatures;
112 }
113
114 void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures)
115 {
116   myNestedFeatures = theNestedFeatures;
117 }