Salome HOME
Update copyrights
[modules/shaper.git] / src / FeaturesPlugin / remove_subshapes_widget.xml
1 <source>
2   <shape_selector id="base_shape"
3                   label="Shape:"
4                   tooltip="Select a shape to modify."
5                   shape_types="objects"
6                   concealment="true"
7                   greed="true">
8     <validator id="GeomValidators_ShapeType" parameters="wire,shell,compsolid,compound"/>
9     <validator id="GeomValidators_BodyShapes" parameters="toplevel"/>
10   </shape_selector>
11   <toolbox id="creation_method">
12     <box id="by_remove_subshapes"
13      title="By removing sub-shapes"
14      icon="icons/Features/remove_subshapes_32x32.png">
15       <multi_selector id="subshapes_to_remove"
16                 label="Sub-Shapes to remove:"
17                 tooltip="Select shapes to remove."
18                 type_choice="vertices edges wires faces shells solids compsolids compounds"
19                 clear_in_neutral_point="false">
20         <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
21       </multi_selector>
22     </box>
23     <box id="by_keep_subshapes"
24      title="By keeping sub-shapes"
25      icon="icons/Features/keep_subshapes_32x32.png">
26       <multi_selector id="subshapes_to_keep"
27                 label="Sub-Shapes to keep:"
28                 tooltip="Select shapes to keep."
29                 type_choice="vertices edges wires faces shells solids compsolids compounds"
30                 clear_in_neutral_point="false">
31         <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
32       </multi_selector>
33     </box>
34   </toolbox>
35   <validator id="FeaturesPlugin_ValidatorRemoveSubShapesResult"/>
36 </source>