Project

General

Profile

Download (27.3 KB) Statistics
| Branch: | Tag: | Revision:
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:org.eclipse.ui.main.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
         </dynamic>
51
      </menuContribution>
52
      <menuContribution
53
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
54
         <command
55
               commandId="org.eclipse.ui.views.showView"
56
               label="%command.label"
57
               style="push">
58
            <parameter
59
                  name="org.eclipse.ui.views.showView.viewId"
60
                  value="eu.etaxonomy.taxeditor.navigation.navigator">
61
            </parameter>
62
         </command>
63
         <command
64
               commandId="org.eclipse.ui.views.showView"
65
               label="%command.label.0"
66
               style="push">
67
            <parameter
68
                  name="org.eclipse.ui.views.showView.viewId"
69
                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
70
            </parameter>
71
         </command>
72
      </menuContribution>
73
      <menuContribution
74
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
75
         <command
76
               commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
77
               label="%command.label.1"
78
               style="push">
79
         </command>
80
      </menuContribution>
81
      <menuContribution
82
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
83
         <menu
84
               id="eu.etaxonomy.navigation.menu.new"
85
               label="%menu.label">
86
            <command
87
                  commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
88
                  label="%command.label.2"
89
                  style="push">
90
            </command>
91
            <separator
92
                  name="eu.etaxonomy.navigation.menu.new.separator1"
93
                  visible="true">
94
            </separator>
95
            <command
96
                  commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
97
                  id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
98
                  label="%command.label.3"
99
                  style="push">
100
            </command>
101
            <visibleWhen
102
                  checkEnabled="true">
103
               <reference
104
                     definitionId="isCdmStoreConnected">
105
               </reference>
106
            </visibleWhen>
107
         </menu>
108
         <command
109
               commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
110
               icon="icons/check.png"
111
               label="%command.label.4"
112
               style="push">
113
           <visibleWhen
114
                 checkEnabled="true">
115
              <and>
116
                 <reference
117
                       definitionId="isChecklistEditorEnabled">
118
                 </reference>
119
                 <or>
120
                    <reference
121
                          definitionId="isClassification">
122
                    </reference>
123
                    <reference
124
                          definitionId="isTaxonNode">
125
                    </reference>
126
                 </or>
127
              </and>
128
            </visibleWhen>
129
         </command>
130
         <separator
131
               name="taxeditor-navigation.separator1"
132
               visible="true">
133
         </separator>
134
         <command
135
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
136
               label="%command.label.5"
137
               style="push">       
138
            <visibleWhen
139
                  checkEnabled="true">
140
               <or>
141
                  <reference
142
                        definitionId="isTaxonNode">
143
                  </reference>
144
                  <reference
145
                        definitionId="isTaxonomicTree">
146
                  </reference>
147
               </or>
148
            </visibleWhen>
149
         </command>
150
         <command
151
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
152
               label="%command.label.6"
153
               style="push">
154
               <visibleWhen
155
                  checkEnabled="true">
156
                  <and>
157
                     <reference
158
                           definitionId="isCdmStoreConnected">
159
                     </reference>
160
                     <reference
161
                           definitionId="isTaxonNode">
162
                     </reference>
163
                  </and>
164
            </visibleWhen>
165
         </command>
166
         <command
167
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
168
               label="%command.label.7"
169
               style="push">
170
            <visibleWhen
171
                  checkEnabled="true">
172
                  <reference
173
                        definitionId="isTaxonNode">
174
                  </reference>
175
            </visibleWhen>
176
         </command>
177
         <command
178
               commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
179
               label="Move factual data to another taxon"
180
               style="push">
181
         </command>
182
         <separator
183
               name="taxeditor-navigation.separator2"
184
               visible="true">
185
         </separator>
186
         <!--command
187
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
188
               label="New Child"
189
               style="push">
190
         </command>
191
         <command
192
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
193
               label="Quick Add Child "
194
               style="push">
195
         </command-->
196
         <command
197
               commandId="org.eclipse.ui.file.import"
198
               label="%command.label.8"
199
               style="push">
200
            <visibleWhen
201
                  checkEnabled="true">
202
               <reference
203
                     definitionId="isCdmStoreConnected">
204
               </reference>
