1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<?eclipse version="3.2"?>
|
3
|
<plugin>
|
4
|
<extension
|
5
|
id="application"
|
6
|
point="org.eclipse.core.runtime.applications">
|
7
|
<application>
|
8
|
<run
|
9
|
class="eu.etaxonomy.taxeditor.editor.Application">
|
10
|
</run>
|
11
|
</application>
|
12
|
</extension>
|
13
|
<extension
|
14
|
point="org.eclipse.core.runtime.adapters">
|
15
|
<factory
|
16
|
adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
|
17
|
class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
|
18
|
<adapter
|
19
|
type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
|
20
|
</adapter>
|
21
|
</factory>
|
22
|
</extension>
|
23
|
<extension
|
24
|
point="org.eclipse.ui.editors">
|
25
|
<editor
|
26
|
class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
|
27
|
icon="icons/edit_16x16.gif"
|
28
|
id="eu.etaxonomy.taxeditor.editor.multipagetaxonview"
|
29
|
name="Multitabbed Taxon Editor">
|
30
|
</editor>
|
31
|
<editor
|
32
|
class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
|
33
|
default="true"
|
34
|
id="eu.etaxonomy.taxeditor.taxonNameEditor"
|
35
|
name="Taxon Name Editor">
|
36
|
</editor>
|
37
|
<editor
|
38
|
class="eu.etaxonomy.taxeditor.editor.descriptiontree.TaxonDescriptionTreeEditor"
|
39
|
default="false"
|
40
|
id="eu.etaxonomy.taxeditor.descriptiontreeeditor"
|
41
|
name="Taxon Description Editor">
|
42
|
</editor>
|
43
|
</extension>
|
44
|
<extension
|
45
|
point="org.eclipse.ui.views">
|
46
|
<view
|
47
|
allowMultiple="false"
|
48
|
class="eu.etaxonomy.taxeditor.editor.view.detail.DetailsViewPart"
|
49
|
icon="icons/accessories-text-editor.png"
|
50
|
id="eu.etaxonomy.taxeditor.editor.forms.detailsView"
|
51
|
name="Details"
|
52
|
restorable="true">
|
53
|
</view>
|
54
|
<view
|
55
|
allowMultiple="false"
|
56
|
class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
|
57
|
icon="icons/address-book-new.png"
|
58
|
id="eu.etaxonomy.taxeditor.editor.view.description"
|
59
|
name="Descriptive"
|
60
|
restorable="true">
|
61
|
</view>
|
62
|
<view
|
63
|
allowMultiple="false"
|
64
|
class="eu.etaxonomy.taxeditor.editor.view.supplementaldata.SupplementalDataViewPart"
|
65
|
icon="icons/applications-office.png"
|
66
|
id="eu.etaxonomy.taxeditor.editor.view.supplementalData"
|
67
|
name="Supplemental Data"
|
68
|
restorable="true">
|
69
|
</view>
|
70
|
<view
|
71
|
allowMultiple="false"
|
72
|
class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
|
73
|
icon="icons/camera-photo.png"
|
74
|
id="eu.etaxonomy.taxeditor.editor.view.media"
|
75
|
name="Media"
|
76
|
restorable="true">
|
77
|
</view>
|
78
|
</extension>
|
79
|
<extension
|
80
|
point="org.eclipse.ui.perspectiveExtensions">
|
81
|
<perspectiveExtension
|
82
|
targetID="eu.etaxonomy.taxeditor.application.perspective">
|
83
|
<view
|
84
|
id="eu.etaxonomy.taxeditor.editor.forms.detailsView"
|
85
|
ratio="0.7"
|
86
|
relationship="right"
|
87
|
relative="org.eclipse.ui.editorss">
|
88
|
</view>
|
89
|
<view
|
90
|
id="eu.etaxonomy.taxeditor.editor.view.description"
|
91
|
relationship="bottom"
|
92
|
relative="org.eclipse.ui.editorss">
|
93
|
</view>
|
94
|
<view
|
95
|
id="eu.etaxonomy.taxeditor.editor.view.media"
|
96
|
relationship="bottom"
|
97
|
relative="org.eclipse.ui.editorss">
|
98
|
</view>
|
99
|
<view
|
100
|
id="eu.etaxonomy.taxeditor.editor.view.supplementalData"
|
101
|
relationship="bottom"
|
102
|
relative="eu.etaxonomy.taxeditor.editor.forms.detailsView">
|
103
|
</view>
|
104
|
</perspectiveExtension>
|
105
|
</extension>
|
106
|
<extension
|
107
|
point="org.eclipse.ui.elementFactories">
|
108
|
<factory
|
109
|
class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
|
110
|
id="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory">
|
111
|
</factory>
|
112
|
</extension>
|
113
|
<extension
|
114
|
point="org.eclipse.ui.menus">
|
115
|
<menuContribution
|
116
|
locationURI="menu:eu.etaxonomy.taxeditor.menu.showView">
|
117
|
<command
|
118
|
commandId="eu.etaxonomy.taxeditor.editor.commands.showDetailsView"
|
119
|
label="Details"
|
120
|
style="push">
|
121
|
</command>
|
122
|
<command
|
123
|
commandId="eu.etaxonomy.taxeditor.editor.commands.showTaxonDescriptions"
|
124
|
label="Descriptive"
|
125
|
style="push">
|
126
|
</command>
|
127
|
<command
|
128
|
commandId="eu.etaxonomy.taxeditor.editor.commands.showSupplementalDataView"
|
129
|
label="Supplemental"
|
130
|
style="push">
|
131
|
</command>
|
132
|
<command
|
133
|
commandId="eu.etaxonomy.taxeditor.editor.commands.showMedia"
|
134
|
label="Media"
|
135
|
style="push">
|
136
|
</command>
|
137
|
</menuContribution>
|
138
|
</extension>
|
139
|
<extension
|
140
|
point="org.eclipse.ui.commands">
|
141
|
<command
|
142
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowDetailsViewHandler"
|
143
|
id="eu.etaxonomy.taxeditor.editor.commands.showDetailsView"
|
144
|
name="Show Details">
|
145
|
</command>
|
146
|
<command
|
147
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTaxonDescriptionsViewHandler"
|
148
|
id="eu.etaxonomy.taxeditor.editor.commands.showTaxonDescriptions"
|
149
|
name="Show Taxon Descriptions">
|
150
|
</command>
|
151
|
<command
|
152
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowSupplementalDataViewHandler"
|
153
|
id="eu.etaxonomy.taxeditor.editor.commands.showSupplementalDataView"
|
154
|
name="Show Suplemental Data">
|
155
|
</command>
|
156
|
<command
|
157
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowMediaViewHandler"
|
158
|
id="eu.etaxonomy.taxeditor.editor.commands.showMedia"
|
159
|
name="Show Media">
|
160
|
</command>
|
161
|
</extension>
|
162
|
<extension
|
163
|
point="org.eclipse.ui.menus">
|
164
|
<menuContribution
|
165
|
locationURI="menu:org.eclipse.ui.main.menu.navigate">
|
166
|
<command
|
167
|
commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
|
168
|
label="Open Parent"
|
169
|
style="push">
|
170
|
</command>
|
171
|
</menuContribution>
|
172
|
</extension>
|
173
|
<extension
|
174
|
point="org.eclipse.ui.commands">
|
175
|
<command
|
176
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
|
177
|
id="eu.etaxonomy.taxeditor.editor.command.openParent"
|
178
|
name="Open Parent">
|
179
|
</command>
|
180
|
</extension>
|
181
|
<extension
|
182
|
point="org.eclipse.ui.menus">
|
183
|
<menuContribution
|
184
|
locationURI="popup:eu.etaxonomy.taxeditor.taxonNameEditor">
|
185
|
<menu
|
186
|
label="New">
|
187
|
<command
|
188
|
commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
|
189
|
label="Heterotypic Synonym"
|
190
|
style="push">
|
191
|
<visibleWhen>
|
192
|
<reference
|
193
|
definitionId="isAcceptedTaxon">
|
194
|
</reference>
|
195
|
</visibleWhen>
|
196
|
</command>
|
197
|
<command
|
198
|
commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
|
199
|
label="Homotypic Synonym"
|
200
|
style="push">
|
201
|
<visibleWhen>
|
202
|
<reference
|
203
|
definitionId="isAcceptedTaxon">
|
204
|
</reference>
|
205
|
</visibleWhen>
|
206
|
</command>
|
207
|
<command
|
208
|
commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
|
209
|
label="Synonym In Homotypical Group"
|
210
|
style="push">
|
211
|
<visibleWhen>
|
212
|
<reference
|
213
|
definitionId="isSynonym">
|
214
|
</reference>
|
215
|
</visibleWhen>
|
216
|
</command>
|
217
|
<separator
|
218
|
name="separator1"
|
219
|
visible="true">
|
220
|
</separator>
|
221
|
<menu
|
222
|
label="Concept Relation">
|
223
|
<visibleWhen>
|
224
|
<or>
|
225
|
<reference
|
226
|
definitionId="isAcceptedTaxon">
|
227
|
</reference>
|
228
|
<reference
|
229
|
definitionId="isConceptRelation">
|
230
|
</reference>
|
231
|
</or>
|
232
|
</visibleWhen>
|
233
|
<dynamic
|
234
|
class="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationMenu"
|
235
|
id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
|
236
|
</dynamic>
|
237
|
</menu>
|
238
|
<command
|
239
|
commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
|
240
|
label="Misapplication"
|
241
|
style="push">
|
242
|
<visibleWhen>
|
243
|
<or>
|
244
|
<reference
|
245
|
definitionId="isAcceptedTaxon">
|
246
|
</reference>
|
247
|
<reference
|
248
|
definitionId="isMisapplication">
|
249
|
</reference>
|
250
|
</or>
|
251
|
</visibleWhen>
|
252
|
</command>
|
253
|
</menu>
|
254
|
<command
|
255
|
commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
|
256
|
label="Change Accepted Taxon to Synonym"
|
257
|
style="push">
|
258
|
<visibleWhen>
|
259
|
<reference
|
260
|
definitionId="isAcceptedTaxon">
|
261
|
</reference>
|
262
|
</visibleWhen>
|
263
|
</command>
|
264
|
<menu
|
265
|
label="Change To">
|
266
|
<command
|
267
|
commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
|
268
|
label="Accepted Taxon"
|
269
|
style="push">
|
270
|
<visibleWhen>
|
271
|
<not>
|
272
|
<or>
|
273
|
<reference
|
274
|
definitionId="isAcceptedTaxon">
|
275
|
</reference>
|
276
|
<reference
|
277
|
definitionId="isConceptRelation">
|
278
|
</reference>
|
279
|
<reference
|
280
|
definitionId="isMisapplication">
|
281
|
</reference>
|
282
|
</or>
|
283
|
</not>
|
284
|
</visibleWhen>
|
285
|
</command>
|
286
|
<command
|
287
|
commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
|
288
|
label="Synonym"
|
289
|
style="push">
|
290
|
<visibleWhen>
|
291
|
<not>
|
292
|
<or>
|
293
|
<reference
|
294
|
definitionId="isAcceptedTaxon">
|
295
|
</reference>
|
296
|
<reference
|
297
|
definitionId="isSynonym">
|
298
|
</reference>
|
299
|
</or>
|
300
|
</not>
|
301
|
</visibleWhen>
|
302
|
</command>
|
303
|
<menu
|
304
|
label="Concept Relation">
|
305
|
<visibleWhen>
|
306
|
<not>
|
307
|
<or>
|
308
|
<reference
|
309
|
definitionId="isAcceptedTaxon">
|
310
|
</reference>
|
311
|
<reference
|
312
|
definitionId="isConceptRelation">
|
313
|
</reference>
|
314
|
</or>
|
315
|
</not>
|
316
|
</visibleWhen>
|
317
|
<dynamic
|
318
|
class="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationMenu"
|
319
|
id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
|
320
|
</dynamic>
|
321
|
</menu>
|
322
|
<command
|
323
|
commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
|
324
|
label="Misapplication"
|
325
|
style="push">
|
326
|
<visibleWhen>
|
327
|
<not>
|
328
|
<or>
|
329
|
<reference
|
330
|
definitionId="isAcceptedTaxon">
|
331
|
</reference>
|
332
|
<reference
|
333
|
definitionId="isMisapplication">
|
334
|
</reference>
|
335
|
</or>
|
336
|
</not>
|
337
|
</visibleWhen>
|
338
|
</command>
|
339
|
</menu>
|
340
|
<menu
|
341
|
label="Change Relation Type">
|
342
|
<visibleWhen>
|
343
|
<reference
|
344
|
definitionId="isConceptRelation">
|
345
|
</reference>
|
346
|
</visibleWhen>
|
347
|
<dynamic
|
348
|
class="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeMenu"
|
349
|
id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
|
350
|
</dynamic>
|
351
|
</menu>
|
352
|
<separator
|
353
|
name="taxeditor-editor.separator1"
|
354
|
visible="true">
|
355
|
</separator>
|
356
|
<command
|
357
|
commandId="org.eclipse.ui.edit.delete"
|
358
|
label="Delete"
|
359
|
style="push">
|
360
|
<visibleWhen>
|
361
|
<or>
|
362
|
<reference
|
363
|
definitionId="isSynonym">
|
364
|
</reference>
|
365
|
<reference
|
366
|
definitionId="isMisapplication">
|
367
|
</reference>
|
368
|
<reference
|
369
|
definitionId="isConceptRelation">
|
370
|
</reference>
|
371
|
</or>
|
372
|
</visibleWhen>
|
373
|
</command>
|
374
|
<separator
|
375
|
name="taxeditor-editor.separator2"
|
376
|
visible="true">
|
377
|
</separator>
|
378
|
<dynamic
|
379
|
class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
|
380
|
id="taxeditor-editor.dynamic.setBasionym">
|
381
|
<visibleWhen>
|
382
|
<or>
|
383
|
<reference
|
384
|
definitionId="isAcceptedTaxon">
|
385
|
</reference>
|
386
|
<reference
|
387
|
definitionId="isSynonym">
|
388
|
</reference>
|
389
|
</or>
|
390
|
</visibleWhen>
|
391
|
</dynamic>
|
392
|
<command
|
393
|
commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
|
394
|
label="Swap Synonym With Accepted"
|
395
|
style="push">
|
396
|
<visibleWhen>
|
397
|
<reference
|
398
|
definitionId="isSynonym">
|
399
|
</reference>
|
400
|
</visibleWhen>
|
401
|
</command>
|
402
|
<separator
|
403
|
name="taxeditor-editor.separator3"
|
404
|
visible="true">
|
405
|
</separator>
|
406
|
<command
|
407
|
commandId="eu.etaxonomy.taxeditor.editor.commands.showDetailsView"
|
408
|
label="Show Details"
|
409
|
style="push">
|
410
|
</command>
|
411
|
<separator
|
412
|
name="taxeditor-editor.separator4"
|
413
|
visible="true">
|
414
|
</separator>
|
415
|
<command
|
416
|
commandId="org.eclipse.ui.file.save"
|
417
|
label="Save"
|
418
|
style="push">
|
419
|
</command>
|
420
|
</menuContribution>
|
421
|
</extension>
|
422
|
<extension
|
423
|
point="org.eclipse.ui.handlers">
|
424
|
<handler
|
425
|
class="org.eclipse.ui.internal.handlers.NewEditorHandler"
|
426
|
commandId="org.eclipse.ui.window.newEditor">
|
427
|
<activeWhen>
|
428
|
<not>
|
429
|
<instanceof
|
430
|
value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
|
431
|
</instanceof>
|
432
|
</not>
|
433
|
</activeWhen>
|
434
|
<enabledWhen>
|
435
|
<count
|
436
|
value="-1">
|
437
|
</count>
|
438
|
</enabledWhen>
|
439
|
</handler>
|
440
|
<handler
|
441
|
class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
|
442
|
commandId="org.eclipse.ui.edit.delete">
|
443
|
<activeWhen>
|
444
|
<and>
|
445
|
<not>
|
446
|
<reference
|
447
|
definitionId="isAcceptedTaxon">
|
448
|
</reference>
|
449
|
</not>
|
450
|
<reference
|
451
|
definitionId="isTaxonBase">
|
452
|
</reference>
|
453
|
</and>
|
454
|
</activeWhen>
|
455
|
</handler>
|
456
|
<!--handler
|
457
|
class="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
|
458
|
commandId="org.eclipse.ui.file.save">
|
459
|
</handler>
|
460
|
<handler
|
461
|
class="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
|
462
|
commandId="org.eclipse.ui.file.saveAll">
|
463
|
</handler-->
|
464
|
</extension>
|
465
|
<extension
|
466
|
name="File Menu Commands"
|
467
|
point="org.eclipse.ui.commands">
|
468
|
<command
|
469
|
categoryId="org.eclipse.ui.category.file"
|
470
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditNewTaxonHandler"
|
471
|
id="eu.etaxonomy.taxeditor.editor.newTaxon"
|
472
|
name="New Taxon">
|
473
|
</command>
|
474
|
<!--command
|
475
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
|
476
|
id="eu.etaxonomy.taxeditor.editor.saveTaxon"
|
477
|
name="Save">
|
478
|
</command>
|
479
|
<command
|
480
|
categoryId="org.eclipse.ui.category.file"
|
481
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
|
482
|
id="eu.etaxonomy.taxeditor.editor.saveAll"
|
483
|
name="Save All">
|
484
|
</command-->
|
485
|
</extension>
|
486
|
<extension
|
487
|
name="Name Commands"
|
488
|
point="org.eclipse.ui.commands">
|
489
|
<category
|
490
|
id="eu.etaxonomy.taxeditor.editor.synonymCategory"
|
491
|
name="Synonym Category">
|
492
|
</category>
|
493
|
<command
|
494
|
categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
|
495
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
|
496
|
id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
|
497
|
name="Create Homotypic Synonym">
|
498
|
</command>
|
499
|
<command
|
500
|
categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
|
501
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
|
502
|
id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
|
503
|
name="Create Heterotypic Synonym">
|
504
|
</command>
|
505
|
<command
|
506
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
|
507
|
id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
|
508
|
name="Create Synonym In Homotypical Group">
|
509
|
</command>
|
510
|
<command
|
511
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationHandler"
|
512
|
id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
|
513
|
name="Create Concept Relation">
|
514
|
</command>
|
515
|
<command
|
516
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
|
517
|
id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
|
518
|
name="Create Misapplication">
|
519
|
</command>
|
520
|
<command
|
521
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
|
522
|
id="eu.etaxonomy.taxeditor.editor.name.deleteTaxonBase"
|
523
|
name="Delete Taxon Base">
|
524
|
</command>
|
525
|
<!--command
|
526
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
|
527
|
id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
|
528
|
name="Move Taxon">
|
529
|
</command-->
|
530
|
<command
|
531
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
|
532
|
id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
|
533
|
name="Change To Synonym">
|
534
|
</command>
|
535
|
<command
|
536
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
|
537
|
id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
|
538
|
name="Change To Accepted Taxon">
|
539
|
</command>
|
540
|
<command
|
541
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationHandler"
|
542
|
id="eu.etaxonomy.taxeditor.editor.name.changeToConceptRelation"
|
543
|
name="Change To Concept Relation">
|
544
|
</command>
|
545
|
<command
|
546
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
|
547
|
id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
|
548
|
name="Change To Misapplication">
|
549
|
</command>
|
550
|
<command
|
551
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeHandler"
|
552
|
id="eu.etaxonomy.taxeditor.editor.name.changeConceptRelationshipType"
|
553
|
name="Change Concept Relationship Type">
|
554
|
</command>
|
555
|
<command
|
556
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
|
557
|
id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
|
558
|
name="Swap Synonym With Accepted">
|
559
|
</command>
|
560
|
<command
|
561
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
|
562
|
id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
|
563
|
name="Set Basionym / Original Combination">
|
564
|
</command>
|
565
|
<command
|
566
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
|
567
|
id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
|
568
|
name="Remove Basionym / Original Combination">
|
569
|
</command>
|
570
|
<command
|
571
|
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
|
572
|
id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
|
573
|
name="Change Accepted Taxon to Synonym">
|
574
|
</command>
|
575
|
</extension>
|
576
|
<extension
|
577
|
point="org.eclipse.core.expressions.definitions">
|
578
|
<definition
|
579
|
id="nameEditorActive">
|
580
|
<with
|
581
|
variable="activeEditorId">
|
582
|
<equals
|
583
|
value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
|
584
|
</equals>
|
585
|
</with>
|
586
|
</definition>
|
587
|
<definition
|
588
|
id="isAcceptedTaxon">
|
589
|
<with
|
590
|
variable="activeMenuSelection">
|
591
|
<test
|
592
|
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
|
593
|
</test>
|
594
|
</with>
|
595
|
</definition>
|
596
|
<definition
|
597
|
id="isSynonym">
|
598
|
<with
|
599
|
variable="activeMenuSelection">
|
600
|
<test
|
601
|
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
|
602
|
</test>
|
603
|
</with>
|
604
|
</definition>
|
605
|
<definition
|
606
|
id="isMisapplication">
|
607
|
<with
|
608
|
variable="activeMenuSelection">
|
609
|
<test
|
610
|
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
|
611
|
</test>
|
612
|
</with>
|
613
|
</definition>
|
614
|
<definition
|
615
|
id="isConceptRelation">
|
616
|
<with
|
617
|
variable="activeMenuSelection">
|
618
|
<test
|
619
|
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isConceptRelation">
|
620
|
</test>
|
621
|
</with>
|
622
|
</definition>
|
623
|
<definition
|
624
|
id="isTaxonBase">
|
625
|
<with
|
626
|
variable="activeMenuSelection">
|
627
|
<test
|
628
|
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
|
629
|
</test>
|
630
|
</with>
|
631
|
</definition>
|
632
|
</extension>
|
633
|
<extension
|
634
|
point="org.eclipse.core.expressions.propertyTesters">
|
635
|
<propertyTester
|
636
|
class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
|
637
|
id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
|
638
|
namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
|
639
|
properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,isConceptRelation"
|
640
|
type="org.eclipse.jface.viewers.IStructuredSelection">
|
641
|
</propertyTester>
|
642
|
</extension>
|
643
|
<extension
|
644
|
point="org.eclipse.ui.menus">
|
645
|
<menuContribution
|
646
|
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.description">
|
647
|
<command
|
648
|
commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
|
649
|
label="New Descriptive Data"
|
650
|
style="push">
|
651
|
</command>
|
652
|
<separator
|
653
|
name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
|
654
|
visible="true">
|
655
|
</separator>
|
656
|
<menu
|
657
|
label="New">
|
658
|
<dynamic
|
659
|
class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
|
660
|
id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
|
661
|
</dynamic>
|
662
|
<visibleWhen
|
663
|
checkEnabled="true">
|
664
|
<or>
|
665
|
<reference
|
666
|
definitionId="isDescription">
|
667
|
</reference>
|
668
|
<reference
|
669
|
definitionId="isDescriptionElement">
|
670
|
</reference>
|
671
|
<reference
|
672
|
definitionId="isFeatureNodeContainer">
|
673
|
</reference>
|
674
|
</or>
|
675
|
</visibleWhen>
|
676
|
</menu>
|
677
|
<separator
|
678
|
name="taxeditor-editor.separator1"
|
679
|
visible="true">
|
680
|
</separator>
|
681
|
<separator
|
682
|
name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
|
683
|
visible="true">
|
684
|
</separator>
|
685
|
<command
|
686
|
commandId="org.eclipse.ui.edit.delete"
|
687
|
label="Delete"
|
688
|
style="push">
|
689
|
</command>
|
690
|
<separator
|
691
|
name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
|
692
|
visible="true">
|
693
|
</separator>
|
694
|
<command
|
695
|
commandId="org.eclipse.ui.file.save"
|
696
|
label="Save"
|
697
|
style="push">
|
698
|
</command>
|
699
|
</menuContribution>
|
700
|
</extension>
|
701
|
<extension
|
702
|
point="org.eclipse.ui.bindings">
|
703
|
<scheme
|
704
|
description="The default key binding scheme for the Taxonomic Editor"
|
705
|
id="eu.etaxonomy.taxeditor.bindings.scheme.default"
|
706
|
name="Taxonomic Editor Default Key Bindings">
|
707
|
</scheme>
|
708
|
</extension>
|
709
|
<extension
|
710
|
point="org.eclipse.ui.handlers">
|
711
|
<handler
|
712
|
class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
|
713
|
commandId="org.eclipse.ui.edit.delete">
|
714
|
<activeWhen>
|
715
|
<reference
|
716
|
definitionId="isDeletable">
|
717
|
</reference>
|
718
|
</activeWhen>
|
719
|
</handler>
|
720
|
</extension>
|
721
|
<extension
|
722
|
point="org.eclipse.ui.commands">
|
723
|
<command
|
724
|
defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
|
725
|
id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
|
726
|
name="Create Description Element">
|
727
|
</command>
|
728
|
<command
|
729
|
defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
|
730
|
id="eu.etaxonomy.taxeditor.description.commands.adddescription"
|
731
|
name="New Description">
|
732
|
</command>
|
733
|
</extension>
|
734
|
<extension
|
735
|
point="org.eclipse.core.expressions.definitions">
|
736
|
<definition
|
737
|
id="isDeletable">
|
738
|
<with
|
739
|
variable="activeMenuSelection">
|
740
|
<test
|
741
|
property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
|
742
|
</test>
|
743
|
</with>
|
744
|
</definition>
|
745
|
<definition
|
746
|
id="isMedia">
|
747
|
<with
|
748
|
variable="activeMenuSelection">
|
749
|
<test
|
750
|
property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
|
751
|
</test>
|
752
|
</with>
|
753
|
</definition>
|
754
|
<definition
|
755
|
id="isDescription">
|
756
|
<with
|
757
|
variable="activeMenuSelection">
|
758
|
<test
|
759
|
property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
|
760
|
</test>
|
761
|
</with>
|
762
|
</definition>
|
763
|
<definition
|
764
|
id="isDescriptionElement">
|
765
|
<with
|
766
|
variable="activeMenuSelection">
|
767
|
<test
|
768
|
property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
|
769
|
</test>
|
770
|
</with>
|
771
|
</definition>
|
772
|
<definition
|
773
|
id="isFeatureNodeContainer">
|
774
|
<with
|
775
|
variable="activeMenuSelection">
|
776
|
<test
|
777
|
property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
|
778
|
</test>
|
779
|
</with>
|
780
|
</definition>
|
781
|
</extension>
|
782
|
<extension
|
783
|
point="org.eclipse.core.expressions.propertyTesters">
|
784
|
<propertyTester
|
785
|
class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
|
786
|
id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
|
787
|
namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
|
788
|
properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer"
|
789
|
type="org.eclipse.jface.viewers.TreeSelection">
|
790
|
</propertyTester>
|
791
|
</extension>
|
792
|
<extension
|
793
|
point="org.eclipse.ui.commands">
|
794
|
<command
|
795
|
id="org.eclipse.ui.window.newEditor"
|
796
|
name="New Editor">
|
797
|
</command>
|
798
|
</extension>
|
799
|
<extension
|
800
|
point="org.eclipse.ui.menus">
|
801
|
<menuContribution
|
802
|
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
|
803
|
<command
|
804
|
commandId="taxeditor-editor.command.newimagegallery"
|
805
|
label="New Image Gallery"
|
806
|
style="push">
|
807
|
</command>
|
808
|
<separator
|
809
|
name="taxeditor-editor.separator1"
|
810
|
visible="true">
|
811
|
</separator>
|
812
|
<command
|
813
|
commandId="taxeditor-editor.newimage"
|
814
|
label="New Image"
|
815
|
style="push">
|
816
|
</command>
|
817
|
<command
|
818
|
commandId="taxeditor-editor.command.moveimgdown"
|
819
|
label="Move Image Up In List"
|
820
|
style="push">
|
821
|
<visibleWhen>
|
822
|
<reference
|
823
|
definitionId="isMedia">
|
824
|
</reference>
|
825
|
</visibleWhen>
|
826
|
</command>
|
827
|
<command
|
828
|
commandId="taxeditor-editor.command.moveimgup"
|
829
|
label="Move Image Down In List"
|
830
|
style="push">
|
831
|
<visibleWhen>
|
832
|
<reference
|
833
|
definitionId="isMedia">
|
834
|
</reference>
|
835
|
</visibleWhen>
|
836
|
</command>
|
837
|
<separator
|
838
|
name="taxeditor-editor.separator2"
|
839
|
visible="true">
|
840
|
</separator>
|
841
|
<command
|
842
|
commandId="org.eclipse.ui.edit.delete"
|
843
|
label="Delete"
|
844
|
style="push">
|
845
|
</command>
|
846
|
<command
|
847
|
commandId="org.eclipse.ui.file.save"
|
848
|
label="Save"
|
849
|
style="push">
|
850
|
</command>
|
851
|
</menuContribution>
|
852
|
</extension>
|
853
|
<extension
|
854
|
point="org.eclipse.ui.commands">
|
855
|
<command
|
856
|
defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
|
857
|
id="taxeditor-editor.command.moveimgdown"
|
858
|
name="Move Image Down In List">
|
859
|
</command>
|
860
|
<command
|
861
|
defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
|
862
|
id="taxeditor-editor.command.newimagegallery"
|
863
|
name="New Image Gallery">
|
864
|
</command>
|
865
|
<command
|
866
|
defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
|
867
|
id="taxeditor-editor.newimage"
|
868
|
name="New Image">
|
869
|
</command>
|
870
|
<command
|
871
|
defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
|
872
|
id="taxeditor-editor.command.moveimgup"
|
873
|
name="Move Image Up In List">
|
874
|
</command>
|
875
|
</extension>
|
876
|
<extension
|
877
|
point="org.eclipse.ui.newWizards">
|
878
|
<wizard
|
879
|
category="eu.etaxonomy.taxeditor.new.category.cdm"
|
880
|
class="eu.etaxonomy.taxeditor.editor.newWizard.NewReferenceWizard"
|
881
|
hasPages="true"
|
882
|
id="eu.etaxonomy.taxeditor.new.reference"
|
883
|
name="Reference">
|
884
|
</wizard>
|
885
|
<wizard
|
886
|
category="eu.etaxonomy.taxeditor.new.category.cdm"
|
887
|
class="eu.etaxonomy.taxeditor.editor.newWizard.NewNonViralNameWizard"
|
888
|
hasPages="true"
|
889
|
id="eu.etaxonomy.taxeditor.new.nonViralName"
|
890
|
name="Name">
|
891
|
</wizard>
|
892
|
<wizard
|
893
|
category="eu.etaxonomy.taxeditor.new.category.cdm"
|
894
|
class="eu.etaxonomy.taxeditor.editor.newWizard.NewTeamWizard"
|
895
|
hasPages="true"
|
896
|
id="eu.etaxonomy.taxeditor.new.team"
|
897
|
name="Team">
|
898
|
</wizard>
|
899
|
<wizard
|
900
|
category="eu.etaxonomy.taxeditor.new.category.cdm"
|
901
|
class="eu.etaxonomy.taxeditor.editor.newWizard.NewPersonWizard"
|
902
|
hasPages="true"
|
903
|
id="eu.etaxonomy.taxeditor.new.person"
|
904
|
name="Person">
|
905
|
</wizard>
|
906
|
<wizard
|
907
|
category="eu.etaxonomy.taxeditor.new.category.cdm"
|
908
|
class="eu.etaxonomy.taxeditor.editor.newWizard.NewDerivedUnitBaseWizard"
|
909
|
hasPages="true"
|
910
|
id="eu.etaxonomy.taxeditor.new.specimen"
|
911
|
name="Specimen">
|
912
|
</wizard>
|
913
|
</extension>
|
914
|
<extension
|
915
|
point="org.eclipse.ui.menus">
|
916
|
<menuContribution
|
917
|
locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
|
918
|
<command
|
919
|
commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
|
920
|
label="Reference"
|
921
|
style="push">
|
922
|
</command>
|
923
|
<command
|
924
|
commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
|
925
|
label="Name"
|
926
|
style="push">
|
927
|
</command>
|
928
|
<command
|
929
|
commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
|
930
|
label="Team"
|
931
|
style="push">
|
932
|
</command>
|
933
|
<command
|
934
|
commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
|
935
|
label="Person"
|
936
|
style="push">
|
937
|
</command>
|
938
|
<command
|
939
|
commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
|
940
|
label="Specimen"
|
941
|
style="push">
|
942
|
</command>
|
943
|
</menuContribution>
|
944
|
</extension>
|
945
|
<extension
|
946
|
point="org.eclipse.ui.commands">
|
947
|
<command
|
948
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
|
949
|
id="eu.etaxonomy.taxeditor.editor.command.new.reference"
|
950
|
name="New Reference">
|
951
|
</command>
|
952
|
<command
|
953
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
|
954
|
id="eu.etaxonomy.taxeditor.editor.command.new.name"
|
955
|
name="New Name">
|
956
|
</command>
|
957
|
<command
|
958
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
|
959
|
id="eu.etaxonomy.taxeditor.editor.command.new.team"
|
960
|
name="New Team">
|
961
|
</command>
|
962
|
<command
|
963
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
|
964
|
id="eu.etaxonomy.taxeditor.editor.command.new.person"
|
965
|
name="New Person">
|
966
|
</command>
|
967
|
<command
|
968
|
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
|
969
|
id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
|
970
|
name="New Specimen">
|
971
|
</command>
|
972
|
</extension>
|
973
|
</plugin>
|