Salome HOME
Issue #355 Delete: elements of sketch and constraints:
[modules/shaper.git] / src / FeaturesPlugin / placement_widget.xml
index 0e6f3488ed79e275bba215df08f93b21c30151e1..109d0d62cf7f4fa3f97fefe89734e455fa5a12c1 100644 (file)
@@ -1,19 +1,26 @@
+<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 <source>
-  <shape_selector id="placement_base_face
-    label="Select a face
+  <shape_selector id="placement_base_object
+    label="Select an object
     icon=":icons/cut_shape.png" 
-    tooltip="Select a face a one object"
-    shape_types="face"
-    use_subshapes="true"
+    tooltip="Select a destination element"
+    shape_types="face edge vertex"
   />
-  <shape_selector id="placement_attractable_face
-    label="Select a face
+  <shape_selector id="placement_attractable_object
+    label="Select an object
     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"/>
+    tooltip="Select an element of moved object" 
+    shape_types="face edge vertex" 
+    concealment="true" >
+    <validator id="PartSet_DifferentObjects"/>
+  </shape_selector>
+  <boolvalue id="placement_reverse_direction"
+    label="Reverse"
+    default="false"
+    tooltip="Reverse placement direction"/>
+  <boolvalue id="placement_centering"
+    label="Centering"
+    default="false"
+    tooltip="Center faces under placement"/>
 </source>