Salome HOME
Issue #2481: Application error when create fillet
[modules/shaper.git] / src / Config / Config_FeatureMessage.cpp
index a5fd9fd45fbe12e1868f1d44de797a3a6fc544c2..c944bc6d4a0045231d48d2f7af8f758310ef9243 100644 (file)
@@ -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<mailto:webmaster.salome@opencascade.com>
+//
 
 #include "Config_FeatureMessage.h"
 
@@ -18,6 +36,8 @@ Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void*
   myInternal = false;
   myUseInput = false;
   myNestedFeatures = "";
+  myModal = false;
+  myIsApplyContinue = false;
 }
 
 Config_FeatureMessage::~Config_FeatureMessage()
@@ -130,6 +150,17 @@ 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;
@@ -140,6 +171,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;
@@ -164,3 +200,8 @@ void Config_FeatureMessage::setAutoPreview(bool isAutoPreview)
 {
   myIsAutoPreview = isAutoPreview;
 }
+
+void Config_FeatureMessage::setApplyContinue(bool isModal)
+{
+  myIsApplyContinue = isModal;
+}
\ No newline at end of file