Project

General

Profile

Download (22.9 KB) Statistics
| Branch: | Tag: | Revision:
1 e8409423 n.hoffmann
<?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 2d9a13f7 n.hoffmann
            icon="icons/system-search.png"
19 e8409423 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
20
            name="Search Result"
21
            restorable="false">
22
      </view>
23
      <view
24
            allowMultiple="false"
25 f783478f n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
26 2d9a13f7 n.hoffmann
            icon="icons/preferences-system-windows.png"
27 f783478f n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.navigator"
28 09c72303 n.hoffmann
            name="Taxon Navigator"
29 e8409423 n.hoffmann
            restorable="true">
30
      </view>
31 35861667 n.hoffmann
      <view
32
            allowMultiple="false"
33
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart"
34
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
35
            name="Polytomous Keys"
36
            restorable="true">
37
      </view>
38 e8409423 n.hoffmann
   </extension>
39
   <extension
40
         point="org.eclipse.ui.menus">
41
      <menuContribution
42 37f00d44 n.hoffmann
            locationURI="menu:org.eclipse.ui.main.menu.file">
43 6c3c055f n.hoffmann
         <separator
44 37f00d44 n.hoffmann
               name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
45 6c3c055f n.hoffmann
               visible="true">
46
         </separator>
47 e8409423 n.hoffmann
         <dynamic
48
               class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
49
               id="eu.etaxonomy.taxeditor.navigation.recentnames">
50
         </dynamic>
51
      </menuContribution>
52
      <menuContribution
53 af4ba804 n.hoffmann
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
54 e8409423 n.hoffmann
         <command
55 db5e366d n.hoffmann
               commandId="org.eclipse.ui.views.showView"
56 09c72303 n.hoffmann
               label="Taxon Navigator"
57 e8409423 n.hoffmann
               style="push">
58 db5e366d n.hoffmann
            <parameter
59
                  name="org.eclipse.ui.views.showView.viewId"
60
                  value="eu.etaxonomy.taxeditor.navigation.navigator">
61
            </parameter>
62 37f00d44 n.hoffmann
         </command>
63 35861667 n.hoffmann
         <command
64 db5e366d n.hoffmann
               commandId="org.eclipse.ui.views.showView"
65 35861667 n.hoffmann
               label="Polytomous Keys"
66
               style="push">
67 db5e366d n.hoffmann
            <parameter
68
                  name="org.eclipse.ui.views.showView.viewId"
69
                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
70
            </parameter>
71 35861667 n.hoffmann
         </command>
72 9651449a p.ciardelli
      </menuContribution>
73
      <menuContribution
74 37f00d44 n.hoffmann
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
75 33490b61 p.ciardelli
         <command
76 37f00d44 n.hoffmann
               commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
77
               label="Edit"
78 33490b61 p.ciardelli
               style="push">
79
         </command>
80 37f00d44 n.hoffmann
      </menuContribution>
81
      <menuContribution
82
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
83
         <menu
84
               id="eu.etaxonomy.navigation.menu.new"
85
               label="New">
86
            <command
87
                  commandId="eu.etaxonomy.taxeditor.navigation.newTaxonNode"
88 8e34262a n.hoffmann
                  label="Taxon"
89 37f00d44 n.hoffmann
                  style="push">
90
            </command>
91
            <separator
92
                  name="eu.etaxonomy.navigation.menu.new.separator1"
93
                  visible="true">
94
            </separator>
95
            <command
96 27b59ab1 n.hoffmann
                  commandId="eu.etaxonomy.taxeditor.navigation.newClassification"
97
                  id="eu.etaxonomy.taxeditor.navigation.newClassificationHandler"
98 09c72303 n.hoffmann
                  label="Classification"
99 37f00d44 n.hoffmann
                  style="push">
100
            </command>
101
         </menu>
102 33490b61 p.ciardelli
         <separator
103
               name="taxeditor-navigation.separator1"
104
               visible="true">
105
         </separator>
106 9651449a p.ciardelli
         <command
107 09c72303 n.hoffmann
               commandId="eu.etaxonomy.taxeditor.navigation.command.editSelection"
108 9651449a p.ciardelli
               label="Edit"
109 37f00d44 n.hoffmann
               style="push">       
110 c10e4c27 n.hoffmann
            <visibleWhen
111
                  checkEnabled="true">
