(no commit message)
[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 </editor>
81 <editor
82 class="eu.etaxonomy.taxeditor.editor.EmptyEditorView"
83 icon="icons/edit_16x16.gif"
84 id="eu.etaxonomy.taxeditor.view.EmptyEditorView"
85 name="New EditorPart">
86 </editor>
87 </extension>
88 <extension
89 id="eu.etaxonomy.taxeditor.product"
90 name="Taxonomic Editor"
91 point="org.eclipse.core.runtime.products">
92 <product
93 application="eu.etaxonomy.taxeditor.application"
94 description="Taxonomic Editor"
95 name="EDIT Taxonomic Editor">
96 <property
97 name="appName"
98 value="EDIT Taxonomic Editor">
99 </property>
100 <property
101 name="aboutImage"
102 value="icons/edit_16x16.gif">
103 </property>
104 <property
105 name="aboutText"
106 value="Thanks for all the laughs!">
107 </property>
108 <property
109 name="windowImages"
110 value="icons/edit_16x16.gif">
111 </property>
112 </product>
113 </extension>
114 <extension
115 point="org.eclipse.ui.preferencePages">
116 <page
117 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
118 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
119 name="Taxonomic">
120 </page>
121 <page
122 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
123 class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
124 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
125 name="Nomenclatural Code">
126 </page>
127 <page
128 class="eu.etaxonomy.taxeditor.preference.CdmPreferences"
129 id="eu.etaxonomy.taxeditor.preferences.cdm"
130 name="CDM Datastore">
131 </page>
132 <page
133 category="eu.etaxonomy.taxeditor.preferences.cdm"
134 class="eu.etaxonomy.taxeditor.preference.InitializeDbPreferences"
135 id="eu.etaxonomy.taxeditor.preferences.initdb"
136 name="Initialize Datastore">
137 </page>
138 <page
139 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
140 id="eu.etaxonomy.taxeditor.preferences.description"
141 name="Description">
142 </page>
143 <page
144 category="eu.etaxonomy.taxeditor.preferences.description"
145 class="eu.etaxonomy.taxeditor.preference.FeaturePreferences"
146 id="eu.etaxonomy.taxeditor.preferences.feature"
147 name="Preferred Features">
148 </page>
149 <page
150 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
151 class="eu.etaxonomy.taxeditor.preference.RankMenuPreferences"
152 id="eu.etaxonomy.taxeditor.preferences.ranks"
153 name="Preferred Ranks">
154 </page>
155 </extension>
156 <!--extension
157 point="org.eclipse.ui.bindings">
158 <key
159 sequence="M1+N"
160 commandId="eu.etaxonomy.taxeditor.actions.opennameeditoractiondef"
161 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
162 </key>
163 </extension-->
164 <extension
165 point="org.eclipse.ui.menus">
166 <menuContribution
167 locationURI="menu:org.eclipse.ui.main.menu">
168 <menu
169 id="org.eclipse.ui.main.menu.file"
170 label="File">
171 <command
172 commandId="eu.etaxonomy.taxeditor.newTaxon"
173 label="Add new taxon"
174 style="push">
175 </command>
176 <separator
177 name="eu.etaxonomy.taxeditor.ui.file.separator1"
178 visible="true">
179 </separator>
180 <command
181 commandId="org.eclipse.ui.file.close"
182 label="Close"
183 style="push">
184 </command>
185 <command
186 commandId="org.eclipse.ui.file.closeAll"
187 label="Close All"
188 style="push">
189 </command>
190 <separator
191 name="eu.etaxonomy.taxeditor.ui.file.separator2"
192 visible="true">
193 </separator>
194 <command
195 commandId="eu.etaxonomy.taxeditor.saveAll"
196 icon="icons/save_edit.gif"
197 label="Save All"
198 style="push">
199 </command>
200 <separator
201 name="eu.etaxonomy.taxeditor.ui.file.separator3"
202 visible="true">
203 </separator>
204 <command
205 commandId="eu.etaxonomy.taxeditor.noCmdYet"
206 label="Import"
207 style="push">
208 </command>
209 <command
210 commandId="eu.etaxonomy.taxeditor.noCmdYet"
211 label="Export"
212 style="push">
213 </command>
214 <separator
215 name="eu.etaxonomy.taxeditor.ui.file.separator4"
216 visible="false">
217 </separator>
218 <command
219 commandId="org.eclipse.ui.file.exit"
220 label="Exit"
221 style="push">
222 </command>
223 </menu>
224 </menuContribution>
225 <menuContribution
226 locationURI="menu:org.eclipse.ui.main.menu">
227 <menu
228 id="org.eclipse.ui.main.menu.edit"
229 label="Edit">
230 <command
231 commandId="org.eclipse.ui.edit.undo"
232 label="Undo">
233 </command>
234 <command
235 commandId="org.eclipse.ui.edit.redo"
236 label="Redo"
237 style="push">
238 </command>
239 <separator
240 name="eu.etaxonomy.taxeditor.ui.edit.separator1"
241 visible="true">
242 </separator>
243 <command
244 commandId="org.eclipse.ui.edit.cut"
245 label="Cut"
246 style="push">
247 </command>
248 <command
249 commandId="org.eclipse.ui.edit.copy"
250 label="Copy"
251 style="push">
252 </command>
253 <command
254 commandId="org.eclipse.ui.edit.paste"
255 label="Paste"
256 style="push">
257 </command>
258 <separator
259 name="eu.etaxonomy.taxeditor.ui.edit.separator2"
260 visible="true">
261 </separator>
262 <command
263 commandId="org.eclipse.ui.edit.delete"
264 label="Delete"
265 style="push">
266 </command>
267 </menu>
268 </menuContribution>
269 <menuContribution
270 locationURI="menu:org.eclipse.ui.main.menu">
271 <menu
272 id="eu.etaxonomy.taxeditor.ui.taxonMenu"
273 label="Taxon">
274 <visibleWhen
275 checkEnabled="true">
276 <reference
277 definitionId="nameEditorActive_CURRENTLY_DISABLED">
278 </reference>
279 </visibleWhen>
280 <command
281 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
282 label="Create Heterotypic Synonym"
283 style="push">
284 </command>
285 <command
286 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
287 label="Create Homotypic Synonym"
288 style="push">
289 </command>
290 <separator
291 name="separator1"
292 visible="true">
293 </separator>
294 </menu>
295 </menuContribution>
296 <menuContribution
297 locationURI="menu:org.eclipse.ui.main.menu">
298 <menu
299 id="org.eclipse.ui.main.menu.window"
300 label="Window">
301 <command
302 commandId="org.eclipse.ui.window.preferences"
303 label="Preferences"
304 style="push">
305 </command>
306 </menu>
307 </menuContribution>
308 <menuContribution
309 locationURI="menu:org.eclipse.ui.main.menu">
310 <menu
311 id="org.eclipse.ui.main.menu.help"
312 label="Help">
313 <command
314 commandId="org.eclipse.ui.help.helpContents"
315 label="Help Contents"
316 style="push">
317 </command>
318 <separator
319 name="eu.etaxonomy.taxeditor.ui.help.separator1"
320 visible="true">
321 </separator>
322 <command
323 commandId="org.eclipse.ui.update.findAndInstallUpdates"
324 label="Software Updates..."
325 style="push">
326 </command>
327 <separator
328 name="eu.etaxonomy.taxeditor.ui.help.separator2"
329 visible="true">
330 </separator>
331 <command
332 commandId="org.eclipse.ui.help.aboutAction"
333 label="About Taxonomic Editor">
334 </command>
335 </menu>
336 </menuContribution>
337 <menuContribution
338 locationURI="popup:eu.etaxonomy.taxeditor.navigation.taxonomictreeview">
339 <command
340 commandId="eu.etaxonomy.taxeditor.ui.openTaxon"
341 label="Edit Taxon"
342 style="push">
343 </command>
344 <command
345 commandId="eu.etaxonomy.taxeditor.ui.addTaxon"
346 label="Create Child Taxon"
347 style="push">
348 </command>
349 <command
350 commandId="eu.etaxonomy.taxeditor.command22"
351 label="Add child taxon with quick name"
352 style="push">
353 </command>
354 <separator
355 name="separator1"
356 visible="true">
357 </separator>
358 <command
359 commandId="eu.etaxonomy.taxeditor.ui.deleteTaxon"
360 label="Delete Taxon from Tree"
361 style="push">
362 </command>
363 </menuContribution>
364 <menuContribution
365 locationURI="popup:eu.etaxonomy.taxeditor.editor.multipagetaxonview">
366 <command
367 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
368 label="Create Heterotypic Synonym"
369 style="push">
370 </command>
371 <command
372 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
373 label="Create Homotypic Synonym"
374 style="push">
375 </command>
376 <separator
377 name="eu.etaxonomy.taxeditor.separator1"
378 visible="true">
379 </separator>
380 <command
381 commandId="eu.etaxonomy.taxeditor.editor.name.createMisappliedName"
382 label="Create Misapplied Name"
383 style="push">
384 </command>
385 <menu
386 id="eu.etaxonomy.taxeditor.ui.conceptRelations"
387 label="Create Concept Relation">
388 <command
389 commandId="eu.etaxonomy.taxeditor.command9"
390 label="test"
391 style="push">
392 </command>
393 </menu>
394 <separator
395 name="eu.etaxonomy.taxeditor.separator2"
396 visible="true">
397 </separator>
398 <command
399 commandId="eu.etaxonomy.taxeditor.moveTaxon"
400 label="Move"
401 style="push">
402 </command>
403 <command
404 commandId="eu.etaxonomy.taxeditor.editor.swapTaxonSynonym"
405 label="Change"
406 style="push">
407 </command>
408 <separator
409 name="eu.etaxonomy.taxeditor.separator3"
410 visible="true">
411 </separator>
412 <command
413 commandId="eu.etaxonomy.taxeditor.ui.addTaxon"
414 label="Create Child Taxon"
415 style="push">
416 </command>
417 </menuContribution>
418 <menuContribution
419 locationURI="popup:org.eclipse.ui.popup.any">
420 <menu
421 id="eu.etaxonomy.taxeditor.editor.name.menu"
422 label="Taxon Context Menu">
423 </menu>
424 </menuContribution>
425 </extension>
426 <extension
427 point="org.eclipse.ui.commands">
428 <command
429 categoryId="org.eclipse.ui.category.file"
430 defaultHandler="eu.etaxonomy.taxeditor.handlers.NewTaxonHandler"
431 id="eu.etaxonomy.taxeditor.newTaxon"
432 name="New Taxon">
433 </command>
434 <command
435 defaultHandler="eu.etaxonomy.taxeditor.handlers.OpenTaxonHandler"
436 id="eu.etaxonomy.taxeditor.ui.openTaxon"
437 name="Open Taxon">
438 </command>
439 <command
440 defaultHandler="eu.etaxonomy.taxeditor.handlers.DeleteTaxonHandler"
441 id="eu.etaxonomy.taxeditor.ui.deleteTaxon"
442 name="Delete Taxon">
443 </command>
444 <command
445 defaultHandler="eu.etaxonomy.taxeditor.handlers.AddTaxonomicChildHandler"
446 id="eu.etaxonomy.taxeditor.ui.addTaxon"
447 name="Add Taxon">
448 </command>
449 <command
450 categoryId="org.eclipse.ui.category.file"
451 defaultHandler="eu.etaxonomy.taxeditor.handlers.SaveAllHandler"
452 id="eu.etaxonomy.taxeditor.saveAll"
453 name="Save All">
454 </command>
455 <category
456 description="Name editor commands"
457 id="eu.etaxonomy.taxeditor.editor.name.category"
458 name="Name editor">
459 </category>
460 <command
461 categoryId="eu.etaxonomy.taxeditor.editor.name.category"
462 defaultHandler="eu.etaxonomy.taxeditor.handlers.CreateHeterotypicSynonymHandler"
463 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
464 name="Create Heterotypic Synonym">
465 </command>
466 <command
467 categoryId="eu.etaxonomy.taxeditor.editor.name.category"
468 defaultHandler="eu.etaxonomy.taxeditor.handlers.CreateHomotypicSynonymHandler"
469 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
470 name="Create Homotypic Synonym">
471 </command>
472 <command
473 defaultHandler="eu.etaxonomy.taxeditor.handlers.CreateMisappliedNameHandler"
474 id="eu.etaxonomy.taxeditor.editor.name.createMisappliedName"
475 name="Create Misapplied Name">
476 </command>
477 <command
478 defaultHandler="eu.etaxonomy.taxeditor.handlers.MoveTaxonHandler"
479 id="eu.etaxonomy.taxeditor.moveTaxon"
480 name="Move Taxon">
481 </command>
482 <command
483 defaultHandler="eu.etaxonomy.taxeditor.handlers.SwapTaxonSynonymHandler"
484 id="eu.etaxonomy.taxeditor.editor.swapTaxonSynonym"
485 name="Swap Taxon Synonym">
486 </command>
487 </extension>
488 <extension
489 point="org.eclipse.ui.handlers">
490 <handler
491 class="eu.etaxonomy.taxeditor.handlers.OpenTaxonHandler"
492 commandId="eu.etaxonomy.taxeditor.ui.open">
493 </handler>
494 </extension>
495 <extension
496 point="org.eclipse.core.expressions.definitions">
497 <definition
498 id="nameEditorActive">
499 <with
500 variable="activeEditorId">
501 <equals
502 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
503 </equals>
504 </with>
505 </definition>
506 </extension>
507 <extension
508 id="TaxEditorProduct"
509 point="org.eclipse.core.runtime.products">
510 <product
511 application="eu.etaxonomy.taxeditor.application"
512 name="%productName">
513 <property
514 name="windowImages"
515 value="icons/edit_16x16.gif">
516 </property>
517 <property
518 name="aboutText"
519 value="%productBlurb">
520 </property>
521 <property
522 name="startupForegroundColor"
523 value="C8D5EA">
524 </property>
525 <property
526 name="startupProgressRect"
527 value="0,280,455,15">
528 </property>
529 <property
530 name="startupMessageRect"
531 value="7,220,441,20">
532 </property>
533 <property
534 name="preferenceCustomization"
535 value="plugin_customization.ini">
536 </property>
537 <property
538 name="appName"
539 value="%productName">
540 </property>
541 </product>
542 </extension>
543 <extension
544 id="product"
545 point="org.eclipse.core.runtime.products">
546 <product
547 application="eu.etaxonomy.taxeditor.application"
548 name="%productName">
549 <property
550 name="windowImages"
551 value="icons/edit_16x16.gif">
552 </property>
553 <property
554 name="aboutText"
555 value="%productBlurb">
556 </property>
557 <property
558 name="startupForegroundColor"
559 value="C8D5EA">
560 </property>
561 <property
562 name="startupProgressRect"
563 value="0,280,455,15">
564 </property>
565 <property
566 name="startupMessageRect"
567 value="7,220,441,20">
568 </property>
569 <property
570 name="preferenceCustomization"
571 value="plugin_customization.ini">
572 </property>
573 </product>
574 </extension>
575 <extension
576 point="org.eclipse.ui.bindings">
577 <key
578 commandId="eu.etaxonomy.taxeditor.saveAll"
579 contextId="org.eclipse.ui.contexts.dialogAndWindow"
580 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
581 sequence="Ctrl+S">
582 </key>
583 </extension>
584 <extension
585 point="org.eclipse.ui.actionSets">
586 <actionSet
587 id="org.eclipse.ui.main.menu.file"
588 label="File Menu Actions"
589 visible="true">
590 <action
591 definitionId="eu.etaxonomy.taxeditor.saveAll"
592 id="eu.etaxonomy.taxeditor.action.saveAll"
593 label="Save All"
594 style="push">
595 </action>
596 </actionSet>
597 </extension>
598 <!--extension
599 point="org.eclipse.ui.commands">
600 <command
601 id="eu.etaxonomy.taxeditor.actions.opennameeditoractiondef"
602 name="name">
603 </command>
604 </extension>
605 <extension
606 point="org.eclipse.ui.handlers">
607 <handler
608 commandId="eu.etaxonomy.taxeditor.handler1">
609 </handler>
610 </extension>
611 <extension
612 point="org.eclipse.ui.newWizards">
613 </extension-->
614 </plugin>