Salome HOME
Coding style (fix too long line)
[modules/shaper.git] / src / BuildPlugin / wire_widget.xml
index 87f03df669d4cec1dff81c0e1ba1ef9fda2f40ad..70d14be3c504dbf4891b8a6f4b84d6bade8f459e 100644 (file)
@@ -1,14 +1,15 @@
 <source>
   <multi_selector id="base_objects"
-                  label="Segments and wires:"
-                  tooltip="Select edges on sketch, edges or wires objects."
-                  type_choice="edges wires"
+                  label="Segments, wires or sketches:"
+                  tooltip="Select edges on sketch (or the whole sketch), edges or wires objects."
+                  shape_types="edges wires"
                   concealment="true">
-    <validator id="BuildPlugin_ValidatorBaseForBuild" parameters="edge,wire"/>
+    <validator id="BuildPlugin_ValidatorBaseForBuild" parameters="edge,wire,compound"/>
   </multi_selector>
+  <boolvalue id="intersect" label="Compute intersections" tooltip="Divide sketch edges in intersection points." default="false"/>
   <action id="add_contour"
           label="Add contour"
           tooltip="Adds to the list of segments other segments of the sketcher
                    connected to the already selected ones to create a closed contour."/>
-  <validator id="BuildPlugin_ValidatorBaseForWire" parameters="base_objects"/>
+  <validator id="BuildPlugin_ValidatorBaseForWire" parameters="base_objects,wire"/>
 </source>