Salome HOME
Fix compilation error on Linux. Part V.
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.xml
index 0c54cb349b86ea9456399c97b9d0f519dc7fa894..d8bb8a0c7f8cb97e8af8a8f3dcde3ed6005436bf 100644 (file)
@@ -1,18 +1,20 @@
 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
 
 <plugin>
-  <workbench id="Features" document="Part">
+  <workbench id="Part">
     <group id="Exchange">
-      <feature id="Import" title="Import" tooltip="Import a file" icon=":icons/import.png">
-        <file_selector id="import_file_selector" title="Import file" path="">
-          <validator id="ExchangePlugin_ImportFormat" parameters="BREP:BREP,STEP|STP:STEP,IGES|IGS:IGES" />
+      <feature id="Import" title="Import" tooltip="Import a file" icon=":icons/import.png" document="Part">
+        <file_selector id="file_path" title="Import file" path="">
+          <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES" />
         </file_selector>
       </feature>
       <feature id="Export" title="Export" tooltip="Export to file" icon=":icons/export.png">
-        <export_file_selector id="export_file_selector" type="save" title="Export file" path="">
-          <validator id="ExchangePlugin_ExportFormat" parameters="BREP:BREP,STEP|STP:STEP,IGES|IGS:IGES-5.1,IGES|IGS:IGES-5.3" />
+        <export_file_selector id="file_path" type="save" title="Export file" path="">
+          <validator id="ExchangePlugin_ExportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES-5.1,IGES|IGS:IGES-5.3" />
         </export_file_selector>
-        <multi_selector id="selection_list" tooltip="Select a set of objects" type_choice="Vertices Edges Faces Solids" /> 
+        <multi_selector id="selection_list" tooltip="Select a set of objects" type_choice="Vertices Edges Faces Solids Objects">
+          <validator id="GeomValidators_Finite"/>
+        </multi_selector>
       </feature>
     </group>
   </workbench>