Project

General

Profile

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