Salome HOME
Make referenced Bodies no more displayed in the Object Browser
[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 const std::string& Config_FeatureMessage::documentKind() const
95 {
96   return myDocumentKind;
97 }
98
99 void Config_FeatureMessage::setDocumentKind(const std::string& documentKind)
100 {
101   myDocumentKind = documentKind;
102 }
103
104 void Config_FeatureMessage::setTooltip(const std::string& tooltip)
105 {
106   myTooltip = tooltip;
107 }
108
109 const std::string& Config_FeatureMessage::pluginLibrary() const
110 {
111   return myPluginLibrary;
112 }
113
114 void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
115 {
116   this->myPluginLibrary = myPluginLibrary;
117 }
118
119 bool Config_FeatureMessage::isUseInput() const
120 {
121   return myUseInput;
122 }
123
124 bool Config_FeatureMessage::isInternal() const
125 {
126   return myInternal;
127 }
128
129 void Config_FeatureMessage::setUseInput(bool isUseInput)
130 {
131   myUseInput = isUseInput;
132 }
133
134 void Config_FeatureMessage::setInternal(bool isInternal)
135 {
136   myInternal = isInternal;
137 }
138
139 const std::string& Config_FeatureMessage::nestedFeatures() const
140 {
141   return myNestedFeatures;
142 }
143
144 void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures)
145 {
146   myNestedFeatures = theNestedFeatures;
147 }