-<!--
-Copyright (C) 2014-2017 CEA/DEN, EDF R&D
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-See http:##www.salome-platform.org/ or
-email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
--->
-
<source>
<shape_selector id="base_shape"
label="Shape:"
<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>