Salome HOME
Merge remote-tracking branch 'origin/Toolbars_Management'
[modules/shaper.git] / src / FeaturesPlugin / boolean_smash_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   <multi_selector id="main_objects"
24     label="Main objects"
25     icon=""
26     tooltip="Select objects"
27     type_choice="faces solids compsolids"
28     use_choice="false"
29     concealment="true">
30     <validator id="PartSet_DifferentObjects"/>
31     <validator id="FeaturesPlugin_ValidatorBooleanSmashSelection"/>
32   </multi_selector>
33   <multi_selector id="tool_objects"
34     label="Tool objects"
35     icon=""
36     tooltip="Select tools"
37     type_choice="faces solids compsolids"
38     use_choice="false"
39     concealment="true" >
40     <validator id="PartSet_DifferentObjects"/>
41     <validator id="FeaturesPlugin_ValidatorBooleanSmashSelection"/>
42   </multi_selector>
43   <validator id="FeaturesPlugin_ValidatorBooleanArguments" parameters="main_objects,tool_objects"/>
44 </source>