Project

General

Profile

Download (26.8 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
         <separator
178
               name="taxeditor-navigation.separator2"
179
               visible="true">
180
         </separator>
181
         <!--command
182
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
183
               label="New Child"
184
               style="push">
185
         </command>
186
         <command
187
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
188
               label="Quick Add Child "
189
               style="push">
190
         </command-->
191
         <command
192
               commandId="org.eclipse.ui.file.import"
193
               label="%command.label.8"
194
               style="push">
195
            <visibleWhen
196
                  checkEnabled="true">
197
               <reference
198
                     definitionId="isCdmStoreConnected">
199
               </reference>
200
            </visibleWhen>
201
         </command>
202
         <command
203
               commandId="org.eclipse.ui.file.export"
204
               label="%command.label.9"
205
               style="push">
206
            <visibleWhen
207
                  checkEnabled="true">
208
               <reference
209
                     definitionId="isCdmStoreConnected">
210
               </reference>
211
            </visibleWhen>
212
         </command>
213
         <separator
214
               name="taxeditor-navigation.separator4"
215
               visible="true">
216
         </separator>
217
         <command
218
               commandId="org.eclipse.ui.edit.delete"
219
               label="%command.label.10"
220
               style="push">
221
            <visibleWhen
222
                  checkEnabled="true">
223
               <and>
224
                  <reference
225
                        definitionId="isCdmStoreConnected">
226
                  </reference>
227
                  <not>
228
                     <reference
229
                           definitionId="isSynonymNode">
230
                     </reference>
231
                  </not>
232
               </and>
233
            </visibleWhen>
234
         </command>
235
         <separator
236
               name="taxeditor-navigation.separator5"
237
               visible="true">
238
         </separator>
239
         <command
240
               commandId="org.eclipse.ui.file.refresh"
241
               label="%command.label.11"
242
               style="push">
243
            <visibleWhen
244
                  checkEnabled="true">
245
               <reference
246
                     definitionId="isCdmStoreConnected">
247
               </reference>
248
            </visibleWhen>
249
         </command>
250
         <command
251
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
252
               label="%command.label.12"
253
               style="push">
254
            <visibleWhen
255
                  checkEnabled="true">
256
               <reference
257
                     definitionId="isCdmStoreConnected">
258
               </reference>
259
            </visibleWhen>
260
         </command>
261
      </menuContribution>
262
      <menuContribution
263
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
264
         <toolbar
265
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
266
            <control
267
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
268
            </control>
269
         </toolbar>
270
      </menuContribution>
271
      <menuContribution
272
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
273
         <command
274
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
275
               label="%command.label.13"
276
               style="push">
277
         </command>
278
         <separator
279
               name="eu.etaxonomy.navigation.menu.new.separator1"
280
               visible="true">
281
         </separator>
282
         <command
283
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
284
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
285
               label="%command.label.14"
286
               style="push">
287
         </command>
288
      </menuContribution>
289
      <menuContribution
290
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
291
         <command
292
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
293
               label="%command.label.15"
294
               style="push">
295
         </command>
296
         <command
297
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
298
               label="%command.label.16"
299
               style="push">
300
         </command>
301
         <menu
302
               label="%menu.label.0">
303
            <command
304
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
305
                  label="%command.label.17"
306
                  style="push">
307
            </command>
308
            <command
309
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
310
                  label="%command.label.18"
311
                  style="push">
312
            </command>
313
         </menu>
314
         <separator
315
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
316
               visible="true">
317
         </separator>
318
         <command
319
               commandId="org.eclipse.ui.edit.delete"
320
               label="%command.label.19"
321
               style="push">
322
         </command>
323
         
324
      </menuContribution>
325
   </extension>
326
   <extension
327
         point="org.eclipse.ui.commands">
328
      <command
329
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
330
            id="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
331
            name="%command.name.1">
332
      </command>
333
      <command
334
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
335
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
336
            name="%command.name.2">
337
      </command>
338
      <command
339
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
340
            id="org.eclipse.ui.file.refresh"
341
            name="%command.name.3">
342
      </command>
343
      <command
344
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
345
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
346
            name="%command.name.4">
347
      </command>
348
      <command
349
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
350
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
351
            name="%command.name.5">
352
      </command>
353
      <command
354
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
355
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
356
            name="%command.name.0">
357
      </command>
358
      <command
359
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
360
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
361
            name="%command.name">
362
      </command>
363
      <command
364
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
365
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
366
            name="%command.name.6">
367
      </command>
368
      <command
369
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
370
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
371
            name="%command.name.7">
372
      </command>
373
      <command
374
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
375
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
376
            name="%command.name.8">
377
      </command>
378
      <command
379
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
380
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
381
            name="%command.name.9">
382
      </command>
383
   </extension>
384
   <extension
385
         point="org.eclipse.ui.handlers">
386
      <handler
387
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
388
            commandId="org.eclipse.ui.edit.delete">
389
         <activeWhen>
390
            <with
391
                  variable="activePartId">
392
               <equals
393
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
394
               </equals>
395
            </with>
396
         </activeWhen>
397
      </handler>
398
      <handler
399
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
400
            commandId="org.eclipse.ui.edit.delete">
401
         <activeWhen>
402
            <with
403
                  variable="activePartId">
404
               <equals
405
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
406
               </equals>
407
            </with>
408
         </activeWhen>
409
      </handler>
410
   </extension>
411

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