Project

General

Profile

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