]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/remove_subshapes_widget.xml
Salome HOME
Fix the problem that for Remove Shapes the sub-result can be selected as a base objec...
[modules/shaper.git] / src / FeaturesPlugin / remove_subshapes_widget.xml
1 <!--
2 Copyright (C) 2014-2017  CEA/DEN, EDF R&D
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 See http:##www.salome-platform.org/ or
19 email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
20 -->
21
22 <source>
23   <shape_selector id="base_shape"
24                   label="Shape:"
25                   tooltip="Select a shape to modify."
26                   shape_types="objects"
27                   concealment="true"
28                   greed="true">
29     <validator id="GeomValidators_ShapeType" parameters="wire,shell,compsolid,compound"/>
30     <validator id="GeomValidators_BodyShapes" parameters="toplevel"/>
31   </shape_selector>
32   <multi_selector id="subshapes"
33                   label="Sub-Shapes to keep:"
34                   tooltip="Select shapes to keep."
35                   type_choice="vertices edges wires faces shells solids compsolids compounds"
36                   clear_in_neutral_point="false">
37     <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
38   </multi_selector>
39   <validator id="FeaturesPlugin_ValidatorRemoveSubShapesResult"/>
40 </source>