Salome HOME
Add copyright header according to request of CEA from 06.06.2017
[modules/shaper.git] / src / ExchangePlugin / export_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   <switch id="ExportType">
24     <case id="Regular" title="BREP, STEP, IGES">
25       <export_file_selector id="file_path"
26                             type="save"
27                             title="Export file"
28                             path="">
29         <validator id="ExchangePlugin_ExportFormat"
30                    parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES-5.1,IGES|IGS:IGES-5.3" />
31       </export_file_selector>
32       <multi_selector id="selection_list"
33                       tooltip="Select a set of objects"
34                       type_choice="Vertices Edges Faces Solids Compsolids Objects">
35         <validator id="GeomValidators_Finite"/>
36       </multi_selector>
37     </case>
38     <case id="XAO" title="XAO">
39       <export_file_selector id="xao_file_path"
40                             type="save"
41                             title="Export file"
42                             path="">
43         <validator id="ExchangePlugin_ExportFormat"
44                    parameters="XAO:XAO" />
45       </export_file_selector>
46       <stringvalue id="xao_author"
47                    label="Author"
48                    placeholder="Please input the author">
49       </stringvalue>
50       <stringvalue id="xao_geometry_name"
51                    label="Geometry name"
52                    placeholder="Please input the geometry name">
53       </stringvalue>
54     </case>
55   </switch>
56 </source>