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