Project

General

Profile

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