<plugin>
- <workbench id="Features">
+ <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="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="exportFeature.html">
+ <source path="export_widget.xml" />
+ </feature>
+ <feature id="Dump" title="Dump" tooltip="Dump Python script" icon="icons/Exchange/dump.png"
+ helpfile="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>
+ <!--<boolvalue id="topological_naming"
+ label="Topological naming selection"
+ tooltip="To use standard topological naming selection identifier, used for parametric model"
+ default="true"/>
+ <boolvalue id="geometric_selection"
+ label="Geometric selection"
+ tooltip="To use geometrical point coordinates to identify selected shapes"
+ default="true"/>
+ <boolvalue id="weak_naming"
+ label="Weak naming selection"
+ tooltip="To use geometrical order for identification of selected shapes"
+ default="false"/> -->
</feature>
</group>
</workbench>