Salome HOME
Merge branch 'Dev_0.6.1' of newgeom:newgeom into Dev_0.6.1
[modules/shaper.git] / src / FeaturesPlugin / placement_widget.xml
index 0e6f3488ed79e275bba215df08f93b21c30151e1..4f04fa9cd2838d1a792b604d7f27001588e1cfb4 100644 (file)
@@ -1,19 +1,20 @@
+<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 <source>
   <shape_selector id="placement_base_face" 
     label="Select a face" 
     icon=":icons/cut_shape.png" 
-    tooltip="Select a face a one object"
+    tooltip="Select a destination face"
     shape_types="face"
     use_subshapes="true"
   />
   <shape_selector id="placement_attractable_face" 
-    label="Select a face" 
-    icon=":icons/cut_shape.png" 
-    tooltip="Select a face of another object"
-    shape_types="face"
-    use_subshapes="true"
-       concealment="true"
-  />
-  <!-- In order to avoid automatic closing of operation -->
-  <label id="" label="" internal="1"/>
+               label="Select a face" 
+               icon=":icons/cut_shape.png" 
+               tooltip="Select a face of moved object" 
+               shape_types="face" 
+               use_subshapes="true"    
+               concealment="true" >
+       <validator id="PartSet_DifferentObjects"/>
+  </shape_selector>
 </source>