e6f85726de4d102c3c4605e185ed2a5ebd774a6e
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4
5 <extension
6 id="application"
7 point="org.eclipse.core.runtime.applications">
8 <application>
9 <run
10 class="eu.etaxonomy.taxeditor.Application">
11 </run>
12 </application>
13 </extension>
14 <extension
15 point="org.eclipse.ui.perspectives">
16 <perspective
17 class="eu.etaxonomy.taxeditor.FreetextPropertiesPerspective"
18 fixed="true"
19 id="eu.etaxonomy.taxeditor.perspective.freetextproperties"
20 name="Show Properties">
21 </perspective>
22 <perspective
23 class="eu.etaxonomy.taxeditor.SideBySidePerspective"
24 fixed="true"
25 id="eu.etaxonomy.taxeditor.perspective.sidebyside"
26 name="Hide Properties">
27 </perspective>
28 </extension>
29 <extension
30 point="org.eclipse.ui.views">
31 <view
32 class="eu.etaxonomy.taxeditor.navigation.TaxonomicTreeView"
33 icon="icons/edit_16x16.gif"
34 id="eu.etaxonomy.taxeditor.navigation.taxonomictreeview"
35 name="Taxonomic Tree">
36 </view>
37 <view
38 class="eu.etaxonomy.taxeditor.navigation.RecentNamesView"
39 icon="icons/edit_16x16.gif"
40 id="eu.etaxonomy.taxeditor.navigation.recentnamesview"
41 name="Recent Names">
42 </view>
43 <view
44 class="eu.etaxonomy.taxeditor.navigation.SearchView"
45 icon="icons/edit_16x16.gif"
46 id="eu.etaxonomy.taxeditor.navigation.searchview"
47 name="Search">
48 </view>
49 <view
50 class="eu.etaxonomy.taxeditor.navigation.FavoritesView"
51 icon="icons/edit_16x16.gif"
52 id="eu.etaxonomy.taxeditor.navigation.favoritesview"
53 name="Favorites">
54 </view>
55 <view
56 class="eu.etaxonomy.taxeditor.editor.UndoView"
57 icon="icons/edit_16x16.gif"
58 id="eu.etaxonomy.taxeditor.view.undoview"
59 name="Recent Actions">
60 </view>
61 <view
62 allowMultiple="true"
63 class="eu.etaxonomy.taxeditor.navigation.SearchResultView"
64 icon="icons/edit_16x16.gif"
65 id="eu.etaxonomy.taxeditor.navigation.searchresultview"
66 name="Search Result">
67 </view>
68 </extension>
69 <extension
70 point="org.eclipse.ui.editors">
71 <editor
72 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
73 icon="icons/edit_16x16.gif"
74 id="eu.etaxonomy.taxeditor.editor.multipagetaxonview"
75 name="Multitabbed Taxon Editor"
76 contributorClass="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorActionBarContributor">
77 </editor>
78 <editor
79 class="eu.etaxonomy.taxeditor.editor.EmptyEditorView"
80 icon="icons/edit_16x16.gif"
81 id="eu.etaxonomy.taxeditor.view.EmptyEditorView"
82 name="New EditorPart">
83 </editor>
84 </extension>
85 <extension
86 id="product"
87 point="org.eclipse.core.runtime.products">
88 <product
89 application="eu.etaxonomy.taxeditor.application"
90 name="EDIT Taxonomic Editor">
91 <property
92 name="appName"
93 value="EDIT Taxonomic Editor">
94 </property>
95 <property
96 name="aboutImage"
97 value="icons/edit_16x16.gif">
98 </property>
99 <property
100 name="aboutText"
101 value="Thanks for all the laughs!">
102 </property>
103 <property
104 name="windowImages"
105 value="icons/edit_16x16.gif">
106 </property>
107 </product>
108 </extension>
109 <extension
110 point="org.eclipse.ui.preferencePages">
111 <page
112 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
113 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
114 name="Taxonomic">
115 </page>
116 <page
117 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
118 class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
119 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
120 name="Nomenclatural Code">
121 </page>
122 <page
123 class="eu.etaxonomy.taxeditor.preference.CdmPreferences"
124 id="eu.etaxonomy.taxeditor.preferences.cdm"
125 name="CDM Datastore">
126 </page>
127 <page
128 category="eu.etaxonomy.taxeditor.preferences.cdm"
129 class="eu.etaxonomy.taxeditor.preference.InitializeDbPreferences"
130 id="eu.etaxonomy.taxeditor.preferences.initdb"
131 name="Initialize Datastore">
132 </page>
133 <page
134 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
135 id="eu.etaxonomy.taxeditor.preferences.description"
136 name="Description">
137 </page>
138 <page
139 category="eu.etaxonomy.taxeditor.preferences.description"
140 class="eu.etaxonomy.taxeditor.preference.FeaturePreferences"
141 id="eu.etaxonomy.taxeditor.preferences.feature"
142 name="Preferred Features">
143 </page>
144 <page
145 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
146 class="eu.etaxonomy.taxeditor.preference.RankMenuPreferences"
147 id="eu.etaxonomy.taxeditor.preferences.ranks"
148 name="Preferred Ranks">
149 </page>
150 </extension>
151 <!--extension
152 point="org.eclipse.ui.bindings">
153 <key
154 sequence="M1+N"
155 commandId="eu.etaxonomy.taxeditor.actions.opennameeditoractiondef"
156 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
157 </key>
158 </extension-->
159 <extension
160 point="org.eclipse.ui.menus">
161 <menuContribution
162 locationURI="menu:org.eclipse.ui.main.menu">
163 <menu
164 id="org.eclipse.ui.main.menu.file"
165 label="File">
166 <command
167 commandId="eu.etaxonomy.taxeditor.newTaxon"
168 label="Add new taxon"
169 style="push">
170 </command>
171 <separator
172 name="eu.etaxonomy.taxeditor.ui.file.separator1"
173 visible="true">
174 </separator>
175 <command
176 commandId="org.eclipse.ui.file.close"
177 label="Close"
178 style="push">
179 </command>
180 <command
181 commandId="org.eclipse.ui.file.closeAll"
182 label="Close All"
183 style="push">
184 </command>
185 <separator
186 name="eu.etaxonomy.taxeditor.ui.file.separator2"
187 visible="true">
188 </separator>
189 <command
190 commandId="eu.etaxonomy.taxeditor.saveAll"
191 icon="icons/save_edit.gif"
192 label="Save All"
193 style="push">
194 </command>
195 <separator
196 name="eu.etaxonomy.taxeditor.ui.file.separator3"
197 visible="true">
198 </separator>
199 <command
200 commandId="eu.etaxonomy.taxeditor.noCmdYet"
201 label="Import"
202 style="push">
203 </command>
204 <command
205 commandId="eu.etaxonomy.taxeditor.noCmdYet"
206 label="Export"
207 style="push">
208 </command>
209 <separator
210 name="eu.etaxonomy.taxeditor.ui.file.separator4"
211 visible="true">
212 </separator>
213 <command
214 commandId="org.eclipse.ui.file.exit"
215 label="Exit"
216 style="push">
217 </command>
218 </menu>
219 </menuContribution>
220 <menuContribution
221 locationURI="menu:org.eclipse.ui.main.menu">
222 <menu
223 id="org.eclipse.ui.main.menu.edit"
224 label="Edit">
225 <command
226 commandId="org.eclipse.ui.edit.undo"
227 label="Undo">
228 </command>
229 <command
230 commandId="org.eclipse.ui.edit.redo"
231 label="Redo"
232 style="push">
233 </command>
234 <separator
235 name="eu.etaxonomy.taxeditor.ui.edit.separator1"
236 visible="true">
237 </separator>
238 <command
239 commandId="org.eclipse.ui.edit.cut"
240 label="Cut"
241 style="push">
242 </command>
243 <command
244 commandId="org.eclipse.ui.edit.copy"
245 label="Copy"
246 style="push">
247 </command>
248 <command
249 commandId="org.eclipse.ui.edit.paste"
250 label="Paste"
251 style="push">
252 </command>
253 <separator
254 name="eu.etaxonomy.taxeditor.ui.edit.separator2"
255 visible="true">
256 </separator>
257 <command
258 commandId="org.eclipse.ui.edit.delete"
259 label="Delete"
260 style="push">
261 </command>
262 </menu>
263 </menuContribution>
264 <menuContribution
265 locationURI="menu:org.eclipse.ui.main.menu">
266 <menu
267 id="eu.etaxonomy.taxeditor.ui.taxonMenu"
268 label="Taxon">
269 <visibleWhen
270 checkEnabled="true">
271 <reference
272 definitionId="nameEditorActive">
273 </reference>
274 </visibleWhen>
275 <command
276 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
277 label="Create Heterotypic Synonym"
278 style="push">
279 </command>
280 <command
281 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
282 label="Create Homotypic Synonym"
283 style="push">
284 </command>
285 <separator
286 name="separator1"
287 visible="true">
288 </separator>
289 </menu>
290 </menuContribution>
291 <menuContribution
292 locationURI="menu:org.eclipse.ui.main.menu">
293 <menu
294 id="org.eclipse.ui.main.menu.window"
295 label="Window">
296 <command
297 commandId="org.eclipse.ui.window.preferences"
298 label="Preferences"
299 style="push">
300 </command>
301 </menu>
302 </menuContribution>
303 <menuContribution
304 locationURI="menu:org.eclipse.ui.main.menu">
305 <menu
306 id="org.eclipse.ui.main.menu.help"
307 label="Help">
308 <command
309 commandId="org.eclipse.ui.help.helpContents"
310 label="Help Contents"
311 style="push">
312 </command>
313 <separator
314 name="eu.etaxonomy.taxeditor.ui.help.separator1"
315 visible="true">
316 </separator>
317 <command
318 commandId="org.eclipse.ui.update.findAndInstallUpdates"
319 label="Software Updates..."
320 style="push">
321 </command>
322 <separator
323 name="eu.etaxonomy.taxeditor.ui.help.separator2"
324 visible="true">
325 </separator>
326 <command
327 commandId="org.eclipse.ui.help.aboutAction"
328 label="About Taxonomic Editor">
329 </command>
330 </menu>
331 </menuContribution>
332 <menuContribution
333 locationURI="popup:eu.etaxonomy.taxeditor.navigation.taxonomictreeview">
334 <command
335 commandId="eu.etaxonomy.taxeditor.ui.openTaxon"
336 label="Edit Taxon"
337 style="push">
338 </command>
339 <command
340 commandId="eu.etaxonomy.taxeditor.ui.addTaxon"
341 label="Create Child Taxon"
342 style="push">
343 </command>
344 <command
345 commandId="eu.etaxonomy.taxeditor.command22"
346 label="Add child taxon with quick name"
347 style="push">
348 </command>
349 <separator
350 name="separator1"
351 visible="true">
352 </separator>
353 <command
354 commandId="eu.etaxonomy.taxeditor.ui.deleteTaxon"
355 label="Delete Taxon from Tree"
356 style="push">
357 </command>
358 </menuContribution>
359 <menuContribution
360 locationURI="popup:org.eclipse.ui.popup.any">
361 <command
362 commandId="org.eclipse.ui.file.exit"
363 label="Test"
364 style="push">
365 </command>
366 </menuContribution>
367 </extension>
368 <extension
369 point="org.eclipse.ui.commands">
370 <command
371 categoryId="org.eclipse.ui.category.file"
372 defaultHandler="eu.etaxonomy.taxeditor.handlers.NewTaxonHandler"
373 id="eu.etaxonomy.taxeditor.newTaxon"
374 name="New Taxon">
375 </command>
376 <command
377 defaultHandler="eu.etaxonomy.taxeditor.handlers.OpenTaxonHandler"
378 id="eu.etaxonomy.taxeditor.ui.openTaxon"
379 name="Open Taxon">
380 </command>
381 <command
382 defaultHandler="eu.etaxonomy.taxeditor.handlers.DeleteTaxonHandler"
383 id="eu.etaxonomy.taxeditor.ui.deleteTaxon"
384 name="Delete Taxon">
385 </command>
386 <command
387 defaultHandler="eu.etaxonomy.taxeditor.handlers.AddTaxonomicChildHandler"
388 id="eu.etaxonomy.taxeditor.ui.addTaxon"
389 name="Add Taxon">
390 </command>
391 <command
392 categoryId="org.eclipse.ui.category.file"
393 defaultHandler="eu.etaxonomy.taxeditor.handlers.SaveAllHandler"
394 id="eu.etaxonomy.taxeditor.saveAll"
395 name="Save All">
396 </command>
397 <category
398 description="Name editor commands"
399 id="eu.etaxonomy.taxeditor.editor.name.category"
400 name="Name editor">
401 </category>
402 <command
403 categoryId="eu.etaxonomy.taxeditor.editor.name.category"
404 defaultHandler="eu.etaxonomy.taxeditor.handlers.CreateHeterotypicSynonymHandler"
405 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
406 name="Create Heterotypic Synonym">
407 </command>
408 <command
409 categoryId="eu.etaxonomy.taxeditor.editor.name.category"
410 defaultHandler="eu.etaxonomy.taxeditor.handlers.CreateHomotypicSynonymHandler"
411 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
412 name="Create Homotypic Synonym">
413 </command>
414 </extension>
415 <extension
416 point="org.eclipse.ui.handlers">
417 <handler
418 class="eu.etaxonomy.taxeditor.handlers.OpenTaxonHandler"
419 commandId="eu.etaxonomy.taxeditor.ui.open">
420 </handler>
421 </extension>
422 <extension
423 point="org.eclipse.core.expressions.definitions">
424 <definition
425 id="nameEditorActive">
426 <with
427 variable="activeEditorId">
428 <equals
429 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
430 </equals>
431 </with>
432 </definition>
433 </extension>
434 <!--extension
435 point="org.eclipse.ui.commands">
436 <command
437 id="eu.etaxonomy.taxeditor.actions.opennameeditoractiondef"
438 name="name">
439 </command>
440 </extension>
441 <extension
442 point="org.eclipse.ui.handlers">
443 <handler
444 commandId="eu.etaxonomy.taxeditor.handler1">
445 </handler>
446 </extension>
447 <extension
448 point="org.eclipse.ui.newWizards">
449 </extension-->
450 </plugin>