Salome HOME
Add copyright header according to request of CEA from 06.06.2017
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.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 <plugin>
23   <workbench id="Part">
24     <group id="Exchange">
25       <feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png" document="Part">
26         <file_selector id="file_path" title="Import file" path="">
27           <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES,XAO:XAO" />
28         </file_selector>
29       </feature>
30       <feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png">
31         <source path="export_widget.xml" />
32       </feature>
33       <feature id="Dump" title="Dump" tooltip="Dump python script" icon="icons/Exchange/dump.png">
34         <export_file_selector id="file_path"
35                               type="save"
36                               title="Dump to file"
37                               path="">
38           <validator id="ExchangePlugin_ExportFormat"
39                      parameters="py:Python" />
40         </export_file_selector>
41       </feature>
42     </group>
43   </workbench>
44 </plugin>