Project

General

Profile

Download (51.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.preferencePages">
6
      <page
7
            class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
8
            id="eu.etaxonomy.taxeditor.preferences.general"
9
            name="%page.name">
10
      </page>
11
      <page
12
            category="eu.etaxonomy.taxeditor.preferences.general"
13
            class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
14
            id="eu.etaxonomy.taxeditor.preferences.description"
15
            name="%page.name.0">
16
      </page>
17
      <page
18
            category="eu.etaxonomy.taxeditor.preferences.description"
19
            class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
20
            id="eu.etaxonomy.taxeditor.preferences.feature"
21
            name="%page.name.1">
22
      </page>
23
      <page
24
            category="eu.etaxonomy.taxeditor.preferences.description"
25
            class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
26
            id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
27
            name="%page.name.2">
28
      </page>
29
      <page
30
            category="eu.etaxonomy.taxeditor.preferences.general"
31
            class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
32
            id="eu.etaxonomy.taxeditor.preferences.taxonomic"
33
            name="%page.name.3">
34
      </page>
35
      <page
36
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
37
            class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
38
            id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
39
            name="%page.name.4">
40
      </page>
41
      <!--page
42
            class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
43
            id="eu.etaxonomy.taxeditor.preferences.cdm"
44
            name="CDM Datastore">
45
      </page>
46
      <page
47
            category="eu.etaxonomy.taxeditor.preferences.cdm"
48
            class="eu.etaxonomy.taxeditor.store.preference.InitializeDbPreferences"
49
            id="eu.etaxonomy.taxeditor.preferences.initdb"
50
            name="Initialize Datastore">
51
      </page-->
52
      <page
53
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
54
            class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
55
            id="eu.etaxonomy.taxeditor.preferences.ranks"
56
            name="%page.name.5">
57
      </page>
58
      <page
59
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
60
            class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
61
            id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
62
            name="%page.name.6">
63
      </page>
64
      <page
65
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
66
            class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
67
            id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
68
            name="%page.name.7">
69
      </page>
70
      <page
71
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
72
            class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
73
            id="taxeditor-store.page1"
74
            name="%page.name.8">
75
      </page>
76
      <page
77
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
78
            class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
79
            id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
80
            name="%page.name.9">
81
      </page>
82
      <page
83
            category="eu.etaxonomy.taxeditor.preferences.language"
84
            class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
85
            id="eu.etaxonomy.taxeditor.preferences.languages"
86
            name="%page.name.10">
87
      </page>
88
      <page
89
            category="eu.etaxonomy.taxeditor.preferences.general"
90
            class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
91
            id="eu.etaxonomy.taxeditor.preferences.markerTypes"
92
            name="%page.name.11">
93
      </page>
94
      <page
95
            category="eu.etaxonomy.taxeditor.preferences.general"
96
            class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
97
            id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
98
            name="%page.name.12">
99
      </page>
100
      <page
101
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
102
            class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
103
            id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
104
            name="%page.name.13">
105
      </page>
106
      <page
107
            category="eu.etaxonomy.taxeditor.preferences.description"
108
            class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
109
            id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
110
            name="%page.name.14">
111
      </page>
112
      <page
113
            category="eu.etaxonomy.taxeditor.preferences.general"
114
            class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
115
            id="eu.etaxonomy.taxeditor.preferences.matching"
116
            name="%page.name.15">
117
      </page>
118
      <page
119
            category="eu.etaxonomy.taxeditor.preferences.matching"
120
            class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
121
            id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
122
            name="%page.name.16">
123
      </page>
124
      <page
125
            category="eu.etaxonomy.taxeditor.preferences.matching"
126
            class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
127
            id="eu.etaxonomy.taxeditor.preferences.matching"
128
            name="%page.name.17">
129
      </page>
130
      <page
131
            category="eu.etaxonomy.taxeditor.preferences.matching"
132
            class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
133
            id="eu.etaxonomy.taxeditor.preferences.matching"
134
            name="%page.name.18">
135
      </page>
136
      <page
137
            category="eu.etaxonomy.taxeditor.preferences.description"
138
            class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
139
            id="eu.etaxonomy.taxeditor.preferences.stage"
140
            name="%page.name.19">
141
      </page>
142
      <page
143
            category="eu.etaxonomy.taxeditor.preferences.description"
144
            class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
145
            id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
146
            name="%page.name.20">
147
      </page>
148
      <page
149
            category="eu.etaxonomy.taxeditor.preferences.feature"
150
            class="eu.etaxonomy.taxeditor.preference.FeatureTreePreferences"
151
            id="eu.etaxonomy.taxeditor.preferences.featureTree"
152
            name="%page.name.21">
153
      </page>
154
      <page
155
            category="eu.etaxonomy.taxeditor.preferences.feature"
156
            class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
157
            id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
158
            name="%page.name.22">
159
      </page>
160
      <page
161
            category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
162
            class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
163
            id="eu.etaxonomy.taxeditor.preferences.language"
164
            name="%page.name.23">
165
      </page>
166
      <page
167
            category="eu.etaxonomy.taxeditor.preferences.general"
168
            class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
169
            id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
170
            name="%page.name.24">
171
      </page>
172
      <page
173
            category="eu.etaxonomy.taxeditor.preferences.general"
174
            class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
175
            id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
176
            name="%page.name.25">
177
      </page>
178
      <page
179
            category="eu.etaxonomy.taxeditor.preferences.general"
180
            class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
181
            id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
182
            name="%page.name.26">
183
      </page>
184
      <page
185
            category="eu.etaxonomy.taxeditor.preferences.general"
186
            class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
187
            id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
188
            name="%page.name.27">
189
      </page>
190
      <page
191
            category="eu.etaxonomy.taxeditor.preferences.general"
192
            class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
193
            id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
194
            name="%page.name.28">
195
      </page>
196
      <page
197
            category="eu.etaxonomy.taxeditor.preferences.general"
198
            class="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
199
            id="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
200
            name="%page.name.29">
201
      </page>
202
      <page
203
            category="eu.etaxonomy.taxeditor.preferences.general"
204
            class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
205
            id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
206
            name="%page.name.30">
207
      </page>
208
   </extension>
209
   <extension
210
         point="org.eclipse.ui.views">
211
      <view
212
            class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
213
            icon="icons/system-file-manager.png"
214
            id="eu.etaxonomy.taxeditor.view.datasource"
215
            name="%view.name"
216
            restorable="true">
217
      </view>
218
      <view  
219
			name="%view.name.0"  
220
   			category="org.eclipse.ui"  
221
			class="org.eclipse.ui.ExtensionFactory:progressView"  
222
			id="org.eclipse.ui.views.ProgressView">  
223
		</view>
224
		<view  
225
			name="%view.name.1"  
226
			icon="icons/console.gif"  
227
   			category="org.eclipse.ui"  
228
			class="org.eclipse.ui.ExtensionFactory:logView"  
229
			id="org.eclipse.ui.views.LogView">  
230
		</view>
231
  <view
232
        class="eu.etaxonomy.taxeditor.view.reporting.ReportingViewPart"
233
        id="eu.etaxonomy.taxeditor.reporting.viewPart"
234
        name="%view.name.2"
235
        restorable="true">
236
  </view>
237
  <view
238
        allowMultiple="false"
239
        class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
240
        icon="icons/applications-office.png"
241
        id="eu.etaxonomy.taxeditor.view.supplementalData"
242
        name="%view.name.3"
243
        restorable="true">
244
  </view>
245
  <view
246
        allowMultiple="false"
247
        class="eu.etaxonomy.taxeditor.view.detail.DetailsViewPart"
248
        icon="icons/accessories-text-editor.png"
249
        id="eu.etaxonomy.taxeditor.view.detail"
250
        name="%view.name.4"
251
        restorable="true">
252
  </view>
253
  <view
254
        class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
255
        icon="icons/leaf_detail.png"
256
        id="eu.etaxonomy.taxeditor.view.userecords"
257
        name="%view.name.5"
258
        restorable="true">
259
  </view>
260
  <view
261
        class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
262
        icon="icons/derivate_search_view-16x16-32.png"
263
        id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
264
        name="%view.name.6"
265
        restorable="true">
266
  </view>
267
   </extension>
268
   <extension
269
         point="org.eclipse.ui.editors">
270
      <editor
271
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
272
            default="false"
273
            id="eu.etaxonomy.taxeditor.editor.definedTerm"
274
            name="%editor.name">
275
      </editor>
276
   </extension>
277
   <extension
278
         point="org.eclipse.ui.menus">
279
      <menuContribution
280
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
281
         <menu
282
               id="eu.etaxonomy.taxeditor.menu.showView"
283
               label="%menu.label">
284
            <command
285
                  commandId="org.eclipse.ui.views.showView"
286
                  label="%command.label"
287
                  style="push">
288
               <parameter
289
                     name="org.eclipse.ui.views.showView.viewId"
290
                     value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
291
               </parameter>
292
            </command>
293
            <separator
294
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
295
                  visible="true">
296
            </separator>
297
            <command
298
                  commandId="org.eclipse.ui.views.showView"
299
                  label="%command.label.0"
300
                  style="push">
301
               <parameter
302
                     name="org.eclipse.ui.views.showView.viewId"
303
                     value="eu.etaxonomy.taxeditor.view.detail">
304
               </parameter>
305
            </command>
306
            <command
307
                  commandId="org.eclipse.ui.views.showView"
308
                  id="org.eclipse.ui.views.showView.supplemental"
309
	              label="%command.label.1"
310
                  style="push">
311
               <parameter
312
                     name="org.eclipse.ui.views.showView.viewId"
313
                     value="eu.etaxonomy.taxeditor.view.supplementalData">
314
               </parameter>
315
            </command>
316
            <!-- Originally used by validation framework, currently not in use -->
317
	<!--        <command
318
	        	 id="org.eclipse.ui.views.showView.problems"
319
	             commandId="org.eclipse.ui.views.showView"
320
	             label="Problems"
321
	             style="push">
322
	          <parameter
323
	                name="org.eclipse.ui.views.showView.viewId"
324
	                value="org.eclipse.ui.views.ProblemView">
325
	          </parameter>
326
	       </command>  -->
327
            <separator
328
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
329
                  visible="true">
330
            </separator>
331
            <command
332
                  commandId="org.eclipse.ui.views.showView"
333
                  label="%command.label.2"
334
                  style="push">
335
               <parameter
336
                     name="org.eclipse.ui.views.showView.viewId"
337
                     value="eu.etaxonomy.taxeditor.view.datasource">
338
               </parameter>
339
            </command>
340
            <command
341
                  commandId="org.eclipse.ui.views.showView"
342
                  label="%command.label.3"
343
                  style="push">
344
               <parameter
345
                     name="org.eclipse.ui.views.showView.viewId"
346
                     value="org.eclipse.pde.runtime.LogView">
347
               </parameter>
348
            </command>
349
            <command
350
                  commandId="org.eclipse.ui.views.showView"
351
                  label="%command.label.4"
352
                  style="push">
353
               <parameter
354
                     name="org.eclipse.ui.views.showView.viewId"
355
                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
356
               </parameter>
357
               <visibleWhen
358
                     checkEnabled="true">
359
                  <reference
360
                        definitionId="isShowExperimentalFeatures">
361
                  </reference>
362
               </visibleWhen>
363
            </command>
364
         </menu>
365
      </menuContribution>
366
      <menuContribution
367
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
368
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
369
      </menuContribution>
370
      <menuContribution
371
            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
372
         <command
373
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
374
               label="%command.label.5"
375
               style="push">
376
         </command>
377
         <separator
378
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
379
               visible="true">
380
         </separator>
381
      </menuContribution>
382
      <menuContribution
383
            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
384
         <command
385
               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
386
               label="%command.label.6"
387
               style="push">
388
               <visibleWhen>
389
              <with
390
           		 variable="selection">
391
           		 <not>
392
         			<test
393
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
394
         			</test>
395
	      		</not>
396
          		</with>
397
            </visibleWhen>
398
         </command>
399
         <command
400
               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
401
               label="%command.label.7"
402
               style="push">
403
         </command>
404
         <command
405
               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
406
               label="%command.label.8"
407
               style="push">
408
                <visibleWhen>
409
              <with
410
           		 variable="selection">
411
           		 <not>
412
         			<test
413
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
414
         			</test>
415
	      		</not>
416
          		</with>
417
            </visibleWhen>
418
         </command>
419
         <command
420
               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
421
               label="Clone"
422
               style="push">
423
                <visibleWhen>
424
              <with
425
           		 variable="selection">
426
           		 <not>
427
         			<test
428
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
429
         			</test>
430
	      		</not>
431
          		</with>
432
            </visibleWhen>
433
         </command>
434
         <separator
435
               name="eu.etaxonomy.taxeditor.store.datasource.separator"
436
               visible="true">
437
         </separator>
438
         <command
439
               commandId="org.eclipse.ui.edit.delete"
440
               label="%command.label.9"
441
               style="push">
442
               <visibleWhen>
443
              <with
444
           		 variable="selection">
445
           		 <not>
446
         			<test
447
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
448
         			</test>
449
	      		</not>
450
          		</with>
451
            </visibleWhen>
452
         </command>
453
         <separator
454
               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
455
               visible="true">
456
         </separator>
457
         <command
458
               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
459
               label="%command.label.10"
460
               style="push">
461
               <visibleWhen>
462
              <with
463
           		 variable="selection">
464
           		 <not>
465
         			<test
466
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
467
         			</test>
468
	      		</not>
469
          		</with>
470
            </visibleWhen>
471
         </command>
472
         <command
473
               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
474
               label="%command.label.11"
475
               style="push">
476
            <visibleWhen
477
                  checkEnabled="true">
478
               <not>
479
                  <reference
480
                        definitionId="isCompatible">
481
                  </reference>
482
               </not>
483
            </visibleWhen>
484
            
485
         </command>
486
      </menuContribution>
487
      <menuContribution
488
            locationURI="toolbar:org.eclipse.ui.trim.status">
489
         <toolbar
490
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
491
            <control
492
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
493
            </control>
494
         </toolbar>
495
      </menuContribution>
496
      <menuContribution
497
            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
498
         <menu
499
               label="%menu.label.0">
500
            <command
501
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
502
                  label="%command.label.12"
503
                  style="push">
504
            </command>
505
            <command
506
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
507
                  label="%command.label.13"
508
                  style="push">
509
               <visibleWhen
510
                     checkEnabled="true">
511
                  <reference
512
                        definitionId="isModifiable">
513
                  </reference>
514
               </visibleWhen>
515
            </command>
516
         </menu>
517
         <command
518
               commandId="org.eclipse.ui.edit.delete"
519
               label="%command.label.14"
520
               style="push">
521
            <visibleWhen
522
                  checkEnabled="true">
523
               <reference
524
                     definitionId="isModifiable">
525
               </reference>
526
            </visibleWhen>
527
         </command>
528
      </menuContribution>
529
      <menuContribution
530
            allPopups="false"
531
            locationURI="popup:eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
532
         <command
533
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
534
               label="Open in Derivate Editor"
535
               style="push">
536
            <visibleWhen
537
                  checkEnabled="true">
538
               <with
539
                     variable="selection">
540
                  <count
541
                        value="+">
542
                  </count>
543
               </with>
544
            </visibleWhen>
545
         </command>
546
      </menuContribution>
547
   </extension>
548
   <extension
549
         point="org.eclipse.ui.handlers">
550
      <handler
551
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
552
            commandId="org.eclipse.ui.edit.delete">
553
         <activeWhen>
554
            <with
555
                  variable="activePartId">
556
               <equals
557
                     value="eu.etaxonomy.taxeditor.view.datasource">
558
               </equals>
559
            </with>
560
         </activeWhen>
561
      </handler>
562
      <handler
563
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
564
            commandId="org.eclipse.ui.edit.delete">
565
         <activeWhen>
566
            <with
567
                  variable="activePartId">
568
               <equals
569
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
570
               </equals>
571
            </with>
572
         </activeWhen>
573
      </handler>
574
      <handler
575
            class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
576
            commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
577
         <activeWhen>
578
            <reference
579
                  definitionId="hasROLE_PROJECT_MANAGER">
580
            </reference>
581
         </activeWhen>
582
      </handler>
583
      <handler
584
            class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
585
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
586
         <enabledWhen>
587
            <reference
588
                  definitionId="isUserLoggedIn">
589
            </reference></enabledWhen>
590
      </handler>
591
      <handler
592
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
593
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
594
         <enabledWhen>
595
            <reference
596
                  definitionId="isUserLoggedIn">
597
            </reference></enabledWhen>
598
      </handler>
599
      <handler
600
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
601
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
602
         <activeWhen>
603
            <reference
604
                  definitionId="hasROLE_PROJECT_MANAGER">
605
            </reference>
606
         </activeWhen>
607
      </handler>
608
   </extension>
609
   <extension
610
         name="Popup Menu Commands"
611
         point="org.eclipse.ui.commands">
612
      <command
613
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
614
            id="eu.etaxonomy.taxeditor.store.datasource.change"
615
            name="%command.name">
616
      </command>
617
      <command
618
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
619
            id="eu.etaxonomy.taxeditor.store.datasource.edit"
620
            name="%command.name.0">
621
      </command>
622
      <command
623
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
624
            id="eu.etaxonomy.taxeditor.store.datasource.clone"
625
            name="Clone Datasource">
626
      </command>
627
      <command
628
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
629
            id="eu.etaxonomy.taxeditor.store.datasource.create"
630
            name="%command.name.1">
631
      </command>
632
      <command
633
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
634
            id="eu.etaxonomy.taxeditor.store.datasource.close"
635
            name="%command.name.2">
636
      </command>
637
      <command
638
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
639
            id="eu.etaxonomy.taxeditor.store.datasource.update"
640
            name="%command.name.3">
641
      </command>
642
      <command
643
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
644
            name="%command.name.4">
645
      </command>
646
      <command
647
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
648
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
649
            name="%command.name.5">
650
         <commandParameter
651
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
652
               name="%commandParameter.name.0"
653
               optional="true">
654
         </commandParameter>
655
      </command>
656
      <command
657
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
658
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
659
            name="%command.name.6">
660
      </command>
661
      <command
662
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
663
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
664
            name="%command.name.7">
665
      </command>
666
      <command
667
         id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
668
         name="Open Feature Tree Editor Wizard">
669
   	  </command>
670
      <command
671
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
672
            name="Open Password Wizzard">
673
      </command>
674
      <command
675
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
676
            name="Open Distribution Editor Wizard">
677
      </command>
678
      <command
679
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
680
            id="eu.etaxonomy.taxeditor.datasource.connect"
681
            name="Connect">
682
      </command>
683
   </extension>
684
   <extension
685
         point="org.eclipse.ui.importWizards">
686
      <category
687
            id="eu.etaxonomy.taxeditor.import.category.cdm"
688
            name="%category.name">
689
      </category>
690
      <wizard
691
            category="eu.etaxonomy.taxeditor.import.category.cdm"
692
            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
693
            id="eu.etaxonomy.taxeditor.io.import.tcs"
694
            name="%wizard.name">
695
      </wizard>
696
   <!--   <wizard
697
            category="eu.etaxonomy.taxeditor.import.category.cdm"
698
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
699
            id="eu.etaxonomy.taxeditor.io.import.jaxb"
700
            name="JAXB">
701
      </wizard> -->
702
   <!--   <wizard
703
            category="eu.etaxonomy.taxeditor.import.category.cdm"
704
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
705
            id="eu.etaxonomy.taxeditor.io.import.berlinModel"
706
            name="%wizard.name.0">
707
      </wizard>
708
      <wizard
709
            category="eu.etaxonomy.taxeditor.import.category.cdm"
710
            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
711
            id="eu.etaxonomy.taxeditor.io.import.endnote"
712
            name="%wizard.name.1">
713
      </wizard>-->
714
      <wizard
715
            category="eu.etaxonomy.taxeditor.import.category.cdm"
716
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
717
            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
718
            name="%wizard.name.2">
719
      </wizard>
720
      <wizard
721
            category="eu.etaxonomy.taxeditor.import.category.cdm"
722
            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
723
            id="eu.etaxonomy.taxeditor.io.import.abcd"
724
            name="%wizard.name.3">
725
      </wizard>
726
      <wizard
727
            category="eu.etaxonomy.taxeditor.import.category.cdm"
728
            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
729
            id="eu.etaxonomy.taxeditor.io.import.sdd"
730
            name="%wizard.name.4">
731
      </wizard>
732
      <wizard
733
            category="eu.etaxonomy.taxeditor.import.category.cdm"
734
            class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
735
            id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
736
            name="%wizard.name.5">
737
      </wizard>
738
   </extension>
739
   <extension
740
         point="org.eclipse.ui.exportWizards">
741
      <category
742
            id="eu.etaxonomy.taxeditor.export.category.cdm"
743
            name="%category.name.0">
744
      </category>
745
      <wizard
746
            category="eu.etaxonomy.taxeditor.export.category.cdm"
747
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
748
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
749
            name="%wizard.name.6">
750
      </wizard>
751
      <!--<wizard
752
            category="eu.etaxonomy.taxeditor.export.category.cdm"
753
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
754
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
755
            name="%wizard.name.7">
756
      </wizard>-->
757
      <category
758
            id="eu.etaxonomy.taxeditor.export.category.excel"
759
            name="%category.name.1">
760
      </category>
761
      <wizard
762
            category="eu.etaxonomy.taxeditor.export.category.cdm"
763
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
764
            id="eu.etaxonomy.taxeditor.io.export.sdd"
765
            name="%wizard.name.8">
766
      </wizard>
767
      <wizard
768
            category="eu.etaxonomy.taxeditor.export.category.cdm"
769
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
770
            id="eu.etaxonomy.taxeditor.io.export.dwca"
771
            name="%wizard.name.9">
772
      </wizard>
773
      <wizard
774
            category="eu.etaxonomy.taxeditor.export.category.cdm"
775
            class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
776
            id="eu.etaxonomy.taxeditor.io.export.csv"
777
            name="CSV">
778
      </wizard>
779
   </extension>
780
   <extension
781
         point="org.eclipse.ui.newWizards">
782
      <wizard
783
            category="eu.etaxonomy.taxeditor.new.category.cdm"
784
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
785
            hasPages="true"
786
            id="eu.etaxonomy.taxeditor.new.reference"
787
            name="%wizard.name.10">
788
      </wizard>
789
      <wizard
790
            category="eu.etaxonomy.taxeditor.new.category.cdm"
791
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
792
            hasPages="true"
793
            id="eu.etaxonomy.taxeditor.new.nonViralName"
794
            name="%wizard.name.11">
795
      </wizard>
796
      <wizard
797
            category="eu.etaxonomy.taxeditor.new.category.cdm"
798
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
799
            hasPages="true"
800
            id="eu.etaxonomy.taxeditor.new.team"
801
            name="%wizard.name.12">
802
      </wizard>
803
      <wizard
804
            category="eu.etaxonomy.taxeditor.new.category.cdm"
805
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
806
            hasPages="true"
807
            id="eu.etaxonomy.taxeditor.new.person"
808
            name="%wizard.name.13">
809
      </wizard>
810
      <wizard
811
            category="eu.etaxonomy.taxeditor.new.category.cdm"
812
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
813
            hasPages="true"
814
            id="eu.etaxonomy.taxeditor.new.specimen"
815
            name="%wizard.name.14">
816
      </wizard>
817
      <wizard
818
            category="eu.etaxonomy.taxeditor.new.category.cdm"
819
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
820
            hasPages="true"
821
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
822
            name="%wizard.name.15">
823
      </wizard>
824
      <category
825
            id="eu.etaxonomy.taxeditor.new.category.cdm"
826
            name="%category.name.2">
827
      </category>
828
      <wizard
829
            category="eu.etaxonomy.taxeditor.new.category.cdm"
830
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
831
            hasPages="true"
832
            id="eu.etaxonomy.taxeditor.new.taxonNode"
833
            name="%wizard.name.16">
834
      </wizard>
835
      <wizard
836
            category="eu.etaxonomy.taxeditor.new.category.cdm"
837
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
838
            hasPages="true"
839
            icon="icons/tree_icon_small.jpg"
840
            id="eu.etaxonomy.taxeditor.new.classification"
841
            name="%wizard.name.17">
842
      </wizard>
843
   </extension>
844
<extension
845
            point="org.eclipse.ui.themes">
846
         <themeElementCategory
847
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
848
               label="%themeElementCategory.label">
849
            <description>
850
               %themeElementCategory.description
851
            </description>
852
         </themeElementCategory>
853
         <colorDefinition
854
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
855
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
856
               label="%colorDefinition.label"
857
               value="150,150,150">
858
         </colorDefinition>
859
         <colorDefinition
860
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
861
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
862
               label="%colorDefinition.label.0"
863
               value="0,0,0">
864
         </colorDefinition>
865
         <colorDefinition
866
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
867
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
868
               label="%colorDefinition.label.1"
869
               value="255,255,255">
870
         </colorDefinition>
871
         <colorDefinition
872
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
873
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
874
               label="%colorDefinition.label.2"
875
               value="241,139,18">
876
         </colorDefinition>
877
         <colorDefinition
878
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
879
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
880
               label="%colorDefinition.label.3"
881
               value="150,150,150">
882
         </colorDefinition>
883
         <colorDefinition
884
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
885
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
886
               label="%colorDefinition.label.4"
887
               value="230,230,230">
888
         </colorDefinition>
889
         <themeElementCategory
890
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
891
               label="%themeElementCategory.label.0"
892
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
893
            <description>
894
               %themeElementCategory.description.0
895
            </description>
896
         </themeElementCategory>
897
         <colorDefinition
898
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
899
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
900
               label="%colorDefinition.label.5"
901
               value="230,230,230">
902
         </colorDefinition>
903
         <colorDefinition
904
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
905
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
906
               label="%colorDefinition.label.6"
907
               value="255,255,255">
908
         </colorDefinition>
909
         <themeElementCategory
910
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
911
               label="%themeElementCategory.label.1"
912
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
913
            <description>
914
               %themeElementCategory.description.1
915
            </description>
916
         </themeElementCategory>
917
         <colorDefinition
918
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
919
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
920
               label="%colorDefinition.label.7"
921
               value="220, 220, 220">
922
         </colorDefinition>
923
         <colorDefinition
924
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
925
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
926
               label="%colorDefinition.label.8"
927
               value="232,242,254">
928
         </colorDefinition>
929
         <colorDefinition
930
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
931
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
932
               label="%colorDefinition.label.9"
933
               value="210, 210, 210">
934
         </colorDefinition>
935
         <colorDefinition
936
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
937
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
938
               label="%colorDefinition.label.10"
939
               value="185,255,133">
940
         </colorDefinition>
941
         <fontDefinition
942
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
943
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
944
               label="%fontDefinition.label"
945
               value="Georgia-regular-12">
946
         </fontDefinition>
947
         <fontDefinition
948
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
949
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
950
               label="%fontDefinition.label.0"
951
               value="Georgia-regular-10">
952
         </fontDefinition>
953
         <fontDefinition
954
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
955
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
956
               label="%fontDefinition.label.1"
957
               value="Georgia-regular-10">
958
         </fontDefinition>
959
         <fontDefinition
960
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
961
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
962
               label="%fontDefinition.label.2"
963
               value="Georgia-regular-10">
964
         </fontDefinition>
965
         <fontDefinition
966
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
967
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
968
               label="%fontDefinition.label.3"
969
               value="Georgia-regular-10">
970
         </fontDefinition>
971
         <themeElementCategory
972
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
973
               label="%themeElementCategory.label.2"
974
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
975
            <description>
976
               %themeElementCategory.description.2
977
            </description>
978
         </themeElementCategory>
979
         <colorDefinition
980
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
981
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
982
               label="%colorDefinition.label.11"
983
               value="192, 192, 192">
984
         </colorDefinition>
985
         <colorDefinition
986
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
987
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
988
               label="%colorDefinition.label.12"
989
               value="0, 0, 0">
990
         </colorDefinition>
991
         <fontDefinition
992
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
993
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
994
               isEditable="true"
995
               label="%fontDefinition.label.4"
996
               value="Arial-regular-10">
997
            <description>
998
               %fontDefinition.description
999
            </description>
1000
         </fontDefinition>
1001
         <fontDefinition
1002
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1003
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1004
               isEditable="true"
1005
               label="%fontDefinition.label.5"
1006
               value="Arial-italic-10">
1007
         <description>
1008
            %fontDefinition.description.0
1009
         </description>
1010
      </fontDefinition>
1011
      <fontDefinition
1012
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1013
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1014
            isEditable="true"
1015
            label="%fontDefinition.label.6"
1016
            value="Lucida Grande-regular-11">
1017
         <description>
1018
            %fontDefinition.description.1
1019
         </description>
1020
      </fontDefinition>
1021
      <colorDefinition
1022
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1023
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1024
            label="%colorDefinition.label.13"
1025
            value="255,0,0">
1026
      </colorDefinition>
1027
      <colorDefinition
1028
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1029
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1030
            label="%colorDefinition.label.14"
1031
            value="105,114,124">
1032
      </colorDefinition>
1033
      <colorDefinition
1034
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1035
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1036
            label="%colorDefinition.label.15"
1037
            value="255,0,0">
1038
      </colorDefinition>
1039
      </extension>
1040
<extension
1041
      point="org.eclipse.core.expressions.propertyTesters">
1042
   <propertyTester
1043
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1044
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1045
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1046
         properties="isCompatible"
1047
         type="org.eclipse.jface.viewers.IStructuredSelection">
1048
   </propertyTester>
1049
    <propertyTester
1050
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1051
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1052
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1053
         properties="test"
1054
         type="org.eclipse.jface.viewers.IStructuredSelection">
1055
   </propertyTester>
1056
   <propertyTester
1057
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1058
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1059
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1060
         properties="isShowExperimentalFeatures"
1061
         type="org.eclipse.jface.viewers.IStructuredSelection">
1062
   </propertyTester>
1063
   <propertyTester
1064
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1065
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1066
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1067
         properties="isModifiable"
1068
         type="org.eclipse.jface.viewers.IStructuredSelection">
1069
   </propertyTester>
1070
   <propertyTester
1071
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1072
        id="eu.etaxonomy.taxeditor.security.permissionTester"
1073
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1074
        properties="hasPermissions, hasRoles"
1075
        type="org.eclipse.jface.viewers.IStructuredSelection">
1076
   </propertyTester>
1077
</extension>
1078
<extension
1079
      point="org.eclipse.core.expressions.definitions">
1080
   <definition
1081
         id="isCompatible">
1082
      <with
1083
            variable="selection">
1084
         <test
1085
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1086
         </test>
1087
      </with>
1088
   </definition>
1089
   <definition
1090
         id="isShowExperimentalFeatures">
1091
      <with
1092
            variable="selection">
1093
         <test
1094
               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1095
         </test>
1096
      </with>
1097
   </definition>
1098
   <definition
1099
         id="isModifiable">
1100
      <with
1101
            variable="selection">
1102
         <test
1103
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1104
         </test>
1105
      </with>
1106
   </definition>
1107
   <definition
1108
            id="canUPDATE">
1109
        	<with
1110
           		variable="selection">
1111
	         <test
1112
	               args="UPDATE"
1113
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1114
	         </test>
1115
         </with>
1116
      </definition>
1117
      <definition
1118
            id="canDELETE">
1119
         <with
1120
               variable="selection">
1121
            <test
1122
                  args="DELETE"
1123
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1124
            </test>
1125
         </with>
1126
    </definition>
1127
      <definition
1128
            id="canCREATE">
1129
         <with
1130
               variable="selection">
1131
            <test
1132
                  args="CREATE"
1133
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1134
            </test>
1135
         </with>
1136
      </definition>
1137
      <definition
1138
            id="isUserLoggedIn">
1139
            <with
1140
               variable="eu.etaxonomy.taxeditor.security.user">
1141
               <instanceof
1142
                     value="eu.etaxonomy.cdm.model.common.User">
1143
               </instanceof>
1144
         </with>
1145
      </definition>
1146
      <definition
1147
            id="hasROLE_USER_MANAGER">
1148
            <with
1149
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1150
            <iterate
1151
                  ifEmpty="false"
1152
                  operator="or">
1153
               <or>
1154
                  <equals
1155
                        value="ROLE_ADMIN">
1156
                  </equals>
1157
                  <equals
1158
                        value="ROLE_USER_MANAGER">
1159
                  </equals>
1160
               </or>
1161
            </iterate>
1162
         </with>
1163
      </definition>
1164
      <definition
1165
            id="hasROLE_PROJECT_MANAGER">
1166
         <with
1167
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1168
            <iterate
1169
                  ifEmpty="false"
1170
                  operator="or">
1171
               <or>
1172
                  <equals
1173
                        value="ROLE_ADMIN">
1174
                  </equals>
1175
                  <equals
1176
                        value="ROLE_PROJECT_MANAGER">
1177
                  </equals>
1178
               </or>
1179
            </iterate>
1180
         </with>
1181
      </definition>
1182
</extension>
1183
<extension
1184
      point="org.eclipse.ui.activities">
1185
   <activity
1186
         description="DELETE permission dependent ui contributions"
1187
         id="eu.etaxonomy.taxeditor.store.activityDelete"
1188
         name="Delete">
1189
      <enabledWhen>
1190
         <reference
1191
               definitionId="canDELETE">
1192
         </reference>
1193
      </enabledWhen>
1194
   </activity>
1195
   <activityPatternBinding
1196
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1197
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1198
   </activityPatternBinding>
1199
   <activity
1200
         description="UPDATE permission dependent ui contributions"
1201
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
1202
         name="Update">
1203
      <enabledWhen>
1204
         <reference
1205
               definitionId="canUPDATE">
1206
         </reference>
1207
      </enabledWhen>
1208
   </activity>
1209
   <activityPatternBinding
1210
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1211
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1212
   </activityPatternBinding>
1213
   <activity
1214
         description="CREATE permission dependent ui contributions"
1215
         id="eu.etaxonomy.taxeditor.store.activityCreate"
1216
         name="Delete">
1217
      <enabledWhen>
1218
         <reference
1219
               definitionId="canDELETE">
1220
         </reference>
1221
      </enabledWhen>
1222
   </activity>
1223
   <activityPatternBinding
1224
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1225
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1226
   </activityPatternBinding>
1227
   <activity
1228
         description="ROLE_USER_MANAGER dependent ui contributions"
1229
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1230
         name="UserManagement">
1231
      <enabledWhen>
1232
         <reference
1233
               definitionId="hasROLE_USER_MANAGER">
1234
         </reference>
1235
      </enabledWhen>
1236
   </activity>
1237
   <activityPatternBinding
1238
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1239
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1240
   </activityPatternBinding>
1241
   <activityPatternBinding
1242
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1243
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1244
   </activityPatternBinding>
1245
   <activity
1246
         description="ROLE_PROJECT_MANAGER dependent ui contributions"
1247
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1248
         name="ProjectManagement">
1249
      <enabledWhen>
1250
         <reference
1251
               definitionId="hasROLE_PROJECT_MANAGER">
1252
         </reference>
1253
      </enabledWhen>
1254
   </activity>
1255
   <activityPatternBinding
1256
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1257
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1258
   </activityPatternBinding>
1259
   <activityPatternBinding
1260
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1261
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1262
         isEqualityPattern="true">
1263
   </activityPatternBinding>
1264
   <activityPatternBinding
1265
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1266
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1267
         isEqualityPattern="true">
1268
   </activityPatternBinding>
1269
</extension>
1270
<extension
1271
      point="org.eclipse.ui.services">
1272
   <sourceProvider
1273
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1274
      <variable
1275
            name="eu.etaxonomy.taxeditor.security.userRoles"
1276
            priorityLevel="workbench">
1277
      </variable>
1278
   </sourceProvider>
1279
</extension>
1280
</plugin>
(5-5/6)