Project

General

Profile

Download (59.8 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="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
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
325
         <menu
326
               id="eu.etaxonomy.taxeditor.menu.showView"
327
               label="%menu.label">
328
            <command
329
                  commandId="org.eclipse.ui.views.showView"
330
                  id="eu.etaxonomy.taxeditor.store.showViewMenu.details"
331
                  label="%command.label.0"
332
                  style="push">
333
               <parameter
334
                     name="org.eclipse.ui.views.showView.viewId"
335
                     value="eu.etaxonomy.taxeditor.view.detail">
336
               </parameter>
337
               <visibleWhen
338
                     checkEnabled="true">
339
                  <reference
340
                        definitionId="isCdmStoreConnected">
341
                  </reference>
342
               </visibleWhen>
343
            </command>
344
            <command
345
                  commandId="org.eclipse.ui.views.showView"
346
                  id="org.eclipse.ui.views.showView.supplemental"
347
	              label="%command.label.1"
348
                  style="push">
349
               <parameter
350
                     name="org.eclipse.ui.views.showView.viewId"
351
                     value="eu.etaxonomy.taxeditor.view.supplementalData">
352
               </parameter>
353
               <visibleWhen
354
                     checkEnabled="true">
355
                  <reference
356
                        definitionId="isCdmStoreConnected">
357
                  </reference>
358
               </visibleWhen>
359
            </command>
360
            <!-- Originally used by validation framework, currently not in use -->
361
	<!--        <command
362
	        	 id="org.eclipse.ui.views.showView.problems"
363
	             commandId="org.eclipse.ui.views.showView"
364
	             label="Problems"
365
	             style="push">
366
	          <parameter
367
	                name="org.eclipse.ui.views.showView.viewId"
368
	                value="org.eclipse.ui.views.ProblemView">
369
	          </parameter>
370
	       </command>  -->
371
            <separator
372
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
373
                  visible="true">
374
            </separator>
375
            <command
376
                  commandId="org.eclipse.ui.views.showView"
377
                  label="%command.label.2"
378
                  style="push">
379
               <parameter
380
                     name="org.eclipse.ui.views.showView.viewId"
381
                     value="eu.etaxonomy.taxeditor.view.datasource">
382
               </parameter>
383
            </command>
384
            <command
385
                  commandId="org.eclipse.ui.views.showView"
386
                  label="%command.label.3"
387
                  style="push">
388
               <parameter
389
                     name="org.eclipse.ui.views.showView.viewId"
390
                     value="org.eclipse.pde.runtime.LogView">
391
               </parameter>
392
            </command>
393
            <command
394
                  commandId="org.eclipse.ui.views.showView"
395
                  label="%command.label.4"
396
                  style="push">
397
               <parameter
398
                     name="org.eclipse.ui.views.showView.viewId"
399
                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
400
               </parameter>
401
               <visibleWhen
402
                     checkEnabled="true">
403
                  <and>
404
                     <reference
405
                           definitionId="isShowExperimentalFeatures">
406
                     </reference>
407
                     <reference
408
                           definitionId="isCdmStoreConnected">
409
                     </reference>
410
                  </and>
411
               </visibleWhen>
412
            </command>
413
            <command
414
                  commandId="org.eclipse.ui.views.showView"
415
                  label="%command.label.SESSION"
416
                  style="push">
417
               <parameter
418
                     name="org.eclipse.ui.views.showView.viewId"
419
                     value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
420
               </parameter>
421
               <visibleWhen
422
                     checkEnabled="true">
423
                  <reference
424
                        definitionId="isCdmStoreConnected">
425
                  </reference>
426
               </visibleWhen>
427
            </command>
428
         </menu>
429
      </menuContribution>
430
      <menuContribution 
431
         allPopups="false" 
432
                 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last"> 
433
           <dynamic 
434
                    class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu" 
435
                   id="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu"> 
436
              <visibleWhen 
437
                      checkEnabled="true"> 
438
                  <reference 
439
                        definitionId="isCdmStoreConnected"> 
440
                  </reference> 
441
             </visibleWhen> 
442
        </dynamic> 
443
      </menuContribution>
444
      <menuContribution
445
            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
446
         <command
447
               commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
448
               label="%command.label.CONNECT"
449
               style="push">
450
         </command>
451
         <command
452
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
453
               label="%command.label.5"
454
               style="push">
455
            <visibleWhen
456
                  checkEnabled="true">
457
               <reference
458
                     definitionId="isUserLoggedIn">
459
               </reference>
460
            </visibleWhen>
461
         </command>
462
         <command
463
               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
464
               label="%command.label.RE_CONNECT"
465
               style="push">
466
            <visibleWhen
467
                  checkEnabled="true">
468
               <reference
469
                     definitionId="isUserLoggedIn">
470
               </reference>
471
            </visibleWhen>
472
         </command>
473
         <command
474
               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
475
               label="%command.label.CHANGE_PASSWORD"
476
               style="push">
477
            <visibleWhen
478
                  checkEnabled="true">
479
               <reference
480
                     definitionId="isUserLoggedIn">
481
               </reference>
482
            </visibleWhen>
483
         </command>
484
         <separator
485
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
486
               visible="true">
487
         </separator>
488
      </menuContribution>
489
      <menuContribution
490
            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
491
         <command
492
               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
493
               label="%command.label.6"
494
               style="push">
495
               <visibleWhen>
496
                  <not>
497
                     <reference
498
                           definitionId="hasDataModel">
499
                     </reference>
500
                  </not>
501
            </visibleWhen>
502
         </command>
503
         <command
504
               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
505
               label="%command.label.7"
506
               style="push">
507
         </command>
508
         <command
509
               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
510
               label="%command.label.8"
511
               style="push">
512
                <visibleWhen>
513
              <with
514
           		 variable="selection">
515
           		 <not>
516
         			<test
517
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
518
         			</test>
519
	      		</not>
520
          		</with>
521
            </visibleWhen>
522
         </command>
523
         <command
524
               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
525
               label="%command.label.clone"
526
               style="push">
527
                <visibleWhen>
528
              <with
529
           		 variable="selection">
530
           		 <not>
531
         			<test
532
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
533
         			</test>
534
	      		</not>
535
          		</with>
536
            </visibleWhen>
537
         </command>
538
         <separator
539
               name="eu.etaxonomy.taxeditor.store.datasource.separator"
540
               visible="true">
541
         </separator>
542
         <command
543
               commandId="eu.etaxonomy.taxeditor.view.datasource.delete"
544
               label="%command.label.9"
545
               style="push">
546
               <visibleWhen>
547
              <with
548
           		 variable="selection">
549
           		 <not>
550
         			<test
551
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
552
         			</test>
553
	      		</not>
554
          		</with>
555
            </visibleWhen>
556
         </command>
557
         <separator
558
               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
559
               visible="true">
560
         </separator>
561
         <command
562
               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
563
               label="%command.label.11"
564
               style="push">
565
            <visibleWhen
566
                  checkEnabled="true">
567
               <not>
568
                  <reference
569
                        definitionId="isCompatible">
570
                  </reference>
571
               </not>
572
            </visibleWhen>
573
            
574
         </command>
575
      </menuContribution>
576
      <menuContribution
577
            locationURI="toolbar:org.eclipse.ui.trim.status">
578
         <toolbar
579
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
580
            <control
581
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
582
            </control>
583
         </toolbar>
584
      </menuContribution>
585
      <menuContribution
586
            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
587
         <menu
588
               label="%menu.label.0">
589
            <command
590
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
591
                  label="%command.label.12"
592
                  style="push">
593
            </command>
594
            <command
595
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
596
                  label="%command.label.13"
597
                  style="push">
598
               <visibleWhen
599
                     checkEnabled="true">
600
                  <reference
601
                        definitionId="isModifiable">
602
                  </reference>
603
               </visibleWhen>
604
            </command>
605
         </menu>
606
         <command
607
               commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
608
               label="%command.label.14"
609
               style="push">
610
            <visibleWhen
611
                  checkEnabled="true">
612
               <reference
613
                     definitionId="isModifiable">
614
               </reference>
615
            </visibleWhen>
616
         </command>
617
      </menuContribution>
618
   </extension>
619
   <extension
620
         point="org.eclipse.ui.handlers">
621
      <handler
622
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
623
            commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
624
         <activeWhen>
625
            <with
626
                  variable="activePartId">
627
               <equals
628
                     value="eu.etaxonomy.taxeditor.view.datasource">
629
               </equals>
630
            </with>
631
         </activeWhen>
632
      </handler>
633
      <handler
634
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
635
            commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete">
636
         <activeWhen>
637
            <with
638
                  variable="activePartId">
639
               <equals
640
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
641
               </equals>
642
            </with>
643
         </activeWhen>
644
      </handler>
645
      <handler
646
            class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
647
            commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
648
         <activeWhen>
649
            <reference
650
                  definitionId="hasROLE_PROJECT_MANAGER">
651
            </reference>
652
         </activeWhen>
653
      </handler>
654
      <handler
655
            class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
656
            commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
657
      </handler>
658
      <handler
659
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
660
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
661
         <enabledWhen>
662
            <reference
663
                  definitionId="isUserLoggedIn">
664
            </reference></enabledWhen>
665
      </handler>
666
      <handler
667
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
668
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
669
         <activeWhen>
670
            <reference
671
                  definitionId="hasROLE_PROJECT_MANAGER">
672
            </reference>
673
         </activeWhen>
674
      </handler>
675
      <handler
676
            class="eu.etaxonomy.taxeditor.handler.OpenDatabasePreferencesWizardHandler"
677
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler">
678
            <activeWhen>
679
            <reference
680
                  definitionId="hasROLE_PROJECT_MANAGER">
681
            </reference>
682
         </activeWhen>
683
      </handler>
684
      <handler
685
            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
686
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
687
         <activeWhen>
688
            <reference
689
                  definitionId="isRemoting">
690
            </reference>
691
         </activeWhen>
692
      </handler>
693
   </extension>
694
   <extension
695
         name="%extension.name.0"
696
         point="org.eclipse.ui.commands">
697
      <command
698
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
699
            id="eu.etaxonomy.taxeditor.store.datasource.change"
700
            name="%command.name">
701
      </command>
702
      <command
703
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
704
            id="eu.etaxonomy.taxeditor.store.datasource.edit"
705
            name="%command.name.0">
706
      </command>
707
      <command
708
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
709
            id="eu.etaxonomy.taxeditor.store.datasource.clone"
710
            name="%command.name.8">
711
      </command>
712
      <command
713
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
714
            id="eu.etaxonomy.taxeditor.store.datasource.create"
715
            name="%command.name.1">
716
      </command>
717
      <command
718
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
719
            id="eu.etaxonomy.taxeditor.view.datasource.delete"
720
            name="%command.name.13">
721
      </command>
722
      <command
723
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
724
            id="eu.etaxonomy.taxeditor.store.datasource.update"
725
            name="%command.name.3">
726
      </command>
727
      <command
728
            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
729
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
730
            name="%command.name.4">
731
      </command>
732
      <command
733
            id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
734
            name="%command.name.CONNECT">
735
      </command>
736
      <command
737
            defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
738
            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
739
            name="%command.name.RE_CONNECT">
740
      </command>
741
      <command
742
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
743
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
744
            name="%command.name.5">
745
         <commandParameter
746
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
747
               name="%commandParameter.name.0"
748
               optional="true">
749
         </commandParameter>
750
      </command>
751
      <command
752
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
753
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
754
            name="%command.name.6">
755
      </command>
756
      <command
757
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
758
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
759
            name="%command.name.7">
760
      </command>
761
      <command
762
         id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
763
         name="%command.name.9">
764
   	  </command>
765
      <command
766
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
767
            name="%command.name.10">
768
      </command>
769
      <command
770
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
771
            name="%command.name.11">
772
      </command>
773
       <command
774
            id="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler"
775
            name="%command.name.15">
776
      </command>
777
      
778
      <command
779
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
780
            id="eu.etaxonomy.taxeditor.datasource.connect"
781
            name="%command.name.12">
782
      </command>
783
      <command
784
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
785
            id="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
786
            name="%command.name.14">
787
      </command>
788
      <command
789
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
790
            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
791
            name="%command.name.INSPECT_ACTIVE_SESSIONS">
792
      </command>
793
      <command
794
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
795
            id="eu.etaxonomy.taxeditor.store.open"
796
            name="%command.name.15">
797
      </command>
798
      <command
799
            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenClassificationWizardHandler"
800
            id="eu.etaxonomy.taxeditor.command.openClassificationWizard"
801
            name="%command.name.OPEN_CLASSIFICATION_WIZARD">
802
         <commandParameter
803
               id="eu.etaxonomy.taxeditor.command.openClassificationWizard.uuid"
804
               name="Classification Uuid"
805
               optional="true"
806
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
807
         </commandParameter>
808
      </command>
809
      <command
810
            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenTaxonNodeWizardHandler"
811
            id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
812
            name="%command.name.OPEN_TAXONNODE_WIZARD">
813
         <commandParameter
814
               id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard.uuid"
815
               name="TaxonNode Uuid"
816
               optional="true"
817
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
818
         </commandParameter>
819
      </command>
820
      <command
821
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenDatabasePreferencesWizardHandler"
822
            id="eu.etaxonomy.taxeditor.application.DatabaseSettings"
823
            name="%command.label.23">
824
      </command>
825
      <command
826
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenDatabaseRepairWizardHandler"
827
            id="eu.etaxonomy.taxeditor.application.DatabaseRepairFunctionality"
828
            name="%command.label.24">
829
      </command>
830
   </extension>
831
   <extension
832
         point="org.eclipse.ui.commands">
833
      <commandParameterType
834
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
835
            id="eu.etaxonomy.taxeditor.uuidParameterType"
836
            type="java.util.UUID">
837
      </commandParameterType>
838
      <commandParameterType
839
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
840
            id="eu.etaxonomy.taxeditor.uuidsParameterType"
841
            type="java.util.List">
842
      </commandParameterType>
843
   </extension>
844
   <extension
845
         point="org.eclipse.ui.importWizards">
846
      <category
847
            id="eu.etaxonomy.taxeditor.import.category.cdm"
848
            name="%category.name">
849
      </category>
850
      <wizard
851
            category="eu.etaxonomy.taxeditor.import.category.cdm"
852
            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
853
            id="eu.etaxonomy.taxeditor.io.import.tcs"
854
            name="%wizard.name">
855
      </wizard>
856
       <wizard
857
            category="eu.etaxonomy.taxeditor.import.category.cdm"
858
            class="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
859
            id="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
860
            name="%wizard.name.21">
861
            <description>
862
                %wizard.description
863
            </description>
864
        </wizard>
865
   
866
   <!--   <wizard
867
            category="eu.etaxonomy.taxeditor.import.category.cdm"
868
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
869
            id="eu.etaxonomy.taxeditor.io.import.jaxb"
870
            name="JAXB">
871
      </wizard> -->
872
   <!--   <wizard
873
            category="eu.etaxonomy.taxeditor.import.category.cdm"
874
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
875
            id="eu.etaxonomy.taxeditor.io.import.berlinModel"
876
            name="%wizard.name.0">
877
      </wizard>
878
      <wizard
879
            category="eu.etaxonomy.taxeditor.import.category.cdm"
880
            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
881
            id="eu.etaxonomy.taxeditor.io.import.endnote"
882
            name="%wizard.name.1">
883
      </wizard>-->
884
      <wizard
885
            category="eu.etaxonomy.taxeditor.import.category.cdm"
886
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
887
            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
888
            name="%wizard.name.2">
889
      </wizard>
890
      <wizard
891
            category="eu.etaxonomy.taxeditor.import.category.cdm"
892
            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
893
            id="eu.etaxonomy.taxeditor.io.import.abcd"
894
            name="%wizard.name.3">
895
      </wizard>
896
      <wizard
897
            category="eu.etaxonomy.taxeditor.import.category.cdm"
898
            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
899
            id="eu.etaxonomy.taxeditor.io.import.sdd"
900
            name="%wizard.name.4">
901
      </wizard>
902
      <wizard
903
            category="eu.etaxonomy.taxeditor.import.category.cdm"
904
            class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
905
            id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
906
            name="%wizard.name.5">
907
      </wizard>
908
   </extension>
909
   <extension
910
         point="org.eclipse.ui.exportWizards">
911
      <category
912
            id="eu.etaxonomy.taxeditor.export.category.cdm"
913
            name="%category.name.0">
914
      </category>
915
      <wizard
916
            category="eu.etaxonomy.taxeditor.export.category.cdm"
917
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
918
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
919
            name="%wizard.name.6">
920
      </wizard>
921
      <!--<wizard
922
            category="eu.etaxonomy.taxeditor.export.category.cdm"
923
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
924
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
925
            name="%wizard.name.7">
926
      </wizard>-->
927
      <category
928
            id="eu.etaxonomy.taxeditor.export.category.excel"
929
            name="%category.name.1">
930
      </category>
931
      <wizard
932
            category="eu.etaxonomy.taxeditor.export.category.cdm"
933
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
934
            id="eu.etaxonomy.taxeditor.io.export.sdd"
935
            name="%wizard.name.8">
936
      </wizard>
937
      <wizard
938
            category="eu.etaxonomy.taxeditor.export.category.cdm"
939
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
940
            id="eu.etaxonomy.taxeditor.io.export.dwca"
941
            name="%wizard.name.9">
942
      </wizard>
943
      <wizard
944
            category="eu.etaxonomy.taxeditor.export.category.cdm"
945
            class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
946
            id="eu.etaxonomy.taxeditor.io.export.csv"
947
            name="%wizard.name.18">
948
      </wizard>
949
      <wizard
950
            category="eu.etaxonomy.taxeditor.export.category.cdm"
951
            class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
952
            id="eu.etaxonomy.taxeditor.io.export.csv_name"
953
            name="%wizard.name.19">
954
      </wizard>
955
      <wizard
956
            category="eu.etaxonomy.taxeditor.export.category.cdm"
957
            class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
958
            id="eu.etaxonomy.taxeditor.io.export.csv_print"
959
            name="%wizard.name.20">
960
      </wizard>
961
   </extension>
962
   <extension
963
         point="org.eclipse.ui.newWizards">
964
      <wizard
965
            category="eu.etaxonomy.taxeditor.new.category.cdm"
966
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
967
            hasPages="true"
968
            id="eu.etaxonomy.taxeditor.new.reference"
969
            name="%wizard.name.10">
970
      </wizard>
971
      <wizard
972
            category="eu.etaxonomy.taxeditor.new.category.cdm"
973
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
974
            hasPages="true"
975
            id="eu.etaxonomy.taxeditor.new.nonViralName"
976
            name="%wizard.name.11">
977
      </wizard>
978
      <wizard
979
            category="eu.etaxonomy.taxeditor.new.category.cdm"
980
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
981
            hasPages="true"
982
            id="eu.etaxonomy.taxeditor.new.team"
983
            name="%wizard.name.12">
984
      </wizard>
985
      <wizard
986
            category="eu.etaxonomy.taxeditor.new.category.cdm"
987
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
988
            hasPages="true"
989
            id="eu.etaxonomy.taxeditor.new.person"
990
            name="%wizard.name.13">
991
      </wizard>
992
      <wizard
993
            category="eu.etaxonomy.taxeditor.new.category.cdm"
994
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
995
            hasPages="true"
996
            id="eu.etaxonomy.taxeditor.new.specimen"
997
            name="%wizard.name.14">
998
      </wizard>
999
      <wizard
1000
            category="eu.etaxonomy.taxeditor.new.category.cdm"
1001
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
1002
            hasPages="true"
1003
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
1004
            name="%wizard.name.15">
1005
      </wizard>
1006
      <category
1007
            id="eu.etaxonomy.taxeditor.new.category.cdm"
1008
            name="%category.name.2">
1009
      </category>
1010
      <wizard
1011
            category="eu.etaxonomy.taxeditor.new.category.cdm"
1012
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
1013
            hasPages="true"
1014
            id="eu.etaxonomy.taxeditor.new.taxonNode"
1015
            name="%wizard.name.16">
1016
      </wizard>
1017
      <wizard
1018
            category="eu.etaxonomy.taxeditor.new.category.cdm"
1019
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
1020
            hasPages="true"
1021
            icon="icons/tree_icon_small.jpg"
1022
            id="eu.etaxonomy.taxeditor.new.classification"
1023
            name="%wizard.name.17">
1024
      </wizard>
1025
   </extension>
1026
<extension
1027
            point="org.eclipse.ui.themes">
1028
         <themeElementCategory
1029
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1030
               label="%themeElementCategory.label">
1031
            <description>
1032
               %themeElementCategory.description
1033
            </description>
1034
         </themeElementCategory>
1035
         <colorDefinition
1036
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1037
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
1038
               label="%colorDefinition.label"
1039
               value="150,150,150">
1040
         </colorDefinition>
1041
         <colorDefinition
1042
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1043
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
1044
               label="%colorDefinition.label.0"
1045
               value="0,0,0">
1046
         </colorDefinition>
1047
         <colorDefinition
1048
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1049
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
1050
               label="%colorDefinition.label.1"
1051
               value="255,255,255">
1052
         </colorDefinition>
1053
         <colorDefinition
1054
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1055
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
1056
               label="%colorDefinition.label.2"
1057
               value="241,139,18">
1058
         </colorDefinition>
1059
         <colorDefinition
1060
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1061
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
1062
               label="%colorDefinition.label.3"
1063
               value="150,150,150">
1064
         </colorDefinition>
1065
         <colorDefinition
1066
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1067
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
1068
               label="%colorDefinition.label.4"
1069
               value="230,230,230">
1070
         </colorDefinition>
1071
         <themeElementCategory
1072
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1073
               label="%themeElementCategory.label.0"
1074
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1075
            <description>
1076
               %themeElementCategory.description.0
1077
            </description>
1078
         </themeElementCategory>
1079
         <colorDefinition
1080
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1081
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
1082
               label="%colorDefinition.label.5"
1083
               value="230,230,230">
1084
         </colorDefinition>
1085
         <colorDefinition
1086
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1087
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
1088
               label="%colorDefinition.label.6"
1089
               value="255,255,255">
1090
         </colorDefinition>
1091
         <themeElementCategory
1092
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1093
               label="%themeElementCategory.label.1"
1094
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1095
            <description>
1096
               %themeElementCategory.description.1
1097
            </description>
1098
         </themeElementCategory>
1099
         <colorDefinition
1100
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1101
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
1102
               label="%colorDefinition.label.7"
1103
               value="220, 220, 220">
1104
         </colorDefinition>
1105
         <colorDefinition
1106
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1107
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
1108
               label="%colorDefinition.label.8"
1109
               value="232,242,254">
1110
         </colorDefinition>
1111
         <colorDefinition
1112
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1113
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
1114
               label="%colorDefinition.label.9"
1115
               value="210, 210, 210">
1116
         </colorDefinition>
1117
         <colorDefinition
1118
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1119
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
1120
               label="%colorDefinition.label.10"
1121
               value="185,255,133">
1122
         </colorDefinition>
1123
         <fontDefinition
1124
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1125
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
1126
               label="%fontDefinition.label"
1127
               value="Georgia-regular-12">
1128
         </fontDefinition>
1129
         <fontDefinition
1130
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1131
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1132
               label="%fontDefinition.label.0"
1133
               value="Georgia-regular-10">
1134
         </fontDefinition>
1135
         <fontDefinition
1136
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1137
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1138
               label="%fontDefinition.label.1"
1139
               value="Georgia-regular-10">
1140
         </fontDefinition>
1141
         <fontDefinition
1142
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1143
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1144
               label="%fontDefinition.label.2"
1145
               value="Georgia-regular-10">
1146
         </fontDefinition>
1147
         <fontDefinition
1148
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1149
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1150
               label="%fontDefinition.label.3"
1151
               value="Georgia-regular-10">
1152
         </fontDefinition>
1153
         <themeElementCategory
1154
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1155
               label="%themeElementCategory.label.2"
1156
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1157
            <description>
1158
               %themeElementCategory.description.2
1159
            </description>
1160
         </themeElementCategory>
1161
         <colorDefinition
1162
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1163
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1164
               label="%colorDefinition.label.11"
1165
               value="192, 192, 192">
1166
         </colorDefinition>
1167
         <colorDefinition
1168
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1169
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1170
               label="%colorDefinition.label.12"
1171
               value="0, 0, 0">
1172
         </colorDefinition>
1173
         <fontDefinition
1174
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1175
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1176
               isEditable="true"
1177
               label="%fontDefinition.label.4"
1178
               value="Arial-regular-10">
1179
            <description>
1180
               %fontDefinition.description
1181
            </description>
1182
         </fontDefinition>
1183
         <fontDefinition
1184
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1185
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1186
               isEditable="true"
1187
               label="%fontDefinition.label.5"
1188
               value="Arial-italic-10">
1189
         <description>
1190
            %fontDefinition.description.0
1191
         </description>
1192
      </fontDefinition>
1193
      <fontDefinition
1194
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1195
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1196
            isEditable="true"
1197
            label="%fontDefinition.label.6"
1198
            value="Lucida Grande-regular-11">
1199
         <description>
1200
            %fontDefinition.description.1
1201
         </description>
1202
      </fontDefinition>
1203
      <colorDefinition
1204
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1205
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1206
            label="%colorDefinition.label.13"
1207
            value="255,0,0">
1208
      </colorDefinition>
1209
      <colorDefinition
1210
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1211
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1212
            label="%colorDefinition.label.14"
1213
            value="105,114,124">
1214
      </colorDefinition>
1215
      <colorDefinition
1216
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1217
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1218
            label="%colorDefinition.label.15"
1219
            value="255,0,0">
1220
      </colorDefinition>
1221
      </extension>
1222
<extension
1223
      point="org.eclipse.core.expressions.propertyTesters">
1224
   <propertyTester
1225
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1226
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1227
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1228
         properties="isCompatible"
1229
         type="org.eclipse.jface.viewers.IStructuredSelection">
1230
   </propertyTester>
1231
    <propertyTester
1232
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1233
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1234
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1235
         properties="test, hasDataModel"
1236
         type="org.eclipse.jface.viewers.IStructuredSelection">
1237
   </propertyTester>
1238
   <propertyTester
1239
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1240
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1241
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1242
         properties="isShowExperimentalFeatures"
1243
         type="org.eclipse.jface.viewers.IStructuredSelection">
1244
   </propertyTester>
1245
   <propertyTester
1246
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1247
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1248
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1249
         properties="isModifiable"
1250
         type="org.eclipse.jface.viewers.IStructuredSelection">
1251
   </propertyTester>
1252
   <propertyTester
1253
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1254
        id="eu.etaxonomy.taxeditor.security.permissionTester"
1255
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1256
        properties="hasPermissions, hasRoles"
1257
        type="org.eclipse.jface.viewers.IStructuredSelection">
1258
   </propertyTester>
1259
</extension>
1260
<extension
1261
      point="org.eclipse.core.expressions.definitions">
1262
   <definition
1263
         id="isCompatible">
1264
      <with
1265
            variable="selection">
1266
         <test
1267
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1268
         </test>
1269
      </with>
1270
   </definition>
1271
   <definition
1272
         id="hasDataModel">
1273
      <with
1274
            variable="selection">
1275
         <test
1276
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
1277
         </test>
1278
      </with>
1279
   </definition>
1280
   <definition
1281
         id="isShowExperimentalFeatures">
1282
      <with
1283
            variable="selection">
1284
         <test
1285
               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1286
         </test>
1287
      </with>
1288
   </definition>
1289
   <definition
1290
         id="isModifiable">
1291
      <with
1292
            variable="selection">
1293
         <test
1294
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1295
         </test>
1296
      </with>
1297
   </definition>
1298
   <definition
1299
            id="canUPDATE">
1300
        	<with
1301
           		variable="selection">
1302
	         <test
1303
	               args="UPDATE"
1304
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1305
	         </test>
1306
         </with>
1307
      </definition>
1308
      <definition
1309
            id="canDELETE">
1310
         <with
1311
               variable="selection">
1312
            <test
1313
                  args="DELETE"
1314
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1315
            </test>
1316
         </with>
1317
    </definition>
1318
      <definition
1319
            id="canCREATE">
1320
         <with
1321
               variable="selection">
1322
            <test
1323
                  args="CREATE"
1324
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1325
            </test>
1326
         </with>
1327
      </definition>
1328
      <definition
1329
            id="isUserLoggedIn">
1330
            <with
1331
               variable="eu.etaxonomy.taxeditor.security.user">
1332
               <instanceof
1333
                     value="eu.etaxonomy.cdm.model.common.User">
1334
               </instanceof>
1335
         </with>
1336
      </definition>
1337
      <definition
1338
            id="hasROLE_USER_MANAGER">
1339
            <with
1340
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1341
            <iterate
1342
                  ifEmpty="false"
1343
                  operator="or">
1344
               <or>
1345
                  <equals
1346
                        value="ROLE_ADMIN">
1347
                  </equals>
1348
                  <equals
1349
                        value="ROLE_USER_MANAGER">
1350
                  </equals>
1351
               </or>
1352
            </iterate>
1353
         </with>
1354
      </definition>
1355
      <definition
1356
            id="hasROLE_PROJECT_MANAGER">
1357
         <with
1358
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1359
            <iterate
1360
                  ifEmpty="false"
1361
                  operator="or">
1362
               <or>
1363
                  <equals
1364
                        value="ROLE_ADMIN">
1365
                  </equals>
1366
                  <equals
1367
                        value="ROLE_PROJECT_MANAGER">
1368
                  </equals>
1369
               </or>
1370
            </iterate>
1371
         </with>
1372
      </definition>
1373
</extension>
1374
<extension
1375
      point="org.eclipse.ui.activities">
1376
   <activity
1377
         description="%activity.description"
1378
         id="eu.etaxonomy.taxeditor.store.activityDelete"
1379
         name="%activity.name">
1380
      <enabledWhen>
1381
         <reference
1382
               definitionId="canDELETE">
1383
         </reference>
1384
      </enabledWhen>
1385
   </activity>
1386
   <activityPatternBinding
1387
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1388
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1389
   </activityPatternBinding>
1390
   <activity
1391
         description="%activity.description.0"
1392
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
1393
         name="%activity.name.0">
1394
      <enabledWhen>
1395
         <reference
1396
               definitionId="canUPDATE">
1397
         </reference>
1398
      </enabledWhen>
1399
   </activity>
1400
   <activityPatternBinding
1401
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1402
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1403
   </activityPatternBinding>
1404
   <activity
1405
         description="%activity.description.1"
1406
         id="eu.etaxonomy.taxeditor.store.activityCreate"
1407
         name="%activity.name.1">
1408
      <enabledWhen>
1409
         <reference
1410
               definitionId="canDELETE">
1411
         </reference>
1412
      </enabledWhen>
1413
   </activity>
1414
   <activityPatternBinding
1415
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1416
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1417
   </activityPatternBinding>
1418
   <activity
1419
         description="%activity.description.2"
1420
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1421
         name="%activity.name.2">
1422
      <enabledWhen>
1423
         <reference
1424
               definitionId="hasROLE_USER_MANAGER">
1425
         </reference>
1426
      </enabledWhen>
1427
   </activity>
1428
   <activityPatternBinding
1429
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1430
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1431
   </activityPatternBinding>
1432
   <activityPatternBinding
1433
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1434
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1435
   </activityPatternBinding>
1436
   <activity
1437
         description="%activity.description.3"
1438
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1439
         name="%activity.name.3">
1440
      <enabledWhen>
1441
         <reference
1442
               definitionId="hasROLE_PROJECT_MANAGER">
1443
         </reference>
1444
      </enabledWhen>
1445
   </activity>
1446
   <activityPatternBinding
1447
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1448
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1449
   </activityPatternBinding>
1450
   <activityPatternBinding
1451
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1452
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1453
         isEqualityPattern="true">
1454
   </activityPatternBinding>
1455
   <activityPatternBinding
1456
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1457
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1458
         isEqualityPattern="true">
1459
   </activityPatternBinding>
1460
</extension>
1461
<extension
1462
      point="org.eclipse.ui.services">
1463
   <sourceProvider
1464
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1465
      <variable
1466
            name="eu.etaxonomy.taxeditor.security.userRoles"
1467
            priorityLevel="workbench">
1468
      </variable>
1469
   </sourceProvider>
1470
</extension>
1471
<extension
1472
      point="eu.etaxonomy.taxeditor.store.cdmViewer">
1473
   <viewCommandMapping
1474
         commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
1475
         selection="eu.etaxonomy.cdm.model.taxon.Classification"
1476
         viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
1477
   </viewCommandMapping>
1478
   <viewCommandMapping
1479
         commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
1480
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1481
         viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
1482
   </viewCommandMapping>
1483
</extension>
1484
</plugin>
(5-5/6)