Project

General

Profile

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