Salome HOME
Union of validator and filter functionalities.
[modules/shaper.git] / src / FeaturesPlugin / placement_widget.xml
index 998b27258c5286ee3eec8b4811c37d4537446310..fd4924fa027d7f1625c9c85a286d534acd9e573f 100644 (file)
@@ -1,16 +1,18 @@
+<!-- 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"
-  />
+               label="Select a face" 
+               icon=":icons/cut_shape.png" 
+               tooltip="Select a face of moved object" 
+               shape_types="face" 
+               concealment="true" >
+       <validator id="PartSet_DifferentObjects"/>
+  </shape_selector>
 </source>