Salome HOME
Improve ExchangePlugin code coverage
[modules/shaper.git] / src / FeaturesPlugin / placement_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="placement_objects_list"
24     label="Select objects to move"
25     icon="icons/Features/cut_shape.png"
26     tooltip="Select objects"
27     type_choice="objects"
28     concealment="true" >
29     <validator id="FeaturesPlugin_ValidatorTransform"/>
30   </multi_selector>
31   <shape_selector id="placement_start_shape"
32     label="Select an object"
33     icon="icons/Features/placement_from.png"
34     tooltip="Select a start face, edge or vertex"
35     shape_types="face edge vertex"
36     geometrical_selection="true">
37     <validator id="GeomValidators_BodyShapes"/>
38   </shape_selector>
39   <shape_selector id="placement_end_shape"
40     label="Select an object"
41     icon="icons/Features/placement_to.png"
42     tooltip="Select an end face, edge or vertex"
43     shape_types="face edge vertex"
44     geometrical_selection="true">
45     <validator id="PartSet_DifferentObjects"/>
46     <validator id="GeomValidators_BodyShapes"/>
47   </shape_selector>
48   <boolvalue id="placement_reverse_direction"
49     label="Reverse"
50     default="false"
51     tooltip="Reverse placement direction"/>
52   <boolvalue id="placement_centering"
53     label="Centering"
54     default="false"
55     tooltip="Center faces under placement"/>
56 </source>