X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_FeatureMessage.cpp;h=ae86d8b94d2fa9dc2d12ba6f0a090de51f6b2628;hb=87b6a30a3afb8fb32e7e43ade8d9c947d9eb1684;hp=954099ea3ae156614d64003873e6925aec765553;hpb=6c11e01149120ed3cbdb92d39ceb34e49e6670ae;p=modules%2Fshaper.git diff --git a/src/Config/Config_FeatureMessage.cpp b/src/Config/Config_FeatureMessage.cpp index 954099ea3..ae86d8b94 100644 --- a/src/Config/Config_FeatureMessage.cpp +++ b/src/Config/Config_FeatureMessage.cpp @@ -1,4 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D +// Copyright (C) 2014-2017 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" @@ -125,6 +143,16 @@ bool Config_FeatureMessage::isInternal() const return myInternal; } +bool Config_FeatureMessage::isAutoPreview() const +{ + return myIsAutoPreview; +} + +bool Config_FeatureMessage::isModal() const +{ + return myModal; +} + void Config_FeatureMessage::setUseInput(bool isUseInput) { myUseInput = isUseInput; @@ -135,6 +163,11 @@ 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; @@ -154,3 +187,8 @@ void Config_FeatureMessage::setActionsWhenNested(const std::string& theActions) { myActionsWhenNested = theActions; } + +void Config_FeatureMessage::setAutoPreview(bool isAutoPreview) +{ + myIsAutoPreview = isAutoPreview; +}