Salome HOME
Issue #3145: Update Import/Export help pages
[modules/shaper.git] / src / ExchangePlugin / plugin-Exchange.xml
1 <plugin>
2   <workbench id="Part">
3     <group id="Exchange">
4       <feature id="ImportMacro" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
5                helpfile="importFeature.html"
6                internal="1">
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,XAO:XAO" />
9         </file_selector>
10         <choice id="target_part"
11                 string_list_attribute="target_parts_list"
12                 label="Import to"
13                 tooltip="Select the part to import the document" />
14       </feature>
15       <feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
16                helpfile="importFeature.html" internal="1">
17         <file_selector id="file_path" title="Import file" path="">
18           <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES,XAO:XAO" />
19         </file_selector>
20       </feature>
21       <feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png"
22                helpfile="exportFeature.html" internal="1">
23         <source path="export_widget.xml" />
24       </feature>
25       <feature id="Dump" title="Dump" tooltip="Dump Python script" icon="icons/Exchange/dump.png"
26                helpfile="dumpFeature.html" abort_confirmation="false">
27         <export_file_selector id="file_path"
28                               type="save"
29                               title="Dump to file"
30                               path="">
31           <validator id="ExchangePlugin_ExportFormat"
32                      parameters="py:Python" />
33         </export_file_selector>
34         <!--<boolvalue id="topological_naming"
35              label="Topological naming selection"
36              tooltip="To use standard topological naming selection identifier, used for parametric model"
37              default="true"/>
38         <boolvalue id="geometric_selection"
39              label="Geometric selection"
40              tooltip="To use geometrical point coordinates to identify selected shapes"
41              default="true"/>
42         <boolvalue id="weak_naming"
43              label="Weak naming selection"
44              tooltip="To use geometrical order for identification of selected shapes"
45              default="false"/> -->
46       </feature>
47
48       <feature id="ImportPart" title="Import part" tooltip="Import features from file" icon="icons/Exchange/import_part.png"
49                helpfile="importFeature.html"
50                internal="1">
51         <file_selector id="file_path" title="Import file" path="">
52           <validator id="ExchangePlugin_ImportFormat" parameters="shaperpart:Part" />
53         </file_selector>
54         <choice id="target_part"
55                 string_list_attribute="target_parts_list"
56                 label="Import to"
57                 tooltip="Select the part to import the document" />
58       </feature>
59       <feature id="ExportPart" title="Export part" tooltip="Export structure of the Part to file" icon="icons/Exchange/export_part.png"
60                helpfile="exportFeature.html"
61                internal="1">
62         <export_file_selector id="file_path"
63                               type="save"
64                               title="Export file"
65                               path="">
66           <validator id="ExchangePlugin_ExportFormat"
67                      parameters="shaperpart:Part" />
68         </export_file_selector>
69         <multi_selector id="selection_list"
70                         tooltip="Select features or results"
71                         shape_types="Vertices Edges Faces Solids Compsolids Objects">
72           <validator id="GeomValidators_GlobalSelection" />
73           <validator id="ExchangePlugin_InHistory" />
74         </multi_selector>
75       </feature>
76     </group>
77   </workbench>
78 </plugin>