X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_FeatureMessage.cpp;h=954099ea3ae156614d64003873e6925aec765553;hb=a6daa369fbfffdc2f1bf79c013ce904a09e4226b;hp=3146e37c505531353526a935a1c636a508916a90;hpb=2a0dd5ede9110d423fbd6b038c0445cb819163a9;p=modules%2Fshaper.git diff --git a/src/Config/Config_FeatureMessage.cpp b/src/Config/Config_FeatureMessage.cpp index 3146e37c5..954099ea3 100644 --- a/src/Config/Config_FeatureMessage.cpp +++ b/src/Config/Config_FeatureMessage.cpp @@ -1,10 +1,9 @@ -/* - * - */ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + #include "Config_FeatureMessage.h" -Config_FeatureMessage::Config_FeatureMessage(const Event_ID theId, const void* theParent) - : Event_Message(theId, theParent) +Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* theParent) + : Events_Message(theId, theParent) { myId = ""; myText = ""; @@ -14,6 +13,16 @@ Config_FeatureMessage::Config_FeatureMessage(const Event_ID theId, const void* t myGroupId = ""; myWorkbenchId = ""; + myPluginLibrary = ""; + + myInternal = false; + myUseInput = false; + myNestedFeatures = ""; +} + +Config_FeatureMessage::~Config_FeatureMessage() +{ + } const std::string& Config_FeatureMessage::icon() const @@ -81,7 +90,67 @@ void Config_FeatureMessage::setWorkbenchId(const std::string& workbenchId) myWorkbenchId = workbenchId; } +const std::string& Config_FeatureMessage::documentKind() const +{ + return myDocumentKind; +} + +void Config_FeatureMessage::setDocumentKind(const std::string& documentKind) +{ + myDocumentKind = documentKind; +} + void Config_FeatureMessage::setTooltip(const std::string& tooltip) { myTooltip = tooltip; } + +const std::string& Config_FeatureMessage::pluginLibrary() const +{ + return myPluginLibrary; +} + +void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary) +{ + this->myPluginLibrary = myPluginLibrary; +} + +bool Config_FeatureMessage::isUseInput() const +{ + return myUseInput; +} + +bool Config_FeatureMessage::isInternal() const +{ + return myInternal; +} + +void Config_FeatureMessage::setUseInput(bool isUseInput) +{ + myUseInput = isUseInput; +} + +void Config_FeatureMessage::setInternal(bool isInternal) +{ + myInternal = isInternal; +} + +const std::string& Config_FeatureMessage::nestedFeatures() const +{ + return myNestedFeatures; +} + +const std::string& Config_FeatureMessage::actionsWhenNested() const +{ + return myActionsWhenNested; +} + +void Config_FeatureMessage::setNestedFeatures(const std::string& theNestedFeatures) +{ + myNestedFeatures = theNestedFeatures; +} + +void Config_FeatureMessage::setActionsWhenNested(const std::string& theActions) +{ + myActionsWhenNested = theActions; +}