Project

General

Profile

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