205
            </visibleWhen>
206
         </command>
207
         <command
208
               commandId="org.eclipse.ui.file.export"
209
               label="%command.label.9"
210
               style="push">
211
            <visibleWhen
212
                  checkEnabled="true">
213
               <reference
214
                     definitionId="isCdmStoreConnected">
215
               </reference>
216
            </visibleWhen>
217
         </command>
218
         <separator
219
               name="taxeditor-navigation.separator4"
220
               visible="true">
221
         </separator>
222
         <command
223
               commandId="org.eclipse.ui.edit.delete"
224
               label="%command.label.10"
225
               style="push">
226
            <visibleWhen
227
                  checkEnabled="true">
228
               <and>
229
                  <reference
230
                        definitionId="isCdmStoreConnected">
231
                  </reference>
232
                  <not>
233
                     <reference
234
                           definitionId="isSynonymNode">
235
                     </reference>
236
                  </not>
237
               </and>
238
            </visibleWhen>
239
         </command>
240
         <separator
241
               name="taxeditor-navigation.separator5"
242
               visible="true">
243
         </separator>
244
         <command
245
               commandId="org.eclipse.ui.file.refresh"
246
               label="%command.label.11"
247
               style="push">
248
            <visibleWhen
249
                  checkEnabled="true">
250
               <reference
251
                     definitionId="isCdmStoreConnected">
252
               </reference>
253
            </visibleWhen>
254
         </command>
255
         <command
256
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
257
               label="%command.label.12"
258
               style="push">
259
            <visibleWhen
260
                  checkEnabled="true">
261
               <reference
262
                     definitionId="isCdmStoreConnected">
263
               </reference>
264
            </visibleWhen>
265
         </command>
266
      </menuContribution>
267
      <menuContribution
268
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
269
         <toolbar
270
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
271
            <control
272
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
273
            </control>
274
         </toolbar>
275
      </menuContribution>
276
      <menuContribution
277
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
278
         <command
279
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
280
               label="%command.label.13"
281
               style="push">
282
         </command>
283
         <separator
284
               name="eu.etaxonomy.navigation.menu.new.separator1"
285
               visible="true">
286
         </separator>
287
         <command
288
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
289
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
290
               label="%command.label.14"
291
               style="push">
292
         </command>
293
      </menuContribution>
294
      <menuContribution
295
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
296
         <command
297
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
298
               label="%command.label.15"
299
               style="push">
300
         </command>
301
         <command
302
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
303
               label="%command.label.16"
304
               style="push">
305
         </command>
306
         <menu
307
               label="%menu.label.0">
308
            <command
309
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
310
                  label="%command.label.17"
311
                  style="push">
312
            </command>
313
            <command
314
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
315
                  label="%command.label.18"
316
                  style="push">
317
            </command>
318
         </menu>
319
         <separator
320
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
321
               visible="true">
322
         </separator>
323
         <command
324
               commandId="org.eclipse.ui.edit.delete"
325
               label="%command.label.19"
326
               style="push">
327
         </command>
328
         
329
      </menuContribution>
330
   </extension>
331
   <extension
332
         point="org.eclipse.ui.commands">
333
      <command
334
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
335
            id="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
336
            name="%command.name.1">
337
      </command>
338
      <command
339
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
340
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
341
            name="%command.name.2">
342
      </command>
343
      <command
344
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
345
            id="org.eclipse.ui.file.refresh"
346
            name="%command.name.3">
347
      </command>
348
      <command
349
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
350
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
351
            name="%command.name.4">
352
      </command>
353
      <command
354
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
355
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
356
            name="%command.name.5">
357
      </command>
358
      <command
359
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
360
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
361
            name="%command.name.0">
362
      </command>
363
      <command
364
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
365
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
366
            name="%command.name">
367
      </command>
368
      <command
369
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
370
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
371
            name="%command.name.6">
372
      </command>
373
      <command
374
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
375
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
376
            name="%command.name.7">
377
      </command>
378
      <command
379
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
380
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
381
            name="%command.name.8">
382
      </command>
383
      <command
384
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
385
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
386
            name="%command.name.9">
387
      </command>
388
      <command
389
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
390
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
391
            name="Move Factual Data">
392
      </command>
393
   </extension>
