Project

General

Profile

Download (56.5 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.OpenImportPreferenceHandler"
579
            commandId="eu.etaxonomy.taxeditor.store.open.OpenImportPreferenceHandler">
580
            <activeWhen>
581
            <reference
582
                  definitionId="hasROLE_PROJECT_MANAGER">
583
            </reference>
584
         </activeWhen>
585
      </handler>
586
      <handler
587
            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
588
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
589
         <activeWhen>
590
            <reference
591
                  definitionId="isRemoting">
592
            </reference>
593
         </activeWhen>
594
      </handler>
595
   </extension>
596
   <extension
597
         name="%extension.name.0"
598
         point="org.eclipse.ui.commands">
599
      <command
600
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
601
            id="eu.etaxonomy.taxeditor.store.datasource.change"
602
            name="%command.name">
603
      </command>
604
      <command
605
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
606
            id="eu.etaxonomy.taxeditor.store.datasource.edit"
607
            name="%command.name.0">
608
      </command>
609
      <command
610
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
611
            id="eu.etaxonomy.taxeditor.store.datasource.clone"
612
            name="%command.name.8">
613
      </command>
614
      <command
615
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
616
            id="eu.etaxonomy.taxeditor.store.datasource.create"
617
            name="%command.name.1">
618
      </command>
619
      <command
620
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
621
            id="eu.etaxonomy.taxeditor.view.datasource.delete"
622
            name="%command.name.13">
623
      </command>
624
      <command
625
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
626
            id="eu.etaxonomy.taxeditor.store.datasource.update"
627
            name="%command.name.3">
628
      </command>
629
      <command
630
            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
631
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
632
            name="%command.name.4">
633
      </command>
634
      <command
635
            id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
636
            name="%command.name.CONNECT">
637
      </command>
638
      <command
639
            defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
640
            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
641
            name="%command.name.RE_CONNECT">
642
      </command>
643
      <command
644
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
645
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
646
            name="%command.name.5">
647
         <commandParameter
648
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
649
               name="%commandParameter.name.0"
650
               optional="true">
651
         </commandParameter>
652
      </command>
653
      <command
654
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
655
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
656
            name="%command.name.6">
657
      </command>
658
      <command
659
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
660
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
661
            name="%command.name.7">
662
      </command>
663
      <command
664
         id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
665
         name="%command.name.9">
666
   	  </command>
667
      <command
668
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
669
            name="%command.name.10">
670
      </command>
671
      <command
672
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
673
            name="%command.name.11">
674
      </command>
675
       <command
676
            id="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler"
677
            name="%command.name.15">
678
      </command>
679
      
680
      <command
681
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
682
            id="eu.etaxonomy.taxeditor.datasource.connect"
683
            name="%command.name.12">
684
      </command>
685
      <command
686
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
687
            id="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
688
            name="%command.name.14">
689
      </command>
690
      <command
691
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
692
            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
693
            name="%command.name.INSPECT_ACTIVE_SESSIONS">
694
      </command>
695
      <command
696
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
697
            id="eu.etaxonomy.taxeditor.store.open"
698
            name="%command.name.15">
699
      </command>
700
      <command
701
            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenClassificationWizardHandler"
702
            id="eu.etaxonomy.taxeditor.command.openClassificationWizard"
703
            name="%command.name.OPEN_CLASSIFICATION_WIZARD">
704
         <commandParameter
705
               id="eu.etaxonomy.taxeditor.command.openClassificationWizard.uuid"
706
               name="Classification Uuid"
707
               optional="true"
708
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
709
         </commandParameter>
710
      </command>
711
      <command
712
            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenTaxonNodeWizardHandler"
713
            id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
714
            name="%command.name.OPEN_TAXONNODE_WIZARD">
715
         <commandParameter
716
               id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard.uuid"
717
               name="TaxonNode Uuid"
718
               optional="true"
719
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
720
         </commandParameter>
721
      </command>
722
   </extension>
723
   <extension
724
         point="org.eclipse.ui.commands">
725
      <commandParameterType
726
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
727
            id="eu.etaxonomy.taxeditor.uuidParameterType"
728
            type="java.util.UUID">
729
      </commandParameterType>
730
      <commandParameterType
731
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
732
            id="eu.etaxonomy.taxeditor.uuidsParameterType"
733
            type="java.util.List">
734
      </commandParameterType>
735
   </extension>
736
   <extension
737
         point="org.eclipse.ui.importWizards">
738
      <category
739
            id="eu.etaxonomy.taxeditor.import.category.cdm"
740
            name="%category.name">
741
      </category>
742
      <wizard
743
            category="eu.etaxonomy.taxeditor.import.category.cdm"
744
            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
745
            id="eu.etaxonomy.taxeditor.io.import.tcs"
746
            name="%wizard.name">
747
      </wizard>
748
       <wizard
749
            category="eu.etaxonomy.taxeditor.import.category.cdm"
750
            class="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
751
            id="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
752
            name="%wizard.name.21">
753
            <description>
754
                %wizard.description
755
            </description>
756
        </wizard>
757
   
758
   <!--   <wizard
759
            category="eu.etaxonomy.taxeditor.import.category.cdm"
760
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
761
            id="eu.etaxonomy.taxeditor.io.import.jaxb"
762
            name="JAXB">
763
      </wizard> -->
764
   <!--   <wizard
765
            category="eu.etaxonomy.taxeditor.import.category.cdm"
766
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
767
            id="eu.etaxonomy.taxeditor.io.import.berlinModel"
768
            name="%wizard.name.0">
769
      </wizard>
770
      <wizard
771
            category="eu.etaxonomy.taxeditor.import.category.cdm"
772
            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
773
            id="eu.etaxonomy.taxeditor.io.import.endnote"
774
            name="%wizard.name.1">
775
      </wizard>-->
776
      <wizard
777
            category="eu.etaxonomy.taxeditor.import.category.cdm"
778
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
779
            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
780
            name="%wizard.name.2">
781
      </wizard>
782
      <wizard
783
            category="eu.etaxonomy.taxeditor.import.category.cdm"
784
            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
785
            id="eu.etaxonomy.taxeditor.io.import.abcd"
786
            name="%wizard.name.3">
787
      </wizard>
788
       <wizard
789
            category="eu.etaxonomy.taxeditor.import.category.cdm"
790
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelDistributionUpdateWizard"
791
            id="eu.etaxonomy.taxeditor.io.import.excelDistribution"
792
            name="%wizard.name.23">
793
      </wizard>
794
      <wizard
795
            category="eu.etaxonomy.taxeditor.import.category.cdm"
796
            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
797
            id="eu.etaxonomy.taxeditor.io.import.sdd"
798
            name="%wizard.name.4">
799
      </wizard>
800
      <wizard
801
            category="eu.etaxonomy.taxeditor.import.category.cdm"
802
            class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
803
            id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
804
            name="%wizard.name.5">
805
      </wizard>
806
   </extension>
807
   <extension
808
         point="org.eclipse.ui.exportWizards">
809
      <category
810
            id="eu.etaxonomy.taxeditor.export.category.cdm"
811
            name="%category.name.0">
812
      </category>
813
      <wizard
814
            category="eu.etaxonomy.taxeditor.export.category.cdm"
815
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
816
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
817
            name="%wizard.name.6">
818
      </wizard>
819
      <!--<wizard
820
            category="eu.etaxonomy.taxeditor.export.category.cdm"
821
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
822
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
823
            name="%wizard.name.7">
824
      </wizard>-->
825
      <category
826
            id="eu.etaxonomy.taxeditor.export.category.excel"
827
            name="%category.name.1">
828
      </category>
829
      <wizard
830
            category="eu.etaxonomy.taxeditor.export.category.cdm"
831
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
832
            id="eu.etaxonomy.taxeditor.io.export.sdd"
833
            name="%wizard.name.8">
834
      </wizard>
835
      <wizard
836
            category="eu.etaxonomy.taxeditor.export.category.cdm"
837
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
838
            id="eu.etaxonomy.taxeditor.io.export.dwca"
839
            name="%wizard.name.9">
840
      </wizard>
841
      <wizard
842
            category="eu.etaxonomy.taxeditor.export.category.cdm"
843
            class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
844
            id="eu.etaxonomy.taxeditor.io.export.csv"
845
            name="%wizard.name.18">
846
      </wizard>
847
      <wizard
848
            category="eu.etaxonomy.taxeditor.export.category.cdm"
849
            class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
850
            id="eu.etaxonomy.taxeditor.io.export.csv_name"
851
            name="%wizard.name.19">
852
      </wizard>
853
      <wizard
854
            category="eu.etaxonomy.taxeditor.export.category.cdm"
855
            class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
856
            id="eu.etaxonomy.taxeditor.io.export.csv_print"
857
            name="%wizard.name.20">
858
      </wizard>
859
      <wizard
860
            category="eu.etaxonomy.taxeditor.export.category.cdm"
861
            class="eu.etaxonomy.taxeditor.io.wizard.OutputModelExportWizard"
862
            id="eu.etaxonomy.taxeditor.io.export.output_model"
863
            name="%wizard.name.22">
864
      </wizard>
865
   </extension>
866
   <extension
867
         point="org.eclipse.ui.newWizards">
868
      <wizard
869
            category="eu.etaxonomy.taxeditor.new.category.cdm"
870
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
871
            hasPages="true"
872
            id="eu.etaxonomy.taxeditor.new.reference"
873
            name="%wizard.name.10">
874
      </wizard>
875
      <wizard
876
            category="eu.etaxonomy.taxeditor.new.category.cdm"
877
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
878
            hasPages="true"
879
            id="eu.etaxonomy.taxeditor.new.nonViralName"
880
            name="%wizard.name.11">
881
      </wizard>
882
      <wizard
883
            category="eu.etaxonomy.taxeditor.new.category.cdm"
884
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
885
            hasPages="true"
886
            id="eu.etaxonomy.taxeditor.new.team"
887
            name="%wizard.name.12">
888
      </wizard>
889
      <wizard
890
            category="eu.etaxonomy.taxeditor.new.category.cdm"
891
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
892
            hasPages="true"
893
            id="eu.etaxonomy.taxeditor.new.person"
894
            name="%wizard.name.13">
895
      </wizard>
896
      <wizard
897
            category="eu.etaxonomy.taxeditor.new.category.cdm"
898
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
899
            hasPages="true"
900
            id="eu.etaxonomy.taxeditor.new.specimen"
901
            name="%wizard.name.14">
902
      </wizard>
903
      <wizard
904
            category="eu.etaxonomy.taxeditor.new.category.cdm"
905
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
906
            hasPages="true"
907
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
908
            name="%wizard.name.15">
909
      </wizard>
910
      <category
911
            id="eu.etaxonomy.taxeditor.new.category.cdm"
912
            name="%category.name.2">
913
      </category>
914
      <wizard
915
            category="eu.etaxonomy.taxeditor.new.category.cdm"
916
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
917
            hasPages="true"
918
            id="eu.etaxonomy.taxeditor.new.taxonNode"
919
            name="%wizard.name.16">
920
      </wizard>
921
      <wizard
922
            category="eu.etaxonomy.taxeditor.new.category.cdm"
923
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
924
            hasPages="true"
925
            icon="icons/tree_icon_small.jpg"
926
            id="eu.etaxonomy.taxeditor.new.classification"
927
            name="%wizard.name.17">
928
      </wizard>
929
   </extension>
930
<extension
931
            point="org.eclipse.ui.themes">
932
         <themeElementCategory
933
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
934
               label="%themeElementCategory.label">
935
            <description>
936
               %themeElementCategory.description
937
            </description>
938
         </themeElementCategory>
939
         <colorDefinition
940
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
941
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
942
               label="%colorDefinition.label"
943
               value="150,150,150">
944
         </colorDefinition>
945
         <colorDefinition
946
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
947
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
948
               label="%colorDefinition.label.0"
949
               value="0,0,0">
950
         </colorDefinition>
951
         <colorDefinition
952
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
953
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
954
               label="%colorDefinition.label.1"
955
               value="255,255,255">
956
         </colorDefinition>
957
         <colorDefinition
958
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
959
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
960
               label="%colorDefinition.label.2"
961
               value="241,139,18">
962
         </colorDefinition>
963
         <colorDefinition
964
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
965
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
966
               label="%colorDefinition.label.3"
967
               value="150,150,150">
968
         </colorDefinition>
969
         <colorDefinition
970
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
971
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
972
               label="%colorDefinition.label.4"
973
               value="230,230,230">
974
         </colorDefinition>
975
         <themeElementCategory
976
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
977
               label="%themeElementCategory.label.0"
978
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
979
            <description>
980
               %themeElementCategory.description.0
981
            </description>
982
         </themeElementCategory>
983
         <colorDefinition
984
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
985
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
986
               label="%colorDefinition.label.5"
987
               value="230,230,230">
988
         </colorDefinition>
989
         <colorDefinition
990
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
991
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
992
               label="%colorDefinition.label.6"
993
               value="255,255,255">
994
         </colorDefinition>
995
         <themeElementCategory
996
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
997
               label="%themeElementCategory.label.1"
998
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
999
            <description>
1000
               %themeElementCategory.description.1
1001
            </description>
1002
         </themeElementCategory>
1003
         <colorDefinition
1004
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1005
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
1006
               label="%colorDefinition.label.7"
1007
               value="220, 220, 220">
1008
         </colorDefinition>
1009
         <colorDefinition
1010
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1011
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
1012
               label="%colorDefinition.label.8"
1013
               value="232,242,254">
1014
         </colorDefinition>
1015
         <colorDefinition
1016
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1017
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
1018
               label="%colorDefinition.label.9"
1019
               value="210, 210, 210">
1020
         </colorDefinition>
1021
         <colorDefinition
1022
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1023
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
1024
               label="%colorDefinition.label.10"
1025
               value="185,255,133">
1026
         </colorDefinition>
1027
         <fontDefinition
1028
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1029
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
1030
               label="%fontDefinition.label"
1031
               value="Georgia-regular-12">
1032
         </fontDefinition>
1033
         <fontDefinition
1034
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1035
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1036
               label="%fontDefinition.label.0"
1037
               value="Georgia-regular-10">
1038
         </fontDefinition>
1039
         <fontDefinition
1040
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1041
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1042
               label="%fontDefinition.label.1"
1043
               value="Georgia-regular-10">
1044
         </fontDefinition>
1045
         <fontDefinition
1046
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1047
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1048
               label="%fontDefinition.label.2"
1049
               value="Georgia-regular-10">
1050
         </fontDefinition>
1051
         <fontDefinition
1052
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1053
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1054
               label="%fontDefinition.label.3"
1055
               value="Georgia-regular-10">
1056
         </fontDefinition>
1057
         <themeElementCategory
1058
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1059
               label="%themeElementCategory.label.2"
1060
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1061
            <description>
1062
               %themeElementCategory.description.2
1063
            </description>
1064
         </themeElementCategory>
1065
         <colorDefinition
1066
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1067
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1068
               label="%colorDefinition.label.11"
1069
               value="192, 192, 192">
1070
         </colorDefinition>
1071
         <colorDefinition
1072
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1073
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1074
               label="%colorDefinition.label.12"
1075
               value="0, 0, 0">
1076
         </colorDefinition>
1077
         <fontDefinition
1078
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1079
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1080
               isEditable="true"
1081
               label="%fontDefinition.label.4"
1082
               value="Arial-regular-10">
1083
            <description>
1084
               %fontDefinition.description
1085
            </description>
1086
         </fontDefinition>
1087
         <fontDefinition
1088
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1089
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1090
               isEditable="true"
1091
               label="%fontDefinition.label.5"
1092
               value="Arial-italic-10">
1093
         <description>
1094
            %fontDefinition.description.0
1095
         </description>
1096
      </fontDefinition>
1097
      <fontDefinition
1098
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1099
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1100
            isEditable="true"
1101
            label="%fontDefinition.label.6"
1102
            value="Lucida Grande-regular-11">
1103
         <description>
1104
            %fontDefinition.description.1
1105
         </description>
1106
      </fontDefinition>
1107
      <colorDefinition
1108
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1109
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1110
            label="%colorDefinition.label.13"
1111
            value="255,0,0">
1112
      </colorDefinition>
1113
      <colorDefinition
1114
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1115
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1116
            label="%colorDefinition.label.14"
1117
            value="105,114,124">
1118
      </colorDefinition>
1119
      <colorDefinition
1120
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1121
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1122
            label="%colorDefinition.label.15"
1123
            value="255,0,0">
1124
      </colorDefinition>
1125
      </extension>
1126
<extension
1127
      point="org.eclipse.core.expressions.propertyTesters">
1128
   <propertyTester
1129
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1130
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1131
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1132
         properties="isCompatible"
1133
         type="org.eclipse.jface.viewers.IStructuredSelection">
1134
   </propertyTester>
1135
    <propertyTester
1136
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1137
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1138
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1139
         properties="test, hasDataModel"
1140
         type="org.eclipse.jface.viewers.IStructuredSelection">
1141
   </propertyTester>
1142
   <propertyTester
1143
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1144
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1145
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1146
         properties="isShowExperimentalFeatures"
1147
         type="org.eclipse.jface.viewers.IStructuredSelection">
1148
   </propertyTester>
1149
   <propertyTester
1150
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1151
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1152
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1153
         properties="isModifiable"
1154
         type="org.eclipse.jface.viewers.IStructuredSelection">
1155
   </propertyTester>
1156
   <propertyTester
1157
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1158
        id="eu.etaxonomy.taxeditor.security.permissionTester"
1159
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1160
        properties="hasPermissions, hasRoles"
1161
        type="org.eclipse.jface.viewers.IStructuredSelection">
1162
   </propertyTester>
1163
</extension>
1164
<extension
1165
      point="org.eclipse.core.expressions.definitions">
1166
   <definition
1167
         id="isCompatible">
1168
      <with
1169
            variable="selection">
1170
         <test
1171
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1172
         </test>
1173
      </with>
1174
   </definition>
1175
   <definition
1176
         id="hasDataModel">
1177
      <with
1178
            variable="selection">
1179
         <test
1180
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
1181
         </test>
1182
      </with>
1183
   </definition>
1184
   <definition
1185
         id="isShowExperimentalFeatures">
1186
      <with
1187
            variable="selection">
1188
         <test
1189
               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1190
         </test>
1191
      </with>
1192
   </definition>
1193
   <definition
1194
         id="isModifiable">
1195
      <with
1196
            variable="selection">
1197
         <test
1198
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1199
         </test>
1200
      </with>
1201
   </definition>
1202
   <definition
1203
            id="canUPDATE">
1204
        	<with
1205
           		variable="selection">
1206
	         <test
1207
	               args="UPDATE"
1208
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1209
	         </test>
1210
         </with>
1211
      </definition>
1212
      <definition
1213
            id="canDELETE">
1214
         <with
1215
               variable="selection">
1216
            <test
1217
                  args="DELETE"
1218
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1219
            </test>
1220
         </with>
1221
    </definition>
1222
      <definition
1223
            id="canCREATE">
1224
         <with
1225
               variable="selection">
1226
            <test
1227
                  args="CREATE"
1228
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1229
            </test>
1230
         </with>
1231
      </definition>
1232
      <definition
1233
            id="isUserLoggedIn">
1234
            <with
1235
               variable="eu.etaxonomy.taxeditor.security.user">
1236
               <instanceof
1237
                     value="eu.etaxonomy.cdm.model.common.User">
1238
               </instanceof>
1239
         </with>
1240
      </definition>
1241
      <definition
1242
            id="hasROLE_USER_MANAGER">
1243
            <with
1244
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1245
            <iterate
1246
                  ifEmpty="false"
1247
                  operator="or">
1248
               <or>
1249
                  <equals
1250
                        value="ROLE_ADMIN">
1251
                  </equals>
1252
                  <equals
1253
                        value="ROLE_USER_MANAGER">
1254
                  </equals>
1255
               </or>
1256
            </iterate>
1257
         </with>
1258
      </definition>
1259
      <definition
1260
            id="hasROLE_PROJECT_MANAGER">
1261
         <with
1262
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1263
            <iterate
1264
                  ifEmpty="false"
1265
                  operator="or">
1266
               <or>
1267
                  <equals
1268
                        value="ROLE_ADMIN">
1269
                  </equals>
1270
                  <equals
1271
                        value="ROLE_PROJECT_MANAGER">
1272
                  </equals>
1273
               </or>
1274
            </iterate>
1275
         </with>
1276
      </definition>
1277
      <definition
1278
            id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
1279
         <and>
1280
            <reference
1281
                  definitionId="hasROLE_PROJECT_MANAGER">
1282
            </reference>
1283
            <reference
1284
                  definitionId="isCdmStoreConnected">
1285
            </reference>
1286
         </and>
1287
      </definition>
1288
</extension>
1289
<extension
1290
      point="org.eclipse.ui.activities">
1291
   <activity
1292
         description="%activity.description"
1293
         id="eu.etaxonomy.taxeditor.store.activityDelete"
1294
         name="%activity.name">
1295
      <enabledWhen>
1296
         <reference
1297
               definitionId="canDELETE">
1298
         </reference>
1299
      </enabledWhen>
1300
   </activity>
1301
   <activityPatternBinding
1302
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1303
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1304
   </activityPatternBinding>
1305
   <activity
1306
         description="%activity.description.0"
1307
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
1308
         name="%activity.name.0">
1309
      <enabledWhen>
1310
         <reference
1311
               definitionId="canUPDATE">
1312
         </reference>
1313
      </enabledWhen>
1314
   </activity>
1315
   <activityPatternBinding
1316
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1317
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1318
   </activityPatternBinding>
1319
   <activity
1320
         description="%activity.description.1"
1321
         id="eu.etaxonomy.taxeditor.store.activityCreate"
1322
         name="%activity.name.1">
1323
      <enabledWhen>
1324
         <reference
1325
               definitionId="canDELETE">
1326
         </reference>
1327
      </enabledWhen>
1328
   </activity>
1329
   <activityPatternBinding
1330
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1331
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1332
   </activityPatternBinding>
1333
   <activity
1334
         description="%activity.description.2"
1335
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1336
         name="%activity.name.2">
1337
      <enabledWhen>
1338
         <reference
1339
               definitionId="hasROLE_USER_MANAGER">
1340
         </reference>
1341
      </enabledWhen>
1342
   </activity>
1343
   <activityPatternBinding
1344
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1345
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1346
   </activityPatternBinding>
1347
   <activityPatternBinding
1348
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1349
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1350
   </activityPatternBinding>
1351
   <activity
1352
         description="%activity.description.3"
1353
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1354
         name="%activity.name.3">
1355
      <enabledWhen>
1356
         <reference
1357
               definitionId="hasROLE_PROJECT_MANAGER">
1358
         </reference>
1359
      </enabledWhen>
1360
   </activity>
1361
   <activityPatternBinding
1362
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1363
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1364
   </activityPatternBinding>
1365
   <activityPatternBinding
1366
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1367
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1368
         isEqualityPattern="true">
1369
   </activityPatternBinding>
1370
   <activityPatternBinding
1371
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1372
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1373
         isEqualityPattern="true">
1374
   </activityPatternBinding>
1375
</extension>
1376
<extension
1377
      point="org.eclipse.ui.services">
1378
   <sourceProvider
1379
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1380
      <variable
1381
            name="eu.etaxonomy.taxeditor.security.userRoles"
1382
            priorityLevel="workbench">
1383
      </variable>
1384
   </sourceProvider>
1385
</extension>
1386
<extension
1387
      point="eu.etaxonomy.taxeditor.store.cdmViewer">
1388
   <viewCommandMapping
1389
         commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
1390
         selection="eu.etaxonomy.cdm.model.taxon.Classification"
1391
         viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
1392
   </viewCommandMapping>
1393
   <viewCommandMapping
1394
         commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
1395
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1396
         viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
1397
   </viewCommandMapping>
1398
</extension>
1399
<extension
1400
      id="id1"
1401
      point="org.eclipse.e4.workbench.model">
1402
   <fragment
1403
         apply="always"
1404
         uri="fragment.e4xmi">
1405
   </fragment>
1406
</extension>
1407
</plugin>
(6-6/7)