Project

General

Profile

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

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