Project

General

Profile

Download (50.4 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.preferences.general"
162
            class="eu.etaxonomy.taxeditor.preference.LanguagePreferencePage"
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.DefaultLanguageEditorPreferencePage"
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
                  label="%command.label.1"
309
                  style="push">
310
               <parameter
311
                     name="org.eclipse.ui.views.showView.viewId"
312
                     value="eu.etaxonomy.taxeditor.view.supplementalData">
313
               </parameter>
314
            </command>
315
            <separator
316
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
317
                  visible="true">
318
            </separator>
319
            <command
320
                  commandId="org.eclipse.ui.views.showView"
321
                  label="%command.label.2"
322
                  style="push">
323
               <parameter
324
                     name="org.eclipse.ui.views.showView.viewId"
325
                     value="eu.etaxonomy.taxeditor.view.datasource">
326
               </parameter>
327
            </command>
328
            <command
329
                  commandId="org.eclipse.ui.views.showView"
330
                  label="%command.label.3"
331
                  style="push">
332
               <parameter
333
                     name="org.eclipse.ui.views.showView.viewId"
334
                     value="org.eclipse.pde.runtime.LogView">
335
               </parameter>
336
            </command>
337
            <command
338
                  commandId="org.eclipse.ui.views.showView"
339
                  label="%command.label.4"
340
                  style="push">
341
               <parameter
342
                     name="org.eclipse.ui.views.showView.viewId"
343
                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
344
               </parameter>
345
               <visibleWhen
346
                     checkEnabled="true">
347
                  <reference
348
                        definitionId="isShowExperimentalFeatures">
349
                  </reference>
350
               </visibleWhen>
351
            </command>
352
         </menu>
353
      </menuContribution>
354
      <menuContribution
355
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
356
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
357
      </menuContribution>
358
      <menuContribution
359
            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
360
         <command
361
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
362
               label="%command.label.5"
363
               style="push">
364
         </command>
365
         <separator
366
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
367
               visible="true">
368
         </separator>
369
      </menuContribution>
370
      <menuContribution
371
            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
372
         <command
373
               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
374
               label="%command.label.6"
375
               style="push">
376
               <visibleWhen>
377
              <with
378
           		 variable="selection">
379
           		 <not>
380
         			<test
381
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
382
         			</test>
383
	      		</not>
384
          		</with>
385
            </visibleWhen>
386
         </command>
387
         <command
388
               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
389
               label="%command.label.7"
390
               style="push">
391
         </command>
392
         <command
393
               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
394
               label="%command.label.8"
395
               style="push">
396
                <visibleWhen>
397
              <with
398
           		 variable="selection">
399
           		 <not>
400
         			<test
401
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
402
         			</test>
403
	      		</not>
404
          		</with>
405
            </visibleWhen>
406
         </command>
407
         <command
408
               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
409
               label="Clone"
410
               style="push">
411
                <visibleWhen>
412
              <with
413
           		 variable="selection">
414
           		 <not>
415
         			<test
416
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
417
         			</test>
418
	      		</not>
419
          		</with>
420
            </visibleWhen>
421
         </command>
422
         <separator
423
               name="eu.etaxonomy.taxeditor.store.datasource.separator"
424
               visible="true">
425
         </separator>
426
         <command
427
               commandId="org.eclipse.ui.edit.delete"
428
               label="%command.label.9"
429
               style="push">
430
               <visibleWhen>
431
              <with
432
           		 variable="selection">
433
           		 <not>
434
         			<test
435
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
436
         			</test>
437
	      		</not>
438
          		</with>
439
            </visibleWhen>
440
         </command>
441
         <separator
442
               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
443
               visible="true">
444
         </separator>
445
         <command
446
               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
447
               label="%command.label.10"
448
               style="push">
449
               <visibleWhen>
450
              <with
451
           		 variable="selection">
452
           		 <not>
453
         			<test
454
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
455
         			</test>
456
	      		</not>
457
          		</with>
458
            </visibleWhen>
459
         </command>
460
         <command
461
               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
462
               label="%command.label.11"
463
               style="push">
464
            <visibleWhen
465
                  checkEnabled="true">
466
               <not>
467
                  <reference
468
                        definitionId="isCompatible">
469
                  </reference>
470
               </not>
471
            </visibleWhen>
472
            
473
         </command>
474
      </menuContribution>
475
      <menuContribution
476
            locationURI="toolbar:org.eclipse.ui.trim.status">
477
         <toolbar
478
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
479
            <control
480
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
481
            </control>
482
         </toolbar>
483
      </menuContribution>
484
      <menuContribution
485
            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
486
         <menu
487
               label="%menu.label.0">
488
            <command
489
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
490
                  label="%command.label.12"
491
                  style="push">
492
            </command>
493
            <command
494
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
495
                  label="%command.label.13"
496
                  style="push">
497
               <visibleWhen
498
                     checkEnabled="true">
499
                  <reference
500
                        definitionId="isModifiable">
501
                  </reference>
502
               </visibleWhen>
503
            </command>
504
         </menu>
505
         <command
506
               commandId="org.eclipse.ui.edit.delete"
507
               label="%command.label.14"
508
               style="push">
509
            <visibleWhen
510
                  checkEnabled="true">
511
               <reference
512
                     definitionId="isModifiable">
513
               </reference>
514
            </visibleWhen>
515
         </command>
516
      </menuContribution>
517
      <menuContribution
518
            allPopups="false"
519
            locationURI="popup:eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
520
         <command
521
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
522
               label="Open in Derivate Editor"
523
               style="push">
524
         </command>
525
      </menuContribution>
526
   </extension>
527
   <extension
528
         point="org.eclipse.ui.handlers">
529
      <handler
530
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
531
            commandId="org.eclipse.ui.edit.delete">
532
         <activeWhen>
533
            <with
534
                  variable="activePartId">
535
               <equals
536
                     value="eu.etaxonomy.taxeditor.view.datasource">
537
               </equals>
538
            </with>
539
         </activeWhen>
540
      </handler>
541
      <handler
542
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
543
            commandId="org.eclipse.ui.edit.delete">
544
         <activeWhen>
545
            <with
546
                  variable="activePartId">
547
               <equals
548
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
549
               </equals>
550
            </with>
551
         </activeWhen>
552
      </handler>
553
      <handler
554
            class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
555
            commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
556
         <activeWhen>
557
            <reference
558
                  definitionId="hasROLE_PROJECT_MANAGER">
559
            </reference>
560
         </activeWhen>
561
      </handler>
562
      <handler
563
            class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
564
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
565
         <enabledWhen>
566
            <reference
567
                  definitionId="isUserLoggedIn">
568
            </reference></enabledWhen>
569
      </handler>
570
      <handler
571
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
572
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
573
         <enabledWhen>
574
            <reference
575
                  definitionId="isUserLoggedIn">
576
            </reference></enabledWhen>
577
      </handler>
578
      <handler
579
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
580
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
581
         <activeWhen>
582
            <reference
583
                  definitionId="hasROLE_PROJECT_MANAGER">
584
            </reference>
585
         </activeWhen>
586
      </handler>
587
   </extension>
588
   <extension
589
         name="Popup Menu Commands"
590
         point="org.eclipse.ui.commands">
591
      <command
592
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
593
            id="eu.etaxonomy.taxeditor.store.datasource.change"
594
            name="%command.name">
595
      </command>
596
      <command
597
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
598
            id="eu.etaxonomy.taxeditor.store.datasource.edit"
599
            name="%command.name.0">
600
      </command>
601
      <command
602
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
603
            id="eu.etaxonomy.taxeditor.store.datasource.clone"
604
            name="Clone Datasource">
605
      </command>
606
      <command
607
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
608
            id="eu.etaxonomy.taxeditor.store.datasource.create"
609
            name="%command.name.1">
610
      </command>
611
      <command
612
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
613
            id="eu.etaxonomy.taxeditor.store.datasource.close"
614
            name="%command.name.2">
615
      </command>
616
      <command
617
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
618
            id="eu.etaxonomy.taxeditor.store.datasource.update"
619
            name="%command.name.3">
620
      </command>
621
      <command
622
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
623
            name="%command.name.4">
624
      </command>
625
      <command
626
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
627
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
628
            name="%command.name.5">
629
         <commandParameter
630
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
631
               name="%commandParameter.name.0"
632
               optional="true">
633
         </commandParameter>
634
      </command>
635
      <command
636
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
637
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
638
            name="%command.name.6">
639
      </command>
640
      <command
641
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
642
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
643
            name="%command.name.7">
644
      </command>
645
      <command
646
         id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
647
         name="Open Feature Tree Editor Wizard">
648
   	  </command>
649
      <command
650
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
651
            name="Open Password Wizzard">
652
      </command>
653
      <command
654
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
655
            name="Open Distribution Editor Wizard">
656
      </command>
657
      <command
658
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
659
            id="eu.etaxonomy.taxeditor.datasource.connect"
660
            name="Connect">
661
      </command>
662
   </extension>
663
   <extension
664
         point="org.eclipse.ui.importWizards">
665
      <category
666
            id="eu.etaxonomy.taxeditor.import.category.cdm"
667
            name="%category.name">
668
      </category>
669
      <wizard
670
            category="eu.etaxonomy.taxeditor.import.category.cdm"
671
            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
672
            id="eu.etaxonomy.taxeditor.io.import.tcs"
673
            name="%wizard.name">
674
      </wizard>
675
   <!--   <wizard
676
            category="eu.etaxonomy.taxeditor.import.category.cdm"
677
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
678
            id="eu.etaxonomy.taxeditor.io.import.jaxb"
679
            name="JAXB">
680
      </wizard> -->
681
   <!--   <wizard
682
            category="eu.etaxonomy.taxeditor.import.category.cdm"
683
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
684
            id="eu.etaxonomy.taxeditor.io.import.berlinModel"
685
            name="%wizard.name.0">
686
      </wizard>
687
      <wizard
688
            category="eu.etaxonomy.taxeditor.import.category.cdm"
689
            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
690
            id="eu.etaxonomy.taxeditor.io.import.endnote"
691
            name="%wizard.name.1">
692
      </wizard>-->
693
      <wizard
694
            category="eu.etaxonomy.taxeditor.import.category.cdm"
695
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
696
            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
697
            name="%wizard.name.2">
698
      </wizard>
699
      <wizard
700
            category="eu.etaxonomy.taxeditor.import.category.cdm"
701
            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
702
            id="eu.etaxonomy.taxeditor.io.import.abcd"
703
            name="%wizard.name.3">
704
      </wizard>
705
      <wizard
706
            category="eu.etaxonomy.taxeditor.import.category.cdm"
707
            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
708
            id="eu.etaxonomy.taxeditor.io.import.sdd"
709
            name="%wizard.name.4">
710
      </wizard>
711
      <wizard
712
            category="eu.etaxonomy.taxeditor.import.category.cdm"
713
            class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
714
            id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
715
            name="%wizard.name.5">
716
      </wizard>
717
   </extension>
718
   <extension
719
         point="org.eclipse.ui.exportWizards">
720
      <category
721
            id="eu.etaxonomy.taxeditor.export.category.cdm"
722
            name="%category.name.0">
723
      </category>
724
      <wizard
725
            category="eu.etaxonomy.taxeditor.export.category.cdm"
726
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
727
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
728
            name="%wizard.name.6">
729
      </wizard>
730
      <!--<wizard
731
            category="eu.etaxonomy.taxeditor.export.category.cdm"
732
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
733
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
734
            name="%wizard.name.7">
735
      </wizard>-->
736
      <category
737
            id="eu.etaxonomy.taxeditor.export.category.excel"
738
            name="%category.name.1">
739
      </category>
740
      <wizard
741
            category="eu.etaxonomy.taxeditor.export.category.cdm"
742
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
743
            id="eu.etaxonomy.taxeditor.io.export.sdd"
744
            name="%wizard.name.8">
745
      </wizard>
746
      <wizard
747
            category="eu.etaxonomy.taxeditor.export.category.cdm"
748
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
749
            id="eu.etaxonomy.taxeditor.io.export.dwca"
750
            name="%wizard.name.9">
751
      </wizard>
752
      <wizard
753
            category="eu.etaxonomy.taxeditor.export.category.cdm"
754
            class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
755
            id="eu.etaxonomy.taxeditor.io.export.csv"
756
            name="CSV">
757
      </wizard>
758
   </extension>
759
   <extension
760
         point="org.eclipse.ui.newWizards">
761
      <wizard
762
            category="eu.etaxonomy.taxeditor.new.category.cdm"
763
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
764
            hasPages="true"
765
            id="eu.etaxonomy.taxeditor.new.reference"
766
            name="%wizard.name.10">
767
      </wizard>
768
      <wizard
769
            category="eu.etaxonomy.taxeditor.new.category.cdm"
770
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
771
            hasPages="true"
772
            id="eu.etaxonomy.taxeditor.new.nonViralName"
773
            name="%wizard.name.11">
774
      </wizard>
775
      <wizard
776
            category="eu.etaxonomy.taxeditor.new.category.cdm"
777
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
778
            hasPages="true"
779
            id="eu.etaxonomy.taxeditor.new.team"
780
            name="%wizard.name.12">
781
      </wizard>
782
      <wizard
783
            category="eu.etaxonomy.taxeditor.new.category.cdm"
784
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
785
            hasPages="true"
786
            id="eu.etaxonomy.taxeditor.new.person"
787
            name="%wizard.name.13">
788
      </wizard>
789
      <wizard
790
            category="eu.etaxonomy.taxeditor.new.category.cdm"
791
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
792
            hasPages="true"
793
            id="eu.etaxonomy.taxeditor.new.specimen"
794
            name="%wizard.name.14">
795
      </wizard>
796
      <wizard
797
            category="eu.etaxonomy.taxeditor.new.category.cdm"
798
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
799
            hasPages="true"
800
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
801
            name="%wizard.name.15">
802
      </wizard>
803
      <category
804
            id="eu.etaxonomy.taxeditor.new.category.cdm"
805
            name="%category.name.2">
806
      </category>
807
      <wizard
808
            category="eu.etaxonomy.taxeditor.new.category.cdm"
809
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
810
            hasPages="true"
811
            id="eu.etaxonomy.taxeditor.new.taxonNode"
812
            name="%wizard.name.16">
813
      </wizard>
814
      <wizard
815
            category="eu.etaxonomy.taxeditor.new.category.cdm"
816
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
817
            hasPages="true"
818
            icon="icons/tree_icon_small.jpg"
819
            id="eu.etaxonomy.taxeditor.new.classification"
820
            name="%wizard.name.17">
821
      </wizard>
822
   </extension>
823
<extension
824
            point="org.eclipse.ui.themes">
825
         <themeElementCategory
826
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
827
               label="%themeElementCategory.label">
828
            <description>
829
               %themeElementCategory.description
830
            </description>
831
         </themeElementCategory>
832
         <colorDefinition
833
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
834
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
835
               label="%colorDefinition.label"
836
               value="150,150,150">
837
         </colorDefinition>
838
         <colorDefinition
839
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
840
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
841
               label="%colorDefinition.label.0"
842
               value="0,0,0">
843
         </colorDefinition>
844
         <colorDefinition
845
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
846
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
847
               label="%colorDefinition.label.1"
848
               value="255,255,255">
849
         </colorDefinition>
850
         <colorDefinition
851
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
852
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
853
               label="%colorDefinition.label.2"
854
               value="241,139,18">
855
         </colorDefinition>
856
         <colorDefinition
857
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
858
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
859
               label="%colorDefinition.label.3"
860
               value="150,150,150">
861
         </colorDefinition>
862
         <colorDefinition
863
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
864
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
865
               label="%colorDefinition.label.4"
866
               value="230,230,230">
867
         </colorDefinition>
868
         <themeElementCategory
869
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
870
               label="%themeElementCategory.label.0"
871
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
872
            <description>
873
               %themeElementCategory.description.0
874
            </description>
875
         </themeElementCategory>
876
         <colorDefinition
877
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
878
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
879
               label="%colorDefinition.label.5"
880
               value="230,230,230">
881
         </colorDefinition>
882
         <colorDefinition
883
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
884
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
885
               label="%colorDefinition.label.6"
886
               value="255,255,255">
887
         </colorDefinition>
888
         <themeElementCategory
889
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
890
               label="%themeElementCategory.label.1"
891
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
892
            <description>
893
               %themeElementCategory.description.1
894
            </description>
895
         </themeElementCategory>
896
         <colorDefinition
897
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
898
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
899
               label="%colorDefinition.label.7"
900
               value="220, 220, 220">
901
         </colorDefinition>
902
         <colorDefinition
903
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
904
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
905
               label="%colorDefinition.label.8"
906
               value="232,242,254">
907
         </colorDefinition>
908
         <colorDefinition
909
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
910
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
911
               label="%colorDefinition.label.9"
912
               value="210, 210, 210">
913
         </colorDefinition>
914
         <colorDefinition
915
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
916
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
917
               label="%colorDefinition.label.10"
918
               value="185,255,133">
919
         </colorDefinition>
920
         <fontDefinition
921
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
922
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
923
               label="%fontDefinition.label"
924
               value="Georgia-regular-12">
925
         </fontDefinition>
926
         <fontDefinition
927
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
928
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
929
               label="%fontDefinition.label.0"
930
               value="Georgia-regular-10">
931
         </fontDefinition>
932
         <fontDefinition
933
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
934
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
935
               label="%fontDefinition.label.1"
936
               value="Georgia-regular-10">
937
         </fontDefinition>
938
         <fontDefinition
939
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
940
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
941
               label="%fontDefinition.label.2"
942
               value="Georgia-regular-10">
943
         </fontDefinition>
944
         <fontDefinition
945
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
946
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
947
               label="%fontDefinition.label.3"
948
               value="Georgia-regular-10">
949
         </fontDefinition>
950
         <themeElementCategory
951
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
952
               label="%themeElementCategory.label.2"
953
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
954
            <description>
955
               %themeElementCategory.description.2
956
            </description>
957
         </themeElementCategory>
958
         <colorDefinition
959
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
960
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
961
               label="%colorDefinition.label.11"
962
               value="192, 192, 192">
963
         </colorDefinition>
964
         <colorDefinition
965
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
966
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
967
               label="%colorDefinition.label.12"
968
               value="0, 0, 0">
969
         </colorDefinition>
970
         <fontDefinition
971
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
972
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
973
               isEditable="true"
974
               label="%fontDefinition.label.4"
975
               value="Arial-regular-10">
976
            <description>
977
               %fontDefinition.description
978
            </description>
979
         </fontDefinition>
980
         <fontDefinition
981
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
982
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
983
               isEditable="true"
984
               label="%fontDefinition.label.5"
985
               value="Arial-italic-10">
986
         <description>
987
            %fontDefinition.description.0
988
         </description>
989
      </fontDefinition>
990
      <fontDefinition
991
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
992
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
993
            isEditable="true"
994
            label="%fontDefinition.label.6"
995
            value="Lucida Grande-regular-11">
996
         <description>
997
            %fontDefinition.description.1
998
         </description>
999
      </fontDefinition>
1000
      <colorDefinition
1001
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1002
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1003
            label="%colorDefinition.label.13"
1004
            value="255,0,0">
1005
      </colorDefinition>
1006
      <colorDefinition
1007
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1008
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1009
            label="%colorDefinition.label.14"
1010
            value="105,114,124">
1011
      </colorDefinition>
1012
      <colorDefinition
1013
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1014
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1015
            label="%colorDefinition.label.15"
1016
            value="255,0,0">
1017
      </colorDefinition>
1018
      </extension>
1019
<extension
1020
      point="org.eclipse.core.expressions.propertyTesters">
1021
   <propertyTester
1022
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1023
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1024
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1025
         properties="isCompatible"
1026
         type="org.eclipse.jface.viewers.IStructuredSelection">
1027
   </propertyTester>
1028
    <propertyTester
1029
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1030
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1031
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1032
         properties="test"
1033
         type="org.eclipse.jface.viewers.IStructuredSelection">
1034
   </propertyTester>
1035
   <propertyTester
1036
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1037
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1038
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1039
         properties="isShowExperimentalFeatures"
1040
         type="org.eclipse.jface.viewers.IStructuredSelection">
1041
   </propertyTester>
1042
   <propertyTester
1043
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1044
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1045
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1046
         properties="isModifiable"
1047
         type="org.eclipse.jface.viewers.IStructuredSelection">
1048
   </propertyTester>
1049
   <propertyTester
1050
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1051
        id="eu.etaxonomy.taxeditor.security.permissionTester"
1052
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1053
        properties="hasPermissions, hasRoles"
1054
        type="org.eclipse.jface.viewers.IStructuredSelection">
1055
   </propertyTester>
1056
</extension>
1057
<extension
1058
      point="org.eclipse.core.expressions.definitions">
1059
   <definition
1060
         id="isCompatible">
1061
      <with
1062
            variable="selection">
1063
         <test
1064
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1065
         </test>
1066
      </with>
1067
   </definition>
1068
   <definition
1069
         id="isShowExperimentalFeatures">
1070
      <with
1071
            variable="selection">
1072
         <test
1073
               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1074
         </test>
1075
      </with>
1076
   </definition>
1077
   <definition
1078
         id="isModifiable">
1079
      <with
1080
            variable="selection">
1081
         <test
1082
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1083
         </test>
1084
      </with>
1085
   </definition>
1086
   <definition
1087
            id="canUPDATE">
1088
        	<with
1089
           		variable="selection">
1090
	         <test
1091
	               args="UPDATE"
1092
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1093
	         </test>
1094
         </with>
1095
      </definition>
1096
      <definition
1097
            id="canDELETE">
1098
         <with
1099
               variable="selection">
1100
            <test
1101
                  args="DELETE"
1102
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1103
            </test>
1104
         </with>
1105
    </definition>
1106
      <definition
1107
            id="canCREATE">
1108
         <with
1109
               variable="selection">
1110
            <test
1111
                  args="CREATE"
1112
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1113
            </test>
1114
         </with>
1115
      </definition>
1116
      <definition
1117
            id="isUserLoggedIn">
1118
            <with
1119
               variable="eu.etaxonomy.taxeditor.security.user">
1120
               <instanceof
1121
                     value="eu.etaxonomy.cdm.model.common.User">
1122
               </instanceof>
1123
         </with>
1124
      </definition>
1125
      <definition
1126
            id="hasROLE_USER_MANAGER">
1127
            <with
1128
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1129
            <iterate
1130
                  ifEmpty="false"
1131
                  operator="or">
1132
               <or>
1133
                  <equals
1134
                        value="ROLE_ADMIN">
1135
                  </equals>
1136
                  <equals
1137
                        value="ROLE_USER_MANAGER">
1138
                  </equals>
1139
               </or>
1140
            </iterate>
1141
         </with>
1142
      </definition>
1143
      <definition
1144
            id="hasROLE_PROJECT_MANAGER">
1145
         <with
1146
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1147
            <iterate
1148
                  ifEmpty="false"
1149
                  operator="or">
1150
               <or>
1151
                  <equals
1152
                        value="ROLE_ADMIN">
1153
                  </equals>
1154
                  <equals
1155
                        value="ROLE_PROJECT_MANAGER">
1156
                  </equals>
1157
               </or>
1158
            </iterate>
1159
         </with>
1160
      </definition>
1161
</extension>
1162
<extension
1163
      point="org.eclipse.ui.activities">
1164
   <activity
1165
         description="DELETE permission dependent ui contributions"
1166
         id="eu.etaxonomy.taxeditor.store.activityDelete"
1167
         name="Delete">
1168
      <enabledWhen>
1169
         <reference
1170
               definitionId="canDELETE">
1171
         </reference>
1172
      </enabledWhen>
1173
   </activity>
1174
   <activityPatternBinding
1175
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1176
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1177
   </activityPatternBinding>
1178
   <activity
1179
         description="UPDATE permission dependent ui contributions"
1180
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
1181
         name="Update">
1182
      <enabledWhen>
1183
         <reference
1184
               definitionId="canUPDATE">
1185
         </reference>
1186
      </enabledWhen>
1187
   </activity>
1188
   <activityPatternBinding
1189
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1190
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1191
   </activityPatternBinding>
1192
   <activity
1193
         description="CREATE permission dependent ui contributions"
1194
         id="eu.etaxonomy.taxeditor.store.activityCreate"
1195
         name="Delete">
1196
      <enabledWhen>
1197
         <reference
1198
               definitionId="canDELETE">
1199
         </reference>
1200
      </enabledWhen>
1201
   </activity>
1202
   <activityPatternBinding
1203
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1204
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1205
   </activityPatternBinding>
1206
   <activity
1207
         description="ROLE_USER_MANAGER dependent ui contributions"
1208
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1209
         name="UserManagement">
1210
      <enabledWhen>
1211
         <reference
1212
               definitionId="hasROLE_USER_MANAGER">
1213
         </reference>
1214
      </enabledWhen>
1215
   </activity>
1216
   <activityPatternBinding
1217
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1218
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1219
   </activityPatternBinding>
1220
   <activityPatternBinding
1221
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1222
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1223
   </activityPatternBinding>
1224
   <activity
1225
         description="ROLE_PROJECT_MANAGER dependent ui contributions"
1226
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1227
         name="ProjectManagement">
1228
      <enabledWhen>
1229
         <reference
1230
               definitionId="hasROLE_PROJECT_MANAGER">
1231
         </reference>
1232
      </enabledWhen>
1233
   </activity>
1234
   <activityPatternBinding
1235
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1236
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1237
   </activityPatternBinding>
1238
   <activityPatternBinding
1239
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1240
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1241
         isEqualityPattern="true">
1242
   </activityPatternBinding>
1243
   <activityPatternBinding
1244
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1245
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1246
         isEqualityPattern="true">
1247
   </activityPatternBinding>
1248
</extension>
1249
<extension
1250
      point="org.eclipse.ui.services">
1251
   <sourceProvider
1252
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1253
      <variable
1254
            name="eu.etaxonomy.taxeditor.security.userRoles"
1255
            priorityLevel="workbench">
1256
      </variable>
1257
   </sourceProvider>
1258
</extension>
1259
</plugin>
(5-5/6)