Salome HOME
abd5f75baba9afbce476ca4f133dc72c95805faa
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <plugin>
4   <workbench id="Part">
5     <group id="Exchange">
6       <feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png" document="Part">
7         <file_selector id="file_path" title="Import file" path="">
8           <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES,XAO:XAO" />
9         </file_selector>
10       </feature>
11       <feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png">
12         <source path="export_widget.xml" />
13       </feature>
14       <feature id="Dump" title="Dump" tooltip="Dump python script" icon="icons/Exchange/dump.png">
15         <export_file_selector id="file_path"
16                               type="save"
17                               title="Dump to file"
18                               path="">
19           <validator id="ExchangePlugin_ExportFormat"
20                      parameters="py:Python" />
21         </export_file_selector>
22       </feature>
23     </group>
24   </workbench>
25 </plugin>