1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #include "Config_FeatureMessage.h"
5 Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* theParent)
6 : Events_Message(theId, theParent)
20 myNestedFeatures = "";
23 Config_FeatureMessage::~Config_FeatureMessage()
28 const std::string& Config_FeatureMessage::icon() const
33 void Config_FeatureMessage::setIcon(const std::string& icon)
38 const std::string& Config_FeatureMessage::id() const
43 void Config_FeatureMessage::setId(const std::string& id)
48 const std::string& Config_FeatureMessage::keysequence() const
53 void Config_FeatureMessage::setKeysequence(const std::string& keysequence)
55 myKeysequence = keysequence;
58 const std::string& Config_FeatureMessage::text() const
63 void Config_FeatureMessage::setText(const std::string& text)
68 const std::string& Config_FeatureMessage::tooltip() const
73 const std::string& Config_FeatureMessage::groupId() const
78 void Config_FeatureMessage::setGroupId(const std::string& groupId)
83 const std::string& Config_FeatureMessage::workbenchId() const
88 void Config_FeatureMessage::setWorkbenchId(const std::string& workbenchId)
90 myWorkbenchId = workbenchId;
93 const std::string& Config_FeatureMessage::documentKind() const
95 return myDocumentKind;
98 void Config_FeatureMessage::setDocumentKind(const std::string& documentKind)
100 myDocumentKind = documentKind;
103 void Config_FeatureMessage::setTooltip(const std::string& tooltip)
108 const std::string& Config_FeatureMessage::pluginLibrary() const
110 return myPluginLibrary;
113 void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary)
115 this->myPluginLibrary = myPluginLibrary;
118 bool Config_FeatureMessage::isUseInput() const
123 bool Config_FeatureMessage::isInternal() const
128 bool Config_FeatureMessage::isAutoPreview() const
130 return myIsAutoPreview;
133 bool Config_FeatureMessage::isModal() const
138 void Config_FeatureMessage::setUseInput(bool isUseInput)
140 myUseInput = isUseInput;
143 void Config_FeatureMessage::setInternal(bool isInternal)
145 myInternal = isInternal;
148 void Config_FeatureMessage::setModal(bool isModal)
153 const std::string& Config_FeatureMessage::nestedFeatures() const
155 return myNestedFeatures;
158 const std::string& Config_FeatureMessage::actionsWhenNested() const
160 return myActionsWhenNested;
163 void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures)
165 myNestedFeatures = theNestedFeatures;
168 void Config_FeatureMessage::setActionsWhenNested(const std::string& theActions)
170 myActionsWhenNested = theActions;
173 void Config_FeatureMessage::setAutoPreview(bool isAutoPreview)
175 myIsAutoPreview = isAutoPreview;