394
   <extension
395
         point="org.eclipse.ui.handlers">
396
      <handler
397
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
398
            commandId="org.eclipse.ui.edit.delete">
399
         <activeWhen>
400
            <with
401
                  variable="activePartId">
402
               <equals
403
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
404
               </equals>
405
            </with>
406
         </activeWhen>
407
      </handler>
408
      <handler
409
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
410
            commandId="org.eclipse.ui.edit.delete">
411
         <activeWhen>
412
            <with
413
                  variable="activePartId">
414
               <equals
415
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
416
               </equals>
417
            </with>
418
         </activeWhen>
419
      </handler>
420
   </extension>
421

    
422
      
423
      <!--extension
424
            point="org.eclipse.ui.navigator.viewer">
425
         <viewer
426
               viewerId="org.eclipse.ui.examples.navigator.view">
427
         </viewer>
428
         <viewerContentBinding
429
               viewerId="org.eclipse.ui.examples.navigator.view">
430
            <includes>
431
               <contentExtension
432
                     pattern="org.eclipse.ui.navigator.resourceContent" />
433
               <contentExtension
434
                     pattern="org.eclipse.ui.navigator.resources.filters.*" />                     
435
            </includes>
436
         </viewerContentBinding>
437
         <viewerActionBinding
438
               viewerId="org.eclipse.ui.examples.navigator.view">
439
            <includes>
440
               <actionExtension
441
                     pattern="org.eclipse.ui.navigator.resources.*">
442
               </actionExtension>
443
            </includes>
444
         </viewerActionBinding>
445
      </extension>
446
      <extension
447
            point="org.eclipse.ui.navigator.navigatorContent">
448
         <commonFilter
449
               id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
450
               name="Hide non-Java projects">
451
            <filterExpression>
452
               <not>
453
                  <adapt
454
                        type="org.eclipse.core.resources.IProject">
455
                     <test
456
                           property="org.eclipse.core.resources.projectNature"
457
                           value="org.eclipse.jdt.core.javanature">
458
                     </test>
459
                  </adapt>
460
               </not>
461
            </filterExpression>
462
         </commonFilter>
463
      </extension-->
464
      
465
      
466
      
467
      
468
      
469
      
470
   <extension
471
         point="org.eclipse.ui.views">
472
      <view
473
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
474
            icon="icons/edit_16x16.gif"
475
            id="eu.etaxonomy.taxeditor.navigation.navigator"
476
            name="%view.name.2"/>
477
   </extension>
478
   <extension
479
         point="org.eclipse.ui.navigator.navigatorContent">
480
      <navigatorContent
481
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
482
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
483
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
484
            name="%navigatorContent.name">
485
         <triggerPoints>
486
            <instanceof
487
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
488
            </instanceof>
489
         </triggerPoints>
490
         <possibleChildren>
491
            <instanceof
492
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
493
            </instanceof>
494
         </possibleChildren>
495
         <dropAssistant
496
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
497
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
498
            <possibleDropTargets></possibleDropTargets>
499
         </dropAssistant>
500
      </navigatorContent>
501
      <navigatorContent
502
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
503
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
504
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
505
            name="%navigatorContent.name.0">
506
         <triggerPoints>
507
            <or>
508
               <instanceof
509
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
510
               </instanceof>
511
               <and>
512
                  <instanceof
513
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
514
                  </instanceof>
515
                  <test
516
                     forcePluginActivation="true"
517
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
518
                  </test>
519
               </and>
520
            </or>
521
         </triggerPoints>
522
         <dropAssistant
523
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
524
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
525
            <possibleDropTargets>
526
               <or>
527
                  <instanceof
528
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
529
                  </instanceof>
530
                  <instanceof
531
                        value="eu.etaxonomy.cdm.model.taxon.Classification">
532
                  </instanceof>
533
               </or>
534
            </possibleDropTargets>
535
         </dropAssistant>
536
         <possibleChildren>
537
            <instanceof
538
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
539
            </instanceof>
540
         </possibleChildren>
541
      </navigatorContent>
542
      <navigatorContent
543
            activeByDefault="false"
544
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
545
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
546
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
547
            name="%navigatorContent.name.1"
548
            priority="highest">
549
         <triggerPoints>
