Added a bunch of functionality that will be needed when opening the editor with an...
[taxeditor.git] / taxeditor-store / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 point="org.eclipse.ui.preferencePages">
6 <page
7 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
8 class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
9 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
10 name="Nomenclatural Code">
11 </page>
12 <!--page
13 class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
14 id="eu.etaxonomy.taxeditor.preferences.cdm"
15 name="CDM Datastore">
16 </page>
17 <page
18 category="eu.etaxonomy.taxeditor.preferences.cdm"
19 class="eu.etaxonomy.taxeditor.store.preference.InitializeDbPreferences"
20 id="eu.etaxonomy.taxeditor.preferences.initdb"
21 name="Initialize Datastore">
22 </page-->
23 <page
24 category="eu.etaxonomy.taxeditor.preferences.description"
25 class="eu.etaxonomy.taxeditor.preference.FeatureMenuPreferences"
26 id="eu.etaxonomy.taxeditor.preferences.feature"
27 name="Preferred Features">
28 </page>
29 <page
30 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
31 class="eu.etaxonomy.taxeditor.preference.RankMenuPreferences"
32 id="eu.etaxonomy.taxeditor.preferences.ranks"
33 name="Preferred Ranks">
34 </page>
35 <page
36 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
37 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
38 name="Taxonomic">
39 </page>
40 <page
41 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
42 id="eu.etaxonomy.taxeditor.preferences.description"
43 name="Description">
44 </page>
45 </extension>
46 <extension
47 point="org.eclipse.ui.views">
48 <view
49 class="eu.etaxonomy.taxeditor.datasource.view.CdmDataSourceView"
50 id="eu.etaxonomy.taxeditor.store.datasource.datasourceView"
51 name="Datasource"
52 restorable="true">
53 </view>
54 </extension>
55 <extension
56 point="org.eclipse.ui.menus">
57 <menuContribution
58 locationURI="menu:org.eclipse.ui.main.menu">
59 <menu
60 id="org.eclipse.ui.main.menu.window"
61 label="Window">
62 <menu
63 id="eu.etaxonomy.taxeditor.menu.showView"
64 label="Show View">
65 <command
66 commandId="eu.etaxonomy.taxeditor.store.operations.showDatasourceView"
67 label="Datasource"
68 style="push">
69 </command>
70 </menu>
71 </menu>
72 </menuContribution>
73 <menuContribution
74 locationURI="popup:eu.etaxonomy.taxeditor.store.datasource.datasourceView">
75 <command
76 commandId="eu.etaxonomy.taxeditor.store.datasource.change"
77 label="Connect"
78 style="push">
79 </command>
80 <command
81 commandId="eu.etaxonomy.taxeditor.store.datasource.create"
82 label="New"
83 style="push">
84 </command>
85 <command
86 commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
87 label="Edit"
88 style="push">
89 </command>
90 <separator
91 name="eu.etaxonomy.taxeditor.store.datasource.separator"
92 visible="true">
93 </separator>
94 <command
95 commandId="eu.etaxonomy.taxeditor.store.datasource.delete"
96 label="Delete"
97 style="push">
98 </command>
99 </menuContribution>
100 <menuContribution
101 locationURI="menu:org.eclipse.ui.main.menu">
102 <menu
103 id="org.eclipse.ui.main.menu.file"
104 label="File">
105 <command
106 commandId="org.eclipse.ui.file.import"
107 label="Import..."
108 style="push">
109 </command>
110 <command
111 commandId="org.eclipse.ui.file.export"
112 label="Export..."
113 style="push">
114 </command>
115 </menu>
116 </menuContribution>
117 </extension>
118 <extension
119 name="Window Menu Commands"
120 point="org.eclipse.ui.commands">
121 <command
122 defaultHandler="eu.etaxonomy.taxeditor.handler.ShowDataSourceViewHandler"
123 id="eu.etaxonomy.taxeditor.store.operations.showDatasourceView"
124 name="Show Datasource View">
125 </command>
126 </extension>
127 <extension
128 name="Popup Menu Commands"
129 point="org.eclipse.ui.commands">
130 <command
131 defaultHandler="eu.etaxonomy.taxeditor.datasource.handler.ChangeConnectionHandler"
132 id="eu.etaxonomy.taxeditor.store.datasource.change"
133 name="Connect Datasource">
134 </command>
135 <command
136 defaultHandler="eu.etaxonomy.taxeditor.datasource.handler.EditDataSourceHandler"
137 id="eu.etaxonomy.taxeditor.store.datasource.edit"
138 name="Edit Datasource">
139 </command>
140 <command
141 defaultHandler="eu.etaxonomy.taxeditor.datasource.handler.CreateDataSourceHandler"
142 id="eu.etaxonomy.taxeditor.store.datasource.create"
143 name="Create Datasource">
144 </command>
145 <command
146 defaultHandler="eu.etaxonomy.taxeditor.datasource.handler.DeleteDataSourceHandler"
147 id="eu.etaxonomy.taxeditor.store.datasource.delete"
148 name="Delete Datasource">
149 </command>
150 </extension>
151 <extension
152 point="org.eclipse.ui.perspectiveExtensions">
153 <perspectiveExtension
154 targetID="eu.etaxonomy.taxeditor.application.perspective">
155 <view
156 id="eu.etaxonomy.taxeditor.store.datasource.datasourceView"
157 minimized="false"
158 ratio="0.8"
159 relationship="bottom"
160 relative="org.eclipse.ui.editorss"
161 visible="false">
162 </view>
163 </perspectiveExtension>
164 </extension>
165 <extension
166 point="org.eclipse.ui.importWizards">
167 <category
168 id="eu.etaxonomy.taxeditor.import.category.cdm"
169 name="CDM">
170 </category>
171 <wizard
172 category="eu.etaxonomy.taxeditor.import.category.cdm"
173 class="eu.etaxonomy.taxeditor.io.TcsImportWizard"
174 id="eu.etaxonomy.taxeditor.io.import.tcs"
175 name="TCS">
176 </wizard>
177 <wizard
178 category="eu.etaxonomy.taxeditor.import.category.cdm"
179 class="eu.etaxonomy.taxeditor.io.JaxbImportWizard"
180 id="eu.etaxonomy.taxeditor.io.import.excel"
181 name="JAXB">
182 </wizard>
183 <category
184 id="eu.etaxonomy.taxeditor.import.category.excel"
185 name="Excel">
186 </category>
187 </extension>
188 <extension
189 point="org.eclipse.ui.exportWizards">
190 <category
191 id="eu.etaxonomy.taxeditor.export.category.cdm"
192 name="CDM">
193 </category>
194 <wizard
195 category="eu.etaxonomy.taxeditor.import.category.cdm"
196 class="eu.etaxonomy.taxeditor.io.TcsExportWizard"
197 id="eu.etaxonomy.taxeditor.io.export.tcs"
198 name="TCS">
199 </wizard>
200 <wizard
201 category="eu.etaxonomy.taxeditor.export.category.cdm"
202 class="eu.etaxonomy.taxeditor.io.JaxbExportWizard"
203 id="eu.etaxonomy.taxeditor.io.export.excel"
204 name="JAXB">
205 <selection
206 class="selection.Selection1">
207 </selection>
208 </wizard>
209 <wizard
210 category="eu.etaxonomy.taxeditor.import.category.cdm"
211 class="eu.etaxonomy.taxeditor.io.BerlinModelExportWizard"
212 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
213 name="Berlin Model">
214 </wizard>
215 <category
216 id="eu.etaxonomy.taxeditor.export.category.excel"
217 name="Excel">
218 </category>
219 </extension>
220 <extension
221 point="org.eclipse.ui.activities">
222 <activity
223 description="Test"
224 id="test.Export"
225 name="Test"/>
226 <activityPatternBinding
227 activityId="test.Export"
228 pattern="org\.eclipse\.ui\.wizard\.export\.*/org\.eclipse\.ui\.wizard\.import\.*"/>
229 <categoryActivityBinding
230 activityId="test.Export"
231 categoryId="test.category"/>
232 <category
233 id="test.category"
234 name="testCategory">
235 </category>
236 </extension>
237 <extension
238 point="org.eclipse.ui.views">
239 <view
240 name="Progress View"
241 icon="icons/pview.gif"
242 category="org.eclipse.ui"
243 class="org.eclipse.ui.ExtensionFactory:progressView"
244 id="org.eclipse.ui.views.ProgressView">
245 </view>
246 </extension>
247
248 </plugin>