Salome HOME
914ef4508fac508acb8a6fd2c08fc2bccdf9ba84
[modules/shaper.git] / src / ExchangePlugin / export_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <switch id="ExportType">
5     <case id="Regular" title="BREP, STEP, IGES">
6       <export_file_selector id="file_path"
7                             type="save"
8                             title="Export file"
9                             path="">
10         <validator id="ExchangePlugin_ExportFormat"
11                    parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES-5.1,IGES|IGS:IGES-5.3" />
12       </export_file_selector>
13       <multi_selector id="selection_list" 
14                       tooltip="Select a set of objects" 
15                       type_choice="Vertices Edges Faces Solids Compsolids Objects">
16         <validator id="GeomValidators_Finite"/>
17       </multi_selector>
18     </case>
19     <case id="XAO" title="XAO">
20       <export_file_selector id="file_path"
21                             type="save"
22                             title="Export file"
23                             path="">
24         <validator id="ExchangePlugin_ExportFormat"
25                    parameters="XAO:XAO" />
26       </export_file_selector>
27       <stringvalue id="xao_author"
28                    label="Author"
29                    placeholder="Please input the author">
30       </stringvalue>
31       <stringvalue id="xao_geometry_name"
32                    label="Geometry name"
33                    placeholder="Please input the geometry name">
34       </stringvalue>
35     </case>
36   </switch>
37 </source>