Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / FeaturesPlugin / remove_subshapes_widget.xml
index 353881c4554a970d05053b9dfe1498f76634b6f5..92cb0aab07e22f78261d5b8a9d6da33ec3ca9a2a 100644 (file)
@@ -29,12 +29,29 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
     <validator id="GeomValidators_ShapeType" parameters="wire,shell,compsolid,compound"/>
     <validator id="GeomValidators_BodyShapes" parameters="toplevel"/>
   </shape_selector>
-  <multi_selector id="subshapes"
-                  label="Sub-Shapes to keep:"
-                  tooltip="Select shapes to keep."
-                  type_choice="vertices edges wires faces shells solids compsolids compounds"
-                  clear_in_neutral_point="false">
-    <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
-  </multi_selector>
+  <toolbox id="creation_method">
+    <box id="by_remove_subshapes"
+     title="By removing sub-shapes"
+     icon="icons/Features/remove_subshapes_32x32.png">
+      <multi_selector id="subshapes_to_remove"
+                label="Sub-Shapes to remove:"
+                tooltip="Select shapes to remove."
+                type_choice="vertices edges wires faces shells solids compsolids compounds"
+                clear_in_neutral_point="false">
+        <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
+      </multi_selector>
+    </box>
+    <box id="by_keep_subshapes"
+     title="By keeping sub-shapes"
+     icon="icons/Features/keep_subshapes_32x32.png">
+      <multi_selector id="subshapes_to_keep"
+                label="Sub-Shapes to keep:"
+                tooltip="Select shapes to keep."
+                type_choice="vertices edges wires faces shells solids compsolids compounds"
+                clear_in_neutral_point="false">
+        <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
+      </multi_selector>
+    </box>
+  </toolbox>
   <validator id="FeaturesPlugin_ValidatorRemoveSubShapesResult"/>
 </source>