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.navigation.Application">
|
10
|
</run>
|
11
|
</application>
|
12
|
</extension>
|
13
|
<extension
|
14
|
point="org.eclipse.ui.views">
|
15
|
<view
|
16
|
allowMultiple="true"
|
17
|
class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
|
18
|
icon="icons/system-search.png"
|
19
|
id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
|
20
|
name="%view.name"
|
21
|
restorable="false">
|
22
|
</view>
|
23
|
<view
|
24
|
allowMultiple="false"
|
25
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
|
26
|
icon="icons/preferences-system-windows.png"
|
27
|
id="eu.etaxonomy.taxeditor.navigation.navigator"
|
28
|
name="%view.name.0"
|
29
|
restorable="true">
|
30
|
</view>
|
31
|
<view
|
32
|
allowMultiple="false"
|
33
|
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart"
|
34
|
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
|
35
|
name="%view.name.1"
|
36
|
restorable="true">
|
37
|
</view>
|
38
|
</extension>
|
39
|
<extension
|
40
|
point="org.eclipse.ui.menus">
|
41
|
<menuContribution
|
42
|
locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file">
|
43
|
<separator
|
44
|
name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
|
45
|
visible="true">
|
46
|
</separator>
|
47
|
<dynamic
|
48
|
class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
|
49
|
id="eu.etaxonomy.taxeditor.navigation.recentnames">
|
50
|
<visibleWhen
|
51
|
checkEnabled="true">
|
52
|
<reference
|
53
|
definitionId="isCdmStoreConnected">
|
54
|
</reference>
|
55
|
</visibleWhen>
|
56
|
</dynamic>
|
57
|
</menuContribution>
|
58
|
<menuContribution
|
59
|
locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
|
60
|
<command
|
61
|
commandId="org.eclipse.ui.views.showView"
|
62
|
label="%command.label"
|
63
|
style="push">
|
64
|
<parameter
|
65
|
name="org.eclipse.ui.views.showView.viewId"
|
66
|
value="eu.etaxonomy.taxeditor.navigation.navigator">
|
67
|
</parameter>
|
68
|
<visibleWhen
|
69
|
checkEnabled="true">
|
70
|
<reference
|
71
|
definitionId="isCdmStoreConnected">
|
72
|
</reference>
|
73
|
</visibleWhen>
|
74
|
</command>
|
75
|
<command
|
76
|
commandId="org.eclipse.ui.views.showView"
|
77
|
label="%command.label.0"
|
78
|
style="push">
|
79
|
<parameter
|
80
|
name="org.eclipse.ui.views.showView.viewId"
|
81
|
value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
|
82
|
</parameter>
|
83
|
<visibleWhen
|
84
|
checkEnabled="true">
|
85
|
<reference
|
86
|
definitionId="isCdmStoreConnected">
|
87
|
</reference>
|
88
|
</visibleWhen>
|
89
|
</command>
|
90
|
</menuContribution>
|
91
|
<menuContribution
|
92
|
locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
|
93
|
<dynamic
|
94
|
class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
|
95
|
id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
|
96
|
</dynamic>
|
97
|
<separator
|
98
|
name="eu.etaxonomy.taxeditor.navigation.separator2">
|
99
|
</separator>
|
100
|
</menuContribution>
|
101
|
<menuContribution
|
102
|
locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
|
103
|
<menu
|
104
|
id="eu.etaxonomy.navigation.menu.new"
|
105
|
label="%menu.label">
|
106
|
<command
|
107
|
commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
|
108
|
label="%command.label.2"
|
109
|
style="push">
|
110
|
<visibleWhen
|
111
|
checkEnabled="true">
|
112
|
<with
|
113
|
variable="selection">
|
114
|
<count
|
115
|
value="+">
|
116
|
</count>
|
117
|
</with>
|
118
|
</visibleWhen>
|
119
|
</command>
|
120
|
<separator
|
121
|
name="eu.etaxonomy.navigation.menu.new.separator1"
|
122
|
visible="true">
|
123
|
</separator>
|
124
|
<command
|
125
|
commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
|
126
|
id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
|
127
|
label="%command.label.3"
|
128
|
style="push">
|
129
|
</command>
|
130
|
<visibleWhen
|
131
|
checkEnabled="true">
|
132
|
<reference
|
133
|
definitionId="isCdmStoreConnected">
|
134
|
</reference>
|
135
|
</visibleWhen>
|
136
|
</menu>
|
137
|
<command
|
138
|
commandId="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
|
139
|
label="%command.label.fixClassificationHierarchy"
|
140
|
style="push">
|
141
|
<visibleWhen
|
142
|
checkEnabled="true">
|
143
|
<and>
|
144
|
<reference
|
145
|
definitionId="isShowExperimentalFeatures">
|
146
|
</reference>
|
147
|
<test
|
148
|
property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
|
149
|
</test>
|
150
|
</and>
|
151
|
</visibleWhen>
|
152
|
</command>
|
153
|
<command
|
154
|
commandId="eu.etaxonomy.taxeditor.navigation.cloneClassification"
|
155
|
label="Clone Classification"
|
156
|
style="push">
|
157
|
<visibleWhen
|
158
|
checkEnabled="true">
|
159
|
<and>
|
160
|
<reference
|
161
|
definitionId="isShowExperimentalFeatures">
|
162
|
</reference>
|
163
|
<test
|
164
|
property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
|
165
|
</test>
|
166
|
</and>
|
167
|
</visibleWhen>
|
168
|
</command>
|
169
|
<separator
|
170
|
name="taxeditor-navigation.separator1"
|
171
|
visible="true">
|
172
|
</separator>
|
173
|
<command
|
174
|
commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
|
175
|
label="%command.label.6"
|
176
|
style="push">
|
177
|
<visibleWhen
|
178
|
checkEnabled="true">
|
179
|
<and>
|
180
|
<reference
|
181
|
definitionId="isCdmStoreConnected">
|
182
|
</reference>
|
183
|
<reference
|
184
|
definitionId="isTaxonNode">
|
185
|
</reference>
|
186
|
<not>
|
187
|
<test
|
188
|
property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
|
189
|
</test>
|
190
|
</not>
|
191
|
</and>
|
192
|
</visibleWhen>
|
193
|
</command>
|
194
|
<command
|
195
|
commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
|
196
|
label="%command.label.setSecForSubtree"
|
197
|
style="push">
|
198
|
<visibleWhen
|
199
|
checkEnabled="true">
|
200
|
<and>
|
201
|
<reference
|
202
|
definitionId="isCdmStoreConnected">
|
203
|
</reference>
|
204
|
</and>
|
205
|
</visibleWhen>
|
206
|
</command>
|
207
|
<command
|
208
|
commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
|
209
|
label="%command.label.7"
|
210
|
style="push">
|
211
|
<visibleWhen
|
212
|
checkEnabled="true">
|
213
|
<and>
|
214
|
<reference
|
215
|
definitionId="isTaxonNode">
|
216
|
</reference>
|
217
|
<not>
|
218
|
<test
|
219
|
property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
|
220
|
</test>
|
221
|
</not>
|
222
|
</and>
|
223
|
</visibleWhen>
|
224
|
</command>
|
225
|
<command
|
226
|
commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
|
227
|
label="%command.label.moveFactualData"
|
228
|
style="push">
|
229
|
<visibleWhen
|
230
|
checkEnabled="true">
|
231
|
<and>
|
232
|
<reference
|
233
|
definitionId="isCdmStoreConnected">
|
234
|
</reference>
|
235
|
<reference
|
236
|
definitionId="isTaxonNode">
|
237
|
</reference>
|
238
|
<not>
|
239
|
<test
|
240
|
property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
|
241
|
</test>
|
242
|
</not>
|
243
|
|
244
|
</and>
|
245
|
</visibleWhen>
|
246
|
</command>
|
247
|
<separator
|
248
|
name="taxeditor-navigation.separator2"
|
249
|
visible="true">
|
250
|
</separator>
|
251
|
<command
|
252
|
commandId="org.eclipse.ui.file.import"
|
253
|
label="%command.label.8"
|
254
|
style="push">
|
255
|
<visibleWhen
|
256
|
checkEnabled="true">
|
257
|
<reference
|
258
|
definitionId="isCdmStoreConnected">
|
259
|
</reference>
|
260
|
</visibleWhen>
|
261
|
</command>
|
262
|
<command
|
263
|
commandId="org.eclipse.ui.file.export"
|
264
|
label="%command.label.9"
|
265
|
style="push">
|
266
|
<visibleWhen
|
267
|
checkEnabled="true">
|
268
|
<reference
|
269
|
definitionId="isCdmStoreConnected">
|
270
|
</reference>
|
271
|
</visibleWhen>
|
272
|
</command>
|
273
|
<separator
|
274
|
name="taxeditor-navigation.separator4"
|
275
|
visible="true">
|
276
|
</separator>
|
277
|
<command
|
278
|
commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
|
279
|
label="%command.label.10"
|
280
|
style="push">
|
281
|
<visibleWhen
|
282
|
checkEnabled="true">
|
283
|
<and>
|
284
|
<reference
|
285
|
definitionId="isCdmStoreConnected">
|
286
|
</reference>
|
287
|
<not>
|
288
|
<reference
|
289
|
definitionId="isSynonymNode">
|
290
|
</reference>
|
291
|
</not>
|
292
|
<with
|
293
|
variable="selection">
|
294
|
<count
|
295
|
value="+">
|
296
|
</count>
|
297
|
</with>
|
298
|
</and>
|
299
|
</visibleWhen>
|
300
|
</command>
|
301
|
<separator
|
302
|
name="taxeditor-navigation.separator5"
|
303
|
visible="true">
|
304
|
</separator>
|
305
|
<command
|
306
|
commandId="org.eclipse.ui.file.refresh"
|
307
|
label="%command.label.11"
|
308
|
style="push">
|
309
|
<visibleWhen
|
310
|
checkEnabled="true">
|
311
|
<reference
|
312
|
definitionId="isCdmStoreConnected">
|
313
|
</reference>
|
314
|
</visibleWhen>
|
315
|
</command>
|
316
|
<command
|
317
|
commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
|
318
|
label="%command.label.12"
|
319
|
style="push">
|
320
|
<visibleWhen
|
321
|
checkEnabled="true">
|
322
|
<and>
|
323
|
<reference
|
324
|
definitionId="isCdmStoreConnected">
|
325
|
</reference>
|
326
|
<reference
|
327
|
definitionId="isTaxonNode">
|
328
|
</reference></and>
|
329
|
</visibleWhen>
|
330
|
</command>
|
331
|
<separator
|
332
|
name="eu.etaxonomy.taxeditor.navigation.separator2"
|
333
|
visible="true">
|
334
|
</separator>
|
335
|
<dynamic
|
336
|
class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
|
337
|
id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
|
338
|
</dynamic>
|
339
|
<!--command
|
340
|
commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
|
341
|
label="New Child"
|
342
|
style="push">
|
343
|
</command>
|
344
|
<command
|
345
|
commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
|
346
|
label="Quick Add Child "
|
347
|
style="push">
|
348
|
</command-->
|
349
|
</menuContribution>
|
350
|
<menuContribution
|
351
|
locationURI="menu:eu.etaxonomy.navigation.menu.new">
|
352
|
<command
|
353
|
commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
|
354
|
label="%command.label.13"
|
355
|
style="push">
|
356
|
<visibleWhen
|
357
|
checkEnabled="true">
|
358
|
<reference
|
359
|
definitionId="isCdmStoreConnected">
|
360
|
</reference>
|
361
|
</visibleWhen>
|
362
|
</command>
|
363
|
<separator
|
364
|
name="eu.etaxonomy.navigation.menu.new.separator1"
|
365
|
visible="true">
|
366
|
</separator>
|
367
|
<command
|
368
|
commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
|
369
|
id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
|
370
|
label="%command.label.14"
|
371
|
style="push">
|
372
|
<visibleWhen
|
373
|
checkEnabled="true">
|
374
|
<reference
|
375
|
definitionId="isCdmStoreConnected">
|
376
|
</reference>
|
377
|
</visibleWhen>
|
378
|
</command>
|
379
|
</menuContribution>
|
380
|
<menuContribution
|
381
|
locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
|
382
|
<command
|
383
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
|
384
|
label="%command.label.15"
|
385
|
style="push">
|
386
|
</command>
|
387
|
<dynamic
|
388
|
class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
|
389
|
id="eu.etaxonomy.taxeditor.navigation.polytomous.cdmViewerContextMenu">
|
390
|
</dynamic>
|
391
|
<command
|
392
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
|
393
|
label="%command.label.16"
|
394
|
style="push">
|
395
|
</command>
|
396
|
<menu
|
397
|
label="%menu.label.0">
|
398
|
<command
|
399
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
|
400
|
label="%command.label.17"
|
401
|
style="push">
|
402
|
</command>
|
403
|
<command
|
404
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
|
405
|
label="%command.label.18"
|
406
|
style="push">
|
407
|
</command>
|
408
|
</menu>
|
409
|
<separator
|
410
|
name="eu.etaxonomy.eu.polytomousKeyView.separator2"
|
411
|
visible="true">
|
412
|
</separator>
|
413
|
<command
|
414
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
|
415
|
label="%command.label.19"
|
416
|
style="push">
|
417
|
</command>
|
418
|
|
419
|
</menuContribution>
|
420
|
</extension>
|
421
|
<extension
|
422
|
point="org.eclipse.ui.commands">
|
423
|
<command
|
424
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
|
425
|
id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
|
426
|
name="%command.name.2">
|
427
|
</command>
|
428
|
<command
|
429
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
|
430
|
id="org.eclipse.ui.file.refresh"
|
431
|
name="%command.name.3">
|
432
|
</command>
|
433
|
<command
|
434
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
|
435
|
id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
|
436
|
name="%command.name.4">
|
437
|
</command>
|
438
|
<command
|
439
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
|
440
|
id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
|
441
|
name="%command.name.5">
|
442
|
</command>
|
443
|
<command
|
444
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
|
445
|
id="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
|
446
|
name="%command.name.setSecForSubtree">
|
447
|
</command>
|
448
|
<command
|
449
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
|
450
|
id="eu.etaxonomy.taxeditor.navigation.create.classification"
|
451
|
name="%command.name.0">
|
452
|
</command>
|
453
|
<command
|
454
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
|
455
|
id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
|
456
|
name="%command.name">
|
457
|
</command>
|
458
|
<command
|
459
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
|
460
|
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
|
461
|
name="%command.name.6">
|
462
|
</command>
|
463
|
<command
|
464
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
|
465
|
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
|
466
|
name="%command.name.7">
|
467
|
</command>
|
468
|
<command
|
469
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
|
470
|
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
|
471
|
name="%command.name.8">
|
472
|
</command>
|
473
|
<command
|
474
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
|
475
|
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
|
476
|
name="%command.name.9">
|
477
|
</command>
|
478
|
<command
|
479
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
|
480
|
id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
|
481
|
name="%command.name.moveFactualData">
|
482
|
</command>
|
483
|
<command
|
484
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
|
485
|
id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
|
486
|
name="%command.name.10">
|
487
|
</command>
|
488
|
<command
|
489
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
|
490
|
id="eu.etaxonomy.taxeditor.navigation.command.delete"
|
491
|
name="%command.name.11">
|
492
|
</command>
|
493
|
<command
|
494
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
|
495
|
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
|
496
|
name="%command.name.11">
|
497
|
</command>
|
498
|
<command
|
499
|
defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CloneClassificationHandler"
|
500
|
id="eu.etaxonomy.taxeditor.navigation.cloneClassification"
|
501
|
name="Clone Classification">
|
502
|
</command>
|
503
|
</extension>
|
504
|
<extension
|
505
|
point="org.eclipse.ui.handlers">
|
506
|
<handler
|
507
|
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
|
508
|
commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
|
509
|
<activeWhen>
|
510
|
<with
|
511
|
variable="activePartId">
|
512
|
<equals
|
513
|
value="eu.etaxonomy.taxeditor.navigation.navigator">
|
514
|
</equals>
|
515
|
</with>
|
516
|
</activeWhen>
|
517
|
</handler>
|
518
|
<handler
|
519
|
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
|
520
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
|
521
|
<activeWhen>
|
522
|
<with
|
523
|
variable="activePartId">
|
524
|
<equals
|
525
|
value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
|
526
|
</equals>
|
527
|
</with>
|
528
|
</activeWhen>
|
529
|
</handler>
|
530
|
<handler
|
531
|
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
|
532
|
commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
|
533
|
<activeWhen>
|
534
|
<reference
|
535
|
definitionId="isRemoting">
|
536
|
</reference>
|
537
|
</activeWhen>
|
538
|
</handler>
|
539
|
<handler
|
540
|
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
|
541
|
commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree">
|
542
|
<activeWhen>
|
543
|
<reference
|
544
|
definitionId="isRemoting">
|
545
|
</reference>
|
546
|
</activeWhen>
|
547
|
</handler>
|
548
|
<handler
|
549
|
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
|
550
|
commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
|
551
|
<activeWhen>
|
552
|
<reference
|
553
|
definitionId="isRemoting">
|
554
|
</reference>
|
555
|
</activeWhen>
|
556
|
</handler>
|
557
|
<handler
|
558
|
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
|
559
|
commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
|
560
|
<activeWhen>
|
561
|
<reference
|
562
|
definitionId="isRemoting">
|
563
|
</reference>
|
564
|
</activeWhen>
|
565
|
</handler>
|
566
|
<handler
|
567
|
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
|
568
|
commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
|
569
|
<activeWhen>
|
570
|
<reference
|
571
|
definitionId="isRemoting">
|
572
|
</reference>
|
573
|
</activeWhen>
|
574
|
</handler>
|
575
|
<handler
|
576
|
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
|
577
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
|
578
|
<activeWhen>
|
579
|
<reference
|
580
|
definitionId="isRemoting">
|
581
|
</reference>
|
582
|
</activeWhen>
|
583
|
</handler>
|
584
|
<handler
|
585
|
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
|
586
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
|
587
|
<activeWhen>
|
588
|
<reference
|
589
|
definitionId="isRemoting">
|
590
|
</reference>
|
591
|
</activeWhen>
|
592
|
</handler>
|
593
|
<handler
|
594
|
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
|
595
|
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
|
596
|
<activeWhen>
|
597
|
<reference
|
598
|
definitionId="isRemoting">
|
599
|
</reference>
|
600
|
</activeWhen>
|
601
|
</handler>
|
602
|
<handler
|
603
|
class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
|
604
|
commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
|
605
|
<activeWhen>
|
606
|
<with
|
607
|
variable="activePartId">
|
608
|
<equals
|
609
|
value="eu.etaxonomy.taxeditor.navigation.navigator">
|
610
|
</equals>
|
611
|
</with>
|
612
|
</activeWhen>
|
613
|
</handler>
|
614
|
<handler
|
615
|
class="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonBaseHandler"
|
616
|
commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon">
|
617
|
<activeWhen>
|
618
|
<and>
|
619
|
<not>
|
620
|
<reference
|
621
|
definitionId="isOrphanedTaxon">
|
622
|
</reference>
|
623
|
</not>
|
624
|
</and>
|
625
|
</activeWhen>
|
626
|
</handler>
|
627
|
</extension>
|
628
|
|
629
|
|
630
|
<!--extension
|
631
|
point="org.eclipse.ui.navigator.viewer">
|
632
|
<viewer
|
633
|
viewerId="org.eclipse.ui.examples.navigator.view">
|
634
|
</viewer>
|
635
|
<viewerContentBinding
|
636
|
viewerId="org.eclipse.ui.examples.navigator.view">
|
637
|
<includes>
|
638
|
<contentExtension
|
639
|
pattern="org.eclipse.ui.navigator.resourceContent" />
|
640
|
<contentExtension
|
641
|
pattern="org.eclipse.ui.navigator.resources.filters.*" />
|
642
|
</includes>
|
643
|
</viewerContentBinding>
|
644
|
<viewerActionBinding
|
645
|
viewerId="org.eclipse.ui.examples.navigator.view">
|
646
|
<includes>
|
647
|
<actionExtension
|
648
|
pattern="org.eclipse.ui.navigator.resources.*">
|
649
|
</actionExtension>
|
650
|
</includes>
|
651
|
</viewerActionBinding>
|
652
|
</extension>
|
653
|
<extension
|
654
|
point="org.eclipse.ui.navigator.navigatorContent">
|
655
|
<commonFilter
|
656
|
id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
|
657
|
name="Hide non-Java projects">
|
658
|
<filterExpression>
|
659
|
<not>
|
660
|
<adapt
|
661
|
type="org.eclipse.core.resources.IProject">
|
662
|
<test
|
663
|
property="org.eclipse.core.resources.projectNature"
|
664
|
value="org.eclipse.jdt.core.javanature">
|
665
|
</test>
|
666
|
</adapt>
|
667
|
</not>
|
668
|
</filterExpression>
|
669
|
</commonFilter>
|
670
|
</extension-->
|
671
|
|
672
|
|
673
|
|
674
|
|
675
|
|
676
|
|
677
|
<extension
|
678
|
point="org.eclipse.ui.views">
|
679
|
<view
|
680
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
|
681
|
icon="icons/edit_16x16.gif"
|
682
|
id="eu.etaxonomy.taxeditor.navigation.navigator"
|
683
|
name="%view.name.2"/>
|
684
|
</extension>
|
685
|
<extension
|
686
|
point="org.eclipse.ui.navigator.navigatorContent">
|
687
|
<navigatorContent
|
688
|
contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
|
689
|
id="eu.etaxonomy.taxeditor.navigation.classificationContent"
|
690
|
labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
|
691
|
name="%navigatorContent.name">
|
692
|
<triggerPoints>
|
693
|
<instanceof
|
694
|
value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
|
695
|
</instanceof>
|
696
|
</triggerPoints>
|
697
|
<possibleChildren>
|
698
|
<instanceof
|
699
|
value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
700
|
</instanceof>
|
701
|
</possibleChildren>
|
702
|
<dropAssistant
|
703
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
|
704
|
id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
|
705
|
<possibleDropTargets></possibleDropTargets>
|
706
|
</dropAssistant>
|
707
|
</navigatorContent>
|
708
|
<navigatorContent
|
709
|
contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
|
710
|
id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
|
711
|
labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
|
712
|
name="%navigatorContent.name.0">
|
713
|
<triggerPoints>
|
714
|
<or>
|
715
|
<instanceof
|
716
|
value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
717
|
</instanceof>
|
718
|
<and>
|
719
|
<instanceof
|
720
|
value="eu.etaxonomy.cdm.model.taxon.Classification">
|
721
|
</instanceof>
|
722
|
<test
|
723
|
forcePluginActivation="true"
|
724
|
property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
|
725
|
</test>
|
726
|
</and>
|
727
|
</or>
|
728
|
</triggerPoints>
|
729
|
<dropAssistant
|
730
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
|
731
|
id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
|
732
|
<possibleDropTargets>
|
733
|
<or>
|
734
|
<instanceof
|
735
|
value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
736
|
</instanceof>
|
737
|
<instanceof
|
738
|
value="eu.etaxonomy.cdm.model.taxon.Classification">
|
739
|
</instanceof>
|
740
|
</or>
|
741
|
</possibleDropTargets>
|
742
|
</dropAssistant>
|
743
|
<possibleChildren>
|
744
|
<instanceof
|
745
|
value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
746
|
</instanceof>
|
747
|
</possibleChildren>
|
748
|
</navigatorContent>
|
749
|
<navigatorContent
|
750
|
activeByDefault="false"
|
751
|
contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
|
752
|
id="eu.etaxonomy.taxeditor.navigation.synonymContent"
|
753
|
labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
|
754
|
name="%navigatorContent.name.1"
|
755
|
priority="highest">
|
756
|
<triggerPoints>
|
757
|
<and>
|
758
|
<instanceof
|
759
|
value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
760
|
</instanceof>
|
761
|
<test
|
762
|
forcePluginActivation="true"
|
763
|
property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
|
764
|
</test>
|
765
|
</and>
|
766
|
</triggerPoints>
|
767
|
<possibleChildren>
|
768
|
<instanceof
|
769
|
value="eu.etaxonomy.cdm.model.taxon.Synonym">
|
770
|
</instanceof>
|
771
|
</possibleChildren>
|
772
|
</navigatorContent>
|
773
|
</extension>
|
774
|
<extension
|
775
|
point="org.eclipse.ui.navigator.viewer">
|
776
|
<viewer
|
777
|
viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
|
778
|
<popupMenu
|
779
|
id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
|
780
|
</popupMenu>
|
781
|
</viewer>
|
782
|
<viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
|
783
|
<includes>
|
784
|
<contentExtension
|
785
|
pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
|
786
|
</contentExtension>
|
787
|
<contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
|
788
|
<contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
|
789
|
<contentExtension
|
790
|
pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
|
791
|
</contentExtension>
|
792
|
</includes>
|
793
|
</viewerContentBinding>
|
794
|
<!--viewer
|
795
|
popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
|
796
|
viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
|
797
|
<options>
|
798
|
<property
|
799
|
name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
|
800
|
value="true">
|
801
|
</property>
|
802
|
</options>
|
803
|
</viewer-->
|
804
|
<dragAssistant
|
805
|
class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
|
806
|
viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
|
807
|
</dragAssistant>
|
808
|
</extension>
|
809
|
<extension
|
810
|
point="org.eclipse.ui.navigator.linkHelper">
|
811
|
<linkHelper
|
812
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
|
813
|
id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
|
814
|
<selectionEnablement>
|
815
|
<instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
|
816
|
</selectionEnablement>
|
817
|
<editorInputEnablement>
|
818
|
<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
|
819
|
</editorInputEnablement>
|
820
|
</linkHelper>
|
821
|
</extension>
|
822
|
<extension
|
823
|
point="org.eclipse.core.runtime.adapters">
|
824
|
<factory
|
825
|
adaptableType="org.eclipse.core.internal.resources.Workspace"
|
826
|
class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
|
827
|
<adapter
|
828
|
type="org.eclipse.core.commands.operations.IUndoContext">
|
829
|
</adapter>
|
830
|
</factory>
|
831
|
</extension>
|
832
|
<extension
|
833
|
point="org.eclipse.core.expressions.propertyTesters">
|
834
|
<propertyTester
|
835
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
|
836
|
id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
|
837
|
namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
|
838
|
properties="hasSynonyms, isClassification"
|
839
|
type="java.lang.Object">
|
840
|
</propertyTester>
|
841
|
|
842
|
<propertyTester
|
843
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
|
844
|
id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
|
845
|
namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
|
846
|
properties="hasTaxa"
|
847
|
type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
|
848
|
</propertyTester>
|
849
|
<propertyTester
|
850
|
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
|
851
|
id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
|
852
|
namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
|
853
|
properties="hasTaxa"
|
854
|
type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
855
|
</propertyTester>
|
856
|
<propertyTester
|
857
|
class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
|
858
|
id="eu.etaxonomy.taxeditor.preferences.propertyTester"
|
859
|
namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
|
860
|
properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
|
861
|
type="org.eclipse.jface.viewers.IStructuredSelection">
|
862
|
</propertyTester>
|
863
|
<propertyTester
|
864
|
class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
|
865
|
id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
|
866
|
namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
|
867
|
properties="isCdmStoreConnected,isRemoting,isStandAlone"
|
868
|
type="java.lang.Object">
|
869
|
</propertyTester>
|
870
|
</extension>
|
871
|
<extension
|
872
|
point="org.eclipse.core.expressions.definitions">
|
873
|
<definition
|
874
|
id="isTaxonNode">
|
875
|
<with
|
876
|
variable="selection">
|
877
|
<iterate
|
878
|
ifEmpty="false">
|
879
|
<instanceof
|
880
|
value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
|
881
|
</instanceof>
|
882
|
</iterate>
|
883
|
</with>
|
884
|
</definition>
|
885
|
<definition
|
886
|
id="isSynonymNode">
|
887
|
<with
|
888
|
variable="selection">
|
889
|
<iterate
|
890
|
ifEmpty="false">
|
891
|
<instanceof
|
892
|
value="eu.etaxonomy.cdm.model.taxon.Synonym">
|
893
|
</instanceof>
|
894
|
</iterate>
|
895
|
</with>
|
896
|
</definition>
|
897
|
|
898
|
<definition
|
899
|
id="isChecklistEditorEnabled">
|
900
|
<with
|
901
|
variable="selection">
|
902
|
<test
|
903
|
property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
|
904
|
</test>
|
905
|
</with>
|
906
|
</definition>
|
907
|
<definition
|
908
|
id="isCdmStoreConnected">
|
909
|
<test
|
910
|
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
|
911
|
</test>
|
912
|
</definition>
|
913
|
<definition
|
914
|
id="isShowExperimentalFeatures">
|
915
|
<with
|
916
|
variable="selection">
|
917
|
<test
|
918
|
property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
|
919
|
</test>
|
920
|
</with>
|
921
|
</definition>
|
922
|
<definition
|
923
|
id="isRemoting">
|
924
|
<test
|
925
|
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
|
926
|
</test>
|
927
|
</definition>
|
928
|
<definition
|
929
|
id="isStandAlone">
|
930
|
<test
|
931
|
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
|
932
|
</test>
|
933
|
</definition>
|
934
|
</extension>
|
935
|
<extension
|
936
|
id="eu.etaxonomy.taxeditor.navigation.workbench.model"
|
937
|
name="Navigation Workbench Model"
|
938
|
point="org.eclipse.e4.workbench.model">
|
939
|
<fragment
|
940
|
apply="always"
|
941
|
uri="fragment.e4xmi">
|
942
|
</fragment>
|
943
|
</extension>
|
944
|
</plugin>
|