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