]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/rotation_widget.xml
Salome HOME
Reverted some changes in salome build/run scripts.
[modules/shaper.git] / src / FeaturesPlugin / rotation_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   <toolbox id="CreationMethod">
24     <box id="ByAxisAndAngle"
25          title="By an axis and an angle"
26          icon="icons/Features/rotation_axis_32x32.png">
27       <multi_selector id="main_objects"
28                       label="Main objects"
29                       icon=""
30                       tooltip="Select solid objects"
31                       type_choice="objects"
32                       concealment="true">
33         <validator id="FeaturesPlugin_ValidatorTransform"/>
34       </multi_selector>
35       <shape_selector id="axis_object"
36                   icon="icons/Features/axis.png"
37                   label="Axis"
38                   tooltip="Select an edge for axis"
39                   shape_types="edge"
40                   default="">
41         <validator id="GeomValidators_ShapeType" parameters="line"/>
42       </shape_selector>
43       <doublevalue id="angle"
44                    label="Angle"
45                    step="1.0"
46                    default="0"
47                    icon="icons/Features/angle.png"
48                    tooltip="Angle">
49       </doublevalue>
50     </box>
51     <box id="ByThreePoints"
52          title="By a center and two points"
53          icon="icons/Features/rotation_3pt_32x32.png">
54       <multi_selector id="main_objects"
55                       label="Main objects"
56                       icon=""
57                       tooltip="Select solid objects"
58                       type_choice="objects"
59                       concealment="true">
60         <validator id="FeaturesPlugin_ValidatorTransform"/>
61       </multi_selector>
62       <shape_selector id="center_point"
63                       label="Center point"
64                       icon="icons/Features/point.png"
65                       tooltip="Select a center point"
66                       shape_types="vertex">
67         <validator id="GeomValidators_ConstructionComposite"/>
68         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
69       </shape_selector>
70       <shape_selector id="start_point"
71                       label="Start point"
72                       icon="icons/Features/point.png"
73                       tooltip="Select a starting point"
74                       shape_types="vertex">
75         <validator id="GeomValidators_ConstructionComposite"/>
76         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
77         <validator id="GeomValidators_DifferentShapes"/>
78       </shape_selector>
79       <shape_selector id="end_point"
80                       label="End point"
81                       icon="icons/Features/point.png"
82                       tooltip="Select an end point"
83                       shape_types="vertex">
84         <validator id="GeomValidators_ConstructionComposite"/>
85         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
86         <validator id="GeomValidators_DifferentShapes"/>
87       </shape_selector>
88     </box>
89   </toolbox>
90 </source>