Salome HOME
Issue #273: Add copyright string
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  *
5  */
6 #include "Config_FeatureMessage.h"
7
8 Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* theParent)
9     : Events_Message(theId, theParent)
10 {
11   myId = "";
12   myText = "";
13   myTooltip = "";
14   myIcon = "";
15   myKeysequence = "";
16
17   myGroupId = "";
18   myWorkbenchId = "";
19   myPluginLibrary = "";
20
21   myInternal = false;
22   myUseInput = false;
23   myNestedFeatures = "";
24 }
25
26 Config_FeatureMessage::~Config_FeatureMessage()
27 {
28
29 }
30
31 const std::string& Config_FeatureMessage::icon() const
32 {
33   return myIcon;
34 }
35
36 void Config_FeatureMessage::setIcon(const std::string& icon)
37 {
38   myIcon = icon;
39 }
40
41 const std::string& Config_FeatureMessage::id() const
42 {
43   return myId;
44 }
45
46 void Config_FeatureMessage::setId(const std::string& id)
47 {
48   myId = id;
49 }
50
51 const std::string& Config_FeatureMessage::keysequence() const
52 {
53   return myKeysequence;
54 }
55
56 void Config_FeatureMessage::setKeysequence(const std::string& keysequence)
57 {
58   myKeysequence = keysequence;
59 }
60
61 const std::string& Config_FeatureMessage::text() const
62 {
63   return myText;
64 }
65
66 void Config_FeatureMessage::setText(const std::string& text)
67 {
68   myText = text;
69 }
70
71 const std::string& Config_FeatureMessage::tooltip() const
72 {
73   return myTooltip;
74 }
75
76 const std::string& Config_FeatureMessage::groupId() const
77 {
78   return myGroupId;
79 }
80
81 void Config_FeatureMessage::setGroupId(const std::string& groupId)
82 {
83   myGroupId = groupId;
84 }
85
86 const std::string& Config_FeatureMessage::workbenchId() const
87 {
88   return myWorkbenchId;
89 }
90
91 void Config_FeatureMessage::setWorkbenchId(const std::string& workbenchId)
92 {
93   myWorkbenchId = workbenchId;
94 }
95
96 const std::string& Config_FeatureMessage::documentKind() const
97 {
98   return myDocumentKind;
99 }
100
101 void Config_FeatureMessage::setDocumentKind(const std::string& documentKind)
102 {
103   myDocumentKind = documentKind;
104 }
105
106 void Config_FeatureMessage::setTooltip(const std::string& tooltip)
107 {
108   myTooltip = tooltip;
109 }
110
111 const std::string& Config_FeatureMessage::pluginLibrary() const
112 {
113   return myPluginLibrary;
114 }
115
116 void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
117 {
118   this->myPluginLibrary = myPluginLibrary;
119 }
120
121 bool Config_FeatureMessage::isUseInput() const
122 {
123   return myUseInput;
124 }
125
126 bool Config_FeatureMessage::isInternal() const
127 {
128   return myInternal;
129 }
130
131 void Config_FeatureMessage::setUseInput(bool isUseInput)
132 {
133   myUseInput = isUseInput;
134 }
135
136 void Config_FeatureMessage::setInternal(bool isInternal)
137 {
138   myInternal = isInternal;
139 }
140
141 const std::string& Config_FeatureMessage::nestedFeatures() const
142 {
143   return myNestedFeatures;
144 }
145
146 void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures)
147 {
148   myNestedFeatures = theNestedFeatures;
149 }