Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / FeaturesPlugin / symmetry_widget.xml
index 2d253500e0cea998dc36fcf0b82591ceb94c36e9..6d73285bbb99a2604e26300ac9a9f49c19a7c3b3 100644 (file)
@@ -1,7 +1,26 @@
-<!-- Copyright (C) 2014-2016 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>
+-->
 
 <source>
-  <toolbox id="CreationMethod"> 
+  <toolbox id="CreationMethod">
     <box id="ByPoint" title="Point reflection" icon="icons/Features/symmetry_point_32x32.png">
       <multi_selector id="main_objects"
                       label="Main objects"
@@ -34,7 +53,8 @@
                       label="Axis"
                       tooltip="Select an axis"
                       shape_types="edge"
-                      default="">
+                      default=""
+                      geometrical_selection="true">
         <validator id="GeomValidators_ShapeType" parameters="line"/>
       </shape_selector>
     </box>
@@ -57,4 +77,5 @@
       </shape_selector>
     </box>
   </toolbox>
+  <boolvalue id="keep_original" label="Keep original result" default="true" tooltip="Do not remove original shape"/>
 </source>