550
            <and>
551
               <instanceof
552
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
553
               </instanceof>
554
               <test
555
                     forcePluginActivation="true"
556
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
557
               </test>
558
            </and>
559
         </triggerPoints>
560
         <possibleChildren>
561
            <instanceof
562
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
563
            </instanceof>
564
         </possibleChildren>
565
      </navigatorContent>
566
   </extension>
567
   <extension
568
         point="org.eclipse.ui.navigator.viewer">
569
      <viewer
570
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
571
         <popupMenu
572
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
573
         </popupMenu>
574
      </viewer>
575
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
576
         <includes>
577
            <contentExtension
578
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
579
            </contentExtension>
580
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
581
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
582
            <contentExtension
583
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
584
            </contentExtension>
585
         </includes>
586
      </viewerContentBinding>
587
      <!--viewer
588
            popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
589
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
590
         <options>
591
            <property
592
                  name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
593
                  value="true">
594
            </property>
595
         </options>
596
      </viewer-->
597
      <dragAssistant
598
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
599
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
600
      </dragAssistant>
601
   </extension>
602
   <extension
603
         point="org.eclipse.ui.navigator.linkHelper">
604
      <linkHelper
605
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
606
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
607
          <selectionEnablement>
608
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
609
          </selectionEnablement>            
610
         <editorInputEnablement>
611
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
612
         </editorInputEnablement>
613
      </linkHelper>
614
   </extension>
615
   <extension
616
         point="org.eclipse.core.runtime.adapters">
617
      <factory
618
            adaptableType="org.eclipse.core.internal.resources.Workspace"
619
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
620
         <adapter
621
               type="org.eclipse.core.commands.operations.IUndoContext">
622
         </adapter>
623
      </factory>
624
   </extension>
625
      <extension
626
         point="org.eclipse.core.expressions.propertyTesters">
627
      <propertyTester
628
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
629
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
630
            namespace="eu.etaxonomy.taxeditor.propertytests"
631
            properties="hasSynonyms"
632
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
633
      </propertyTester>
634
      <propertyTester
635
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
636
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
637
            namespace="eu.etaxonomy.taxeditor.propertytests"
638
            properties="hasTaxa"
639
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
640
      </propertyTester>
641
      <propertyTester
642
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
643
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
644
            namespace="eu.etaxonomy.taxeditor.propertytests"
645
            properties="hasTaxa"
646
            type="eu.etaxonomy.cdm.model.taxon.Classification">
647
      </propertyTester>
648
   <propertyTester
649
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
650
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
651
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
652
         properties="isChecklistEditorEnabled"
653
         type="org.eclipse.jface.viewers.IStructuredSelection">
654
   </propertyTester>
655
   <propertyTester
656
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
657
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
658
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
659
         properties="isCdmStoreConnected"
660
         type="org.eclipse.jface.viewers.IStructuredSelection">
661
   </propertyTester>
662
   </extension>
663
   <extension
664
         point="org.eclipse.core.expressions.definitions">
665
      <definition
666
            id="isTaxonNode">
667
         <with
668
               variable="selection">
669
            <iterate
670
                  ifEmpty="false">
671
               <instanceof
672
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
673
               </instanceof>
674
            </iterate>
675
         </with>
676
      </definition>
677
      <definition
678
            id="isSynonymNode">
679
         <with
680
               variable="selection">
681
            <iterate
682
                  ifEmpty="false">
683
               <instanceof
684
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
685
               </instanceof>
686
            </iterate>
687
         </with>
688
      </definition>
689
      <definition
690
            id="isClassification">
691
         <with
692
               variable="selection">
693
            <iterate
694
                  ifEmpty="false">
695
               <instanceof
696
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
697
               </instanceof>
698
            </iterate>
699
         </with>
700
      </definition>
701
      <definition
702
            id="isChecklistEditorEnabled">
703
         <with
704
               variable="selection">
705
            <test
706
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
707
            </test>
708
         </with>
709
      </definition>
710
      <definition
711
            id="isCdmStoreConnected">
712
         <with
713
               variable="selection">
714
            <test
715
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isCdmStoreConnected">
716
            </test>
717
         </with>
718
      </definition>
719
   </extension>
720
</plugin>
(5-5/6)