+<!--
+Copyright (C) 2014-2017 CEA/DEN, EDF R&D
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+See http:##www.salome-platform.org/ or
+email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+-->
+
<plugin>
- <workbench id="Features" document="Part">
+ <workbench id="Part">
<group id="Exchange">
- <feature
- id="Import"
- title="Import"
- tooltip="Import shape"
- icon=":icons/import.png">
- <file_selector
- id="import_file_selector"
- title="Import file"
- path=""
- formats="BREP,STEP" />
- <!-- TODO: pass formats as validator
- <validator id="Format" parameters="BREP:BREPImport,STEP:STEPImport" />
- -->
+ <feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png" document="Part"
+ helpfile="ExchangePlugin/importFeature.html">
+ <file_selector id="file_path" title="Import file" path="">
+ <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES,XAO:XAO" />
+ </file_selector>
+ </feature>
+ <feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png"
+ helpfile="ExchangePlugin/exportFeature.html">
+ <source path="export_widget.xml" />
+ </feature>
+ <feature id="Dump" title="Dump" tooltip="Dump python script" icon="icons/Exchange/dump.png"
+ helpfile="ExchangePlugin/dumpFeature.html">
+ <export_file_selector id="file_path"
+ type="save"
+ title="Dump to file"
+ path="">
+ <validator id="ExchangePlugin_ExportFormat"
+ parameters="py:Python" />
+ </export_file_selector>
</feature>
</group>
</workbench>
-</plugin>
+</plugin>
\ No newline at end of file