Salome HOME
Issue #1412:Selection mode preferences modified
[modules/shaper.git] / src / FeaturesPlugin / partition_widget.xml
index 7358bdc5b019901baca58142acf6d9a023b72526..0c770c31887d3f7685a0358812fc64779519a95b 100755 (executable)
@@ -3,21 +3,26 @@
 <source>
   <multi_selector id="main_objects"
     label="Main objects"
-    icon=":icons/cut_shape.png"
-    tooltip="Select solid objects"
+    icon="icons/Features/cut_shape.png"
+    tooltip="Select solid objects"
     type_choice="Solids"
     concealment="true">
     <validator id="PartSet_DifferentObjects"/>
     <validator id="GeomValidators_ShapeType" parameters="solid"/>
   </multi_selector>
-  <multi_selector id="tool_objects" 
-    label="Tool object
-    icon=":icons/cut_tool.png" 
+  <multi_selector id="tool_objects"
+    label="Tool objects"
+    icon="icons/Features/cut_tool.png"
     tooltip="Select a tool face or solid"
     type_choice="Faces Solids"
     use_choice="false"
-    concealment="true" >
+    concealment="true">
     <validator id="PartSet_DifferentObjects"/>
-    <validator id="GeomValidators_ShapeType" parameters="solid,plane"/>
+    <validator id="GeomValidators_ShapeType" parameters="solid,plane,empty"/>
   </multi_selector>
+  <boolvalue id="partition_combine"
+    label="Combine results"
+    default="true"
+    tooltip="If True combines all results to one. If False builds separate result for each object."/>
+  <validator id="GeomValidators_PartitionArguments" parameters="main_objects,tool_objects,partition_combine"/>
 </source>