X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FConfig%2FConfig_FeatureMessage.cpp;h=c650cf48272ac933bacaf73a741fece63dd7f44f;hb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;hp=f5c77fb40ead4a08b94b9c4b5e6c7061f1899371;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/Config/Config_FeatureMessage.cpp b/src/Config/Config_FeatureMessage.cpp index f5c77fb40..c650cf482 100644 --- a/src/Config/Config_FeatureMessage.cpp +++ b/src/Config/Config_FeatureMessage.cpp @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// -/* - * - */ #include "Config_FeatureMessage.h" Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* theParent) @@ -13,14 +27,18 @@ Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* myTooltip = ""; myIcon = ""; myKeysequence = ""; + myHelpFile = ""; myGroupId = ""; myWorkbenchId = ""; + myToolBarId = ""; myPluginLibrary = ""; myInternal = false; myUseInput = false; myNestedFeatures = ""; + myModal = false; + myIsApplyContinue = false; } Config_FeatureMessage::~Config_FeatureMessage() @@ -83,6 +101,16 @@ void Config_FeatureMessage::setGroupId(const std::string& groupId) myGroupId = groupId; } +const std::string& Config_FeatureMessage::toolBarId() const +{ + return myToolBarId; +} + +void Config_FeatureMessage::setToolBarId(const std::string& aId) +{ + myToolBarId = aId; +} + const std::string& Config_FeatureMessage::workbenchId() const { return myWorkbenchId; @@ -128,6 +156,22 @@ bool Config_FeatureMessage::isInternal() const return myInternal; } +bool Config_FeatureMessage::isAutoPreview() const +{ + return myIsAutoPreview; +} + +bool Config_FeatureMessage::isModal() const +{ + return myModal; +} + +bool Config_FeatureMessage::isApplyContinue() const +{ + return myIsApplyContinue; +} + + void Config_FeatureMessage::setUseInput(bool isUseInput) { myUseInput = isUseInput; @@ -138,12 +182,47 @@ void Config_FeatureMessage::setInternal(bool isInternal) myInternal = isInternal; } +void Config_FeatureMessage::setModal(bool isModal) +{ + myModal = isModal; +} + 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; +} + +void Config_FeatureMessage::setAutoPreview(bool isAutoPreview) +{ + myIsAutoPreview = isAutoPreview; +} + +void Config_FeatureMessage::setApplyContinue(bool isModal) +{ + myIsApplyContinue = isModal; +} + +const std::string& Config_FeatureMessage::helpFileName() const +{ + return myHelpFile; +} + +void Config_FeatureMessage::setHelpFileName(const std::string& aName) +{ + myHelpFile = aName; +} \ No newline at end of file