Salome HOME
Support of additional attributes if ModelWidget and features
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <plugin>
4   <workbench id="Features" document="Part">
5     <group id="Exchange">
6       <feature id="Import" title="Import" tooltip="Import a file" icon=":icons/import.png">
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" />
9         </file_selector>
10       </feature>
11       <feature id="Export" title="Export" tooltip="Export to file" icon=":icons/export.png">
12         <export_file_selector id="file_path" type="save" title="Export file" path="">
13           <validator id="ExchangePlugin_ExportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES-5.1,IGES|IGS:IGES-5.3" />
14           <attributes>
15             <attribute id="file_format" role="format" />
16           </attributes>
17         </export_file_selector>
18         <multi_selector id="selection_list" tooltip="Select a set of objects" type_choice="Vertices Edges Faces Solids" /> 
19       </feature>
20     </group>
21   </workbench>
22 </plugin>