112 2d9a13f7 n.hoffmann
               <or>
113
                  <reference
114
                        definitionId="isTaxonNode">
115
                  </reference>
116
                  <reference
117
                        definitionId="isTaxonomicTree">
118
                  </reference>
119
               </or>
120 d2443357 n.hoffmann
            </visibleWhen>
121 9651449a p.ciardelli
         </command>
122 c918301b Katja Luther
         <command
123
               commandId="eu.etaxonomy.taxeditor.navigator.command.changeAcceptedToSynonym"
124
               label="Change Accepted Taxon to Synonym"
125
               style="push">
126
               <visibleWhen
127
                  checkEnabled="true">
128
               <reference
129
                     definitionId="isTaxonNode">
130
               </reference>
131
            </visibleWhen>
132
         </command>
133 9651449a p.ciardelli
         <command
134
               commandId="eu.etaxonomy.taxeditor.navigation.command.moveTaxon"
135 3fb05254 n.hoffmann
               label="Move Taxon (with child taxa)"
136 9651449a p.ciardelli
               style="push">
137 c10e4c27 n.hoffmann
            <visibleWhen
138
                  checkEnabled="true">
139 d2443357 n.hoffmann
               <reference
140
                     definitionId="isTaxonNode">
141
               </reference>
142
            </visibleWhen>
143 9651449a p.ciardelli
         </command>
144
         <separator
145 33490b61 p.ciardelli
               name="taxeditor-navigation.separator2"
146 d2443357 n.hoffmann
               visible="true">
147 9651449a p.ciardelli
         </separator>
148 2baabcd2 n.hoffmann
         <!--command
149 9651449a p.ciardelli
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
150
               label="New Child"
151
               style="push">
152
         </command>
153
         <command
154
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
155
               label="Quick Add Child "
156
               style="push">
157 2baabcd2 n.hoffmann
         </command-->
158 6c3c055f n.hoffmann
         <command
159
               commandId="org.eclipse.ui.file.import"
160
               label="Import..."
161
               style="push">
162
         </command>
163
         <command
164
               commandId="org.eclipse.ui.file.export"
165
               label="Export..."
166
               style="push">
167
         </command>
168
         <separator
169 33490b61 p.ciardelli
               name="taxeditor-navigation.separator4"
170 6c3c055f n.hoffmann
               visible="true">
171
         </separator>
172 9651449a p.ciardelli
         <command
173 2be1bfeb p.ciardelli
               commandId="org.eclipse.ui.edit.delete"
174 9651449a p.ciardelli
               label="Delete"
175
               style="push">
176 5d1cfa2b n.hoffmann
            <visibleWhen>
177
               <not>
178
                  <reference
179
                        definitionId="isSynonymNode">
180
                  </reference>
181
               </not>
182
            </visibleWhen>
183 e8409423 n.hoffmann
         </command>
184 2be1bfeb p.ciardelli
         <separator
185 33490b61 p.ciardelli
               name="taxeditor-navigation.separator5"
186 2be1bfeb p.ciardelli
               visible="true">
187
         </separator>
188
         <command
189
               commandId="org.eclipse.ui.file.refresh"
190 3fb05254 n.hoffmann
               label="Refresh"
191 2be1bfeb p.ciardelli
               style="push">
192
         </command>
193 1d6ee264 l.morris
         <command
194
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
195
               label="Copy"
196
               style="push">
197
         </command>
198 e8409423 n.hoffmann
      </menuContribution>
199 37f00d44 n.hoffmann
      <menuContribution
200
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
201
         <toolbar
202
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
203
            <control
204
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
205
            </control>
206
         </toolbar>
207
      </menuContribution>
208
      <menuContribution
209
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
210
         <command
211
               commandId="eu.etaxonomy.taxeditor.navigation.newTaxonNode"
212 8e34262a n.hoffmann
               label="Taxon"
213 37f00d44 n.hoffmann
               style="push">
214
         </command>
215
         <separator
216
               name="eu.etaxonomy.navigation.menu.new.separator1"
217
               visible="true">
218
         </separator>
219
         <command
220 27b59ab1 n.hoffmann
               commandId="eu.etaxonomy.taxeditor.navigation.newClassification"
221
               id="eu.etaxonomy.taxeditor.navigation.newClassificationHandler"
222 09c72303 n.hoffmann
               label="Classification"
