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