Project

General

Profile

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