Salome HOME
Issue #2183 Can't change the preselected object below the mouse cursor
[modules/shaper.git] / src / FeaturesPlugin / placement_widget.xml
index 784026359f1d9aa20ec9dad42b8afe7217f0bdf5..42a493390a912e2c7ce45ee764252c21bfc0e315 100644 (file)
@@ -1,26 +1,47 @@
-<!-- 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>
+-->
 
 <source>
   <multi_selector id="placement_objects_list"
     label="Select objects to move"
     icon="icons/Features/cut_shape.png"
-    tooltip="Select solid objects"
+    tooltip="Select objects"
     type_choice="objects"
     concealment="true" >
     <validator id="FeaturesPlugin_ValidatorTransform"/>
   </multi_selector>
   <shape_selector id="placement_start_shape"
-    label="Select an object" 
+    label="Select an object"
     icon="icons/Features/placement_from.png"
     tooltip="Select a start face, edge or vertex"
-    shape_types="face edge vertex"
-  />
+    shape_types="face edge vertex">
+    <validator id="GeomValidators_BodyShapes"/>
+  </shape_selector>
   <shape_selector id="placement_end_shape"
-    label="Select an object" 
+    label="Select an object"
     icon="icons/Features/placement_to.png"
     tooltip="Select an end face, edge or vertex"
     shape_types="face edge vertex">
     <validator id="PartSet_DifferentObjects"/>
+    <validator id="GeomValidators_BodyShapes"/>
   </shape_selector>
   <boolvalue id="placement_reverse_direction"
     label="Reverse"