Salome HOME
Update copyrights
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.xml
index 7e1c7f1178f8e667e6037b9cf8f06c2a4ca03075..8dc02f2d0d1a6560b9525cd9da8b430774b0108e 100644 (file)
@@ -1,14 +1,37 @@
 <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="">
-          <validator id="ExchangePlugin_ImportFormat" 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>
+        <radiobox id="selection_type">
+          <radio id="topological_naming"
+               title="Topological naming selection"
+               tooltip="To use standard topological naming selection identifier, used for parametric model"/>
+          <radio id="geometric_selection"
+               title="Geometric selection"
+               tooltip="To use geometrical point coordinates to identify selected shapes"/>
+          <radio id="weak_naming"
+               title="Weak naming selection"
+               tooltip="To use geometrical order for identification of selected shapes"/>
+        </radiobox>
+      </feature>
     </group>
   </workbench>
 </plugin>
\ No newline at end of file