223 37f00d44 n.hoffmann
               style="push">
224
         </command>
225
      </menuContribution>
226 35861667 n.hoffmann
      <menuContribution
227
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
228
         <command
229 abada6da Cherian Mathew
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
230
               label="New"
231
               style="push">
232
         </command>
233
         <command
234
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
235 35861667 n.hoffmann
               label="Edit"
236
               style="push">
237
         </command>
238 7c8e41e0 Cherian Mathew
         <menu
239
               label="Refresh">
240
            <command
241
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
242
                  label="List"
243
                  style="push">
244
            </command>
245
            <command
246
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
247
                  label="Key Nodes"
248
                  style="push">
249
            </command>
250
         </menu>
251 35861667 n.hoffmann
         <separator
252 abada6da Cherian Mathew
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
253 35861667 n.hoffmann
               visible="true">
254
         </separator>
255
         <command
256
               commandId="org.eclipse.ui.edit.delete"
257
               label="Delete"
258
               style="push">
259
         </command>
260 c918301b Katja Luther
         
261 35861667 n.hoffmann
      </menuContribution>
262 e8409423 n.hoffmann
   </extension>
263 5d1cfa2b n.hoffmann
   <extension
264
         point="org.eclipse.ui.commands">
265
      <command
266 f211dd28 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
267 5d1cfa2b n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.newTaxonNode"
268
            name="New Taxon Node">
269
      </command>
270
      <command
271 f211dd28 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
272 27b59ab1 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.newClassification"
273 09c72303 n.hoffmann
            name="New Classification">
274 5d1cfa2b n.hoffmann
      </command>
275
   </extension>
276 e8409423 n.hoffmann
   <extension
277
         point="org.eclipse.ui.commands">
278
      <command
279 143e2f91 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
280 09c72303 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.command.editSelection"
281
            name="Edit">
282 e8409423 n.hoffmann
      </command>
283
      <command
284 143e2f91 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
285 e8409423 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.command.moveTaxon"
286
            name="Move Taxon">
287
      </command>
288 2be1bfeb p.ciardelli
      <command
289 f211dd28 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
290 2be1bfeb p.ciardelli
            id="org.eclipse.ui.file.refresh"
291
            name="Refresh">
292
      </command>
293 1d6ee264 l.morris
      <command
294
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
295
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
296
            name="Copy">
297
      </command>
298 c918301b Katja Luther
      <command
299
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
300
            id="eu.etaxonomy.taxeditor.navigator.command.changeAcceptedToSynonym"
301
            name="Change Accepted Taxon to Synonym">
302
      </command>
303 e8409423 n.hoffmann
   </extension>
304 35861667 n.hoffmann
   <extension
305
         point="org.eclipse.ui.commands">
306
      <command
307 abada6da Cherian Mathew
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
308
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
309
            name="New Polytomous Key">
310
      </command>
311
      <command
312
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
313
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
314
            name="Edit Polytomous Key Nodes">
315 35861667 n.hoffmann
      </command>
316 7c8e41e0 Cherian Mathew
      <command
317
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
318
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
319
            name="Refresh Polytomous Key List">
320
      </command>
321
      <command
322
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
323
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
324
            name="Refresh Polytomous Key Nodes">
325
      </command>
326 35861667 n.hoffmann
   </extension>
327 27c7bff5 p.ciardelli
   <extension
328
         point="org.eclipse.ui.handlers">
329
      <handler
330 143e2f91 n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
331 27c7bff5 p.ciardelli
            commandId="org.eclipse.ui.edit.delete">
332 ea781c57 n.hoffmann
         <activeWhen>
333 27c7bff5 p.ciardelli
            <with
334
                  variable="activePartId">
335
               <equals
336
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
337
               </equals>
338
            </with>
339 ea781c57 n.hoffmann
         </activeWhen>
340 27c7bff5 p.ciardelli
      </handler>
341 35861667 n.hoffmann
      <handler
342 ea781c57 n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
343 35861667 n.hoffmann
            commandId="org.eclipse.ui.edit.delete">
344
         <activeWhen>
345
            <with
346
                  variable="activePartId">
347
               <equals
348
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
349
               </equals>
350
            </with>
351
         </activeWhen>
352
      </handler>
353 27c7bff5 p.ciardelli
   </extension>
354 e8409423 n.hoffmann
355 09c72303 n.hoffmann
      
356 9651449a p.ciardelli
      <!--extension
357
            point="org.eclipse.ui.navigator.viewer">
358
         <viewer
359
               viewerId="org.eclipse.ui.examples.navigator.view">
360
         </viewer>
361
         <viewerContentBinding
362
               viewerId="org.eclipse.ui.examples.navigator.view">
363
            <includes>
364
               <contentExtension
365
                     pattern="org.eclipse.ui.navigator.resourceContent" />
366
               <contentExtension
367
                     pattern="org.eclipse.ui.navigator.resources.filters.*" />                     
368
            </includes>
369
         </viewerContentBinding>
370
         <viewerActionBinding
371
               viewerId="org.eclipse.ui.examples.navigator.view">
372
            <includes>
373
               <actionExtension
374
                     pattern="org.eclipse.ui.navigator.resources.*">
375
               </actionExtension>
376
            </includes>
377
         </viewerActionBinding>
378
      </extension>
379
      <extension
380
            point="org.eclipse.ui.navigator.navigatorContent">
381
         <commonFilter
382
               id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
383
               name="Hide non-Java projects">
384
            <filterExpression>
385
               <not>
386
                  <adapt
387
                        type="org.eclipse.core.resources.IProject">
388
                     <test
389
                           property="org.eclipse.core.resources.projectNature"
390
                           value="org.eclipse.jdt.core.javanature">
391
                     </test>
392
                  </adapt>
393
               </not>
394
            </filterExpression>
395
         </commonFilter>
396
      </extension-->
397
      
398
      
399
      
400
      
401
      
402
      
403
   <extension
404
         point="org.eclipse.ui.views">
405
      <view
406
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
407
            icon="icons/edit_16x16.gif"
408
            id="eu.etaxonomy.taxeditor.navigation.navigator"
409
            name="Taxonomic Tree"/>
410
   </extension>
411
   <extension
412
         point="org.eclipse.ui.navigator.navigatorContent">
413 5dd980ce n.hoffmann
      <navigatorContent
414 a2353579 n.hoffmann
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
415 d31115e0 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
416 a2353579 n.hoffmann
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
417 d31115e0 n.hoffmann
            name="Classification">
418 5dd980ce n.hoffmann
         <triggerPoints>
419
            <instanceof
420 d2443357 n.hoffmann
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
421 5dd980ce n.hoffmann
            </instanceof>
422
         </triggerPoints>
423
         <possibleChildren>
424
            <instanceof
425
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
426
            </instanceof>
427
         </possibleChildren>
428 85732b4d n.hoffmann
         <dropAssistant
429
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
430
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
431
            <possibleDropTargets></possibleDropTargets>
432
         </dropAssistant>
433 5dd980ce n.hoffmann
      </navigatorContent>
434 9651449a p.ciardelli
      <navigatorContent
435 d2443357 n.hoffmann
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
436 d31115e0 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
437 d2443357 n.hoffmann
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
438 d31115e0 n.hoffmann
            name="TaxonNode">
439 9651449a p.ciardelli
         <triggerPoints>
440 04a7a151 p.ciardelli
            <or>
441
               <instanceof
442
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
443
               </instanceof>
444
               <and>
445
                  <instanceof
446
                     value="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
447
                  </instanceof>
448
                  <test
449
                     forcePluginActivation="true"
450
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
451
                  </test>
452
               </and>
453
            </or>
454 9651449a p.ciardelli
         </triggerPoints>
455
         <dropAssistant
456 85732b4d n.hoffmann
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
457 9651449a p.ciardelli
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
458
            <possibleDropTargets>
459 d2443357 n.hoffmann
               <or>
460
                  <instanceof
461
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
462
                  </instanceof>
463
                  <instanceof
464
                        value="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
465
                  </instanceof>
466
               </or>
467 9651449a p.ciardelli
            </possibleDropTargets>
468
         </dropAssistant>
469
         <possibleChildren>
470
            <instanceof
471 5dd980ce n.hoffmann
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
472 9651449a p.ciardelli
            </instanceof>
473
         </possibleChildren>
474
      </navigatorContent>
475
      <navigatorContent
476 09c72303 n.hoffmann
            activeByDefault="false"
477 d2443357 n.hoffmann
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
478 d31115e0 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
479 d2443357 n.hoffmann
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
480 a2353579 n.hoffmann
            name="Synonyms (experimental)"
481 9651449a p.ciardelli
            priority="highest">
482
         <triggerPoints>
483 e370cd47 p.ciardelli
            <and>
484
               <instanceof
485 d2443357 n.hoffmann
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
486 e370cd47 p.ciardelli
               </instanceof>
487
               <test
488
                     forcePluginActivation="true"
489
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
490
               </test>
491
            </and>
492 9651449a p.ciardelli
         </triggerPoints>
493
         <possibleChildren>
494
            <instanceof
495
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
496
            </instanceof>
497
         </possibleChildren>
498
      </navigatorContent>
499
   </extension>
500
   <extension
501
         point="org.eclipse.ui.navigator.viewer">
502
      <viewer
503
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
504
         <popupMenu
505
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
506
         </popupMenu>
507
      </viewer>
508
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
509
         <includes>
510 5dd980ce n.hoffmann
            <contentExtension
511 d31115e0 n.hoffmann
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
512 5dd980ce n.hoffmann
            </contentExtension>
513 d31115e0 n.hoffmann
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
514 9651449a p.ciardelli
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
515
            <contentExtension
516 d31115e0 n.hoffmann
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
517 9651449a p.ciardelli
            </contentExtension>
518
         </includes>
519
      </viewerContentBinding>
520
      <!--viewer
521
            popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
522
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
523
         <options>
524
            <property
525
                  name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
526
                  value="true">
527
            </property>
528
         </options>
529
      </viewer-->
530 6292490e Cherian Mathew
      <dragAssistant
531
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
532
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
533
      </dragAssistant>
534 9651449a p.ciardelli
   </extension>
535
   <extension
536
         point="org.eclipse.ui.navigator.linkHelper">
537
      <linkHelper
538
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
539
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
540
          <selectionEnablement>
541 5dd980ce n.hoffmann
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
542 9651449a p.ciardelli
          </selectionEnablement>            
543
         <editorInputEnablement>
544
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
545
         </editorInputEnablement>
546
      </linkHelper>
547
   </extension>
548
   <extension
549
         point="org.eclipse.core.runtime.adapters">
550
      <factory
551
            adaptableType="org.eclipse.core.internal.resources.Workspace"
552
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
553
         <adapter
554
               type="org.eclipse.core.commands.operations.IUndoContext">
555
         </adapter>
556
      </factory>
557
   </extension>
558 e370cd47 p.ciardelli
   <extension
559
         point="org.eclipse.core.expressions.propertyTesters">
560
      <propertyTester
561 d2443357 n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
562 e370cd47 p.ciardelli
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
563
            namespace="eu.etaxonomy.taxeditor.propertytests"
564
            properties="hasSynonyms"
565 d2443357 n.hoffmann
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
566 e370cd47 p.ciardelli
      </propertyTester>
567 04a7a151 p.ciardelli
      <propertyTester
568
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
569
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
570
            namespace="eu.etaxonomy.taxeditor.propertytests"
571
            properties="hasTaxa"
572
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
573
      </propertyTester>
574 e370cd47 p.ciardelli
   </extension>
575 d2443357 n.hoffmann
   <extension
576
         point="org.eclipse.core.expressions.definitions">
577
      <definition
578
            id="isTaxonNode">
579
         <with
580 c4dcde9b n.hoffmann
               variable="selection">
581 d2443357 n.hoffmann
            <iterate>
582
               <instanceof
583
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
584
               </instanceof>
585
            </iterate>
586
         </with>
587
      </definition>
588
      <definition
589
            id="isTaxonomicTree">
590
         <with
591 c4dcde9b n.hoffmann
               variable="selection">
592 d2443357 n.hoffmann
            <iterate>
593
               <instanceof
594
                     value="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
595
               </instanceof>
596
            </iterate>
597
         </with>
598
      </definition>
599
      <definition
600 320e417b p.ciardelli
            id="isSynonymNode">
601 d2443357 n.hoffmann
         <with
602 c4dcde9b n.hoffmann
               variable="selection">
603 d2443357 n.hoffmann
            <iterate>
604
               <instanceof
605
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
606
               </instanceof>
607
            </iterate>
608
         </with>
609
      </definition>
610 b86fa7f3 em.lee
   </extension>
611 e8409423 n.hoffmann
</plugin>