Salome HOME
Merge branch 'master' of newgeom:newgeom
[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   myPluginLibrary = "";
18
19   myInternal = false;
20   myUseInput = false;
21   myNestedFeatures = "";
22 }
23
24 const std::string& Config_FeatureMessage::icon() const
25 {
26   return myIcon;
27 }
28
29 void Config_FeatureMessage::setIcon(const std::string& icon)
30 {
31   myIcon = icon;
32 }
33
34 const std::string& Config_FeatureMessage::id() const
35 {
36   return myId;
37 }
38
39 void Config_FeatureMessage::setId(const std::string& id)
40 {
41   myId = id;
42 }
43
44 const std::string& Config_FeatureMessage::keysequence() const
45 {
46   return myKeysequence;
47 }
48
49 void Config_FeatureMessage::setKeysequence(const std::string& keysequence)
50 {
51   myKeysequence = keysequence;
52 }
53
54 const std::string& Config_FeatureMessage::text() const
55 {
56   return myText;
57 }
58
59 void Config_FeatureMessage::setText(const std::string& text)
60 {
61   myText = text;
62 }
63
64 const std::string& Config_FeatureMessage::tooltip() const
65 {
66   return myTooltip;
67 }
68
69 const std::string& Config_FeatureMessage::groupId() const
70 {
71   return myGroupId;
72 }
73
74 void Config_FeatureMessage::setGroupId(const std::string& groupId)
75 {
76   myGroupId = groupId;
77 }
78
79 const std::string& Config_FeatureMessage::workbenchId() const
80 {
81   return myWorkbenchId;
82 }
83
84 void Config_FeatureMessage::setWorkbenchId(const std::string& workbenchId)
85 {
86   myWorkbenchId = workbenchId;
87 }
88
89 void Config_FeatureMessage::setTooltip(const std::string& tooltip)
90 {
91   myTooltip = tooltip;
92 }
93
94 const std::string& Config_FeatureMessage::pluginLibrary() const
95 {
96   return myPluginLibrary;
97 }
98
99 void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
100 {
101   this->myPluginLibrary = myPluginLibrary;
102 }
103
104 bool Config_FeatureMessage::isUseInput() const
105 {
106   return myUseInput;
107 }
108
109 bool Config_FeatureMessage::isInternal() const
110 {
111   return myInternal;
112 }
113
114 void Config_FeatureMessage::setUseInput(bool isUseInput)
115 {
116   myUseInput = isUseInput;
117 }
118
119 void Config_FeatureMessage::setInternal(bool isInternal)
120 {
121   myInternal = isInternal;
122 }
123
124 const std::string& Config_FeatureMessage::nestedFeatures() const
125 {
126   return myNestedFeatures;
127 }
128
129 void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures)
130 {
131   myNestedFeatures = theNestedFeatures;
132 }