Salome HOME
Dump Python in the High Level Parameterized Geometry API (issue #1648)
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.xml
index f428938d91b73d60616ae4d115fc679032db1753..abd5f75baba9afbce476ca4f133dc72c95805faa 100755 (executable)
       <feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png">
         <source path="export_widget.xml" />
       </feature>
+      <feature id="Dump" title="Dump" tooltip="Dump python script" icon="icons/Exchange/dump.png">
+        <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>
\ No newline at end of file