Project

General

Profile

Download (39.9 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="Cdm Viewer" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
5
   <extension
6
         point="org.eclipse.ui.menus">
7
      <menuContribution
8
            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
9
         <command
10
               commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
11
               label="%command.label.CONNECT"
12
               style="push">
13
         </command>
14
         <command
15
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
16
               label="%command.label.5"
17
               style="push">
18
            <visibleWhen
19
                  checkEnabled="true">
20
               <reference
21
                     definitionId="isUserLoggedIn">
22
               </reference>
23
            </visibleWhen>
24
         </command>
25
         <command
26
               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
27
               label="%command.label.RE_CONNECT"
28
               style="push">
29
            <visibleWhen
30
                  checkEnabled="true">
31
               <reference
32
                     definitionId="isUserLoggedIn">
33
               </reference>
34
            </visibleWhen>
35
         </command>
36
         <command
37
               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
38
               label="%command.label.CHANGE_PASSWORD"
39
               style="push">
40
            <visibleWhen
41
                  checkEnabled="true">
42
               <reference
43
                     definitionId="isUserLoggedIn">
44
               </reference>
45
            </visibleWhen>
46
         </command>
47
         <separator
48
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
49
               visible="true">
50
         </separator>
51
      </menuContribution>
52
      <menuContribution
53
            locationURI="toolbar:org.eclipse.ui.trim.status">
54
         <toolbar
55
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
56
            <control
57
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
58
            </control>
59
         </toolbar>
60
      </menuContribution>
61
   </extension>
62
   <extension
63
         point="org.eclipse.ui.handlers">
64
      <handler
65
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
66
            commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
67
         <activeWhen>
68
            <with
69
                  variable="activePartId">
70
               <equals
71
                     value="eu.etaxonomy.taxeditor.view.datasource">
72
               </equals>
73
            </with>
74
         </activeWhen>
75
      </handler>
76
      <handler
77
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
78
            commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete">
79
         <activeWhen>
80
            <with
81
                  variable="activePartId">
82
               <equals
83
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
84
               </equals>
85
            </with>
86
         </activeWhen>
87
      </handler>
88
      <handler
89
            class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
90
            commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
91
      </handler>
92
      <handler
93
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
94
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
95
         <enabledWhen>
96
            <reference
97
                  definitionId="isUserLoggedIn">
98
            </reference></enabledWhen>
99
      </handler>
100
      <handler
101
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
102
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
103
         <activeWhen>
104
            <reference
105
                  definitionId="hasROLE_PROJECT_MANAGER">
106
            </reference>
107
         </activeWhen>
108
      </handler>
109
       <handler
110
            class="eu.etaxonomy.taxeditor.handler.OpenImportPreferenceHandler"
111
            commandId="eu.etaxonomy.taxeditor.store.open.OpenImportPreferenceHandler">
112
            <activeWhen>
113
            <reference
114
                  definitionId="hasROLE_PROJECT_MANAGER">
115
            </reference>
116
         </activeWhen>
117
      </handler>
118
      <handler
119
            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
120
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
121
         <activeWhen>
122
            <reference
123
                  definitionId="isRemoting">
124
            </reference>
125
         </activeWhen>
126
      </handler>
127
   </extension>
128
   <extension
129
         name="%extension.name.0"
130
         point="org.eclipse.ui.commands">
131
      <command
132
            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
133
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
134
            name="%command.name.4">
135
      </command>
136
      <command
137
            id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
138
            name="%command.name.CONNECT">
139
      </command>
140
      <command
141
            defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
142
            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
143
            name="%command.name.RE_CONNECT">
144
      </command>
145
      <command
146
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
147
            name="%command.name.10">
148
      </command>
149
      <command
150
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
151
            name="%command.name.11">
152
      </command>
153
      <command
154
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
155
            id="eu.etaxonomy.taxeditor.datasource.connect"
156
            name="%command.name.12">
157
      </command>
158
      <command
159
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
160
            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
161
            name="%command.name.INSPECT_ACTIVE_SESSIONS">
162
      </command>
163
      <command
164
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
165
            id="eu.etaxonomy.taxeditor.store.open"
166
            name="%command.name.15">
167
      </command>
168
   </extension>
169
   <extension
170
         point="org.eclipse.ui.commands">
171
      <commandParameterType
172
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
173
            id="eu.etaxonomy.taxeditor.uuidParameterType"
174
            type="java.util.UUID">
175
      </commandParameterType>
176
      <commandParameterType
177
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
178
            id="eu.etaxonomy.taxeditor.uuidsParameterType"
179
            type="java.util.List">
180
      </commandParameterType>
181
   </extension>
182
   <extension
183
         point="org.eclipse.ui.exportWizards">
184
      <category
185
            id="eu.etaxonomy.taxeditor.export.category.cdm"
186
            name="%category.name.0">
187
      </category>
188
      <wizard
189
            category="eu.etaxonomy.taxeditor.export.category.cdm"
190
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
191
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
192
            name="%wizard.name.6">
193
      </wizard>
194
      <!--<wizard
195
            category="eu.etaxonomy.taxeditor.export.category.cdm"
196
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
197
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
198
            name="%wizard.name.7">
199
      </wizard>-->
200
      <category
201
            id="eu.etaxonomy.taxeditor.export.category.excel"
202
            name="%category.name.1">
203
      </category>
204
      <wizard
205
            category="eu.etaxonomy.taxeditor.export.category.cdm"
206
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
207
            id="eu.etaxonomy.taxeditor.io.export.sdd"
208
            name="%wizard.name.8">
209
      </wizard>
210
      <wizard
211
            category="eu.etaxonomy.taxeditor.export.category.cdm"
212
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
213
            id="eu.etaxonomy.taxeditor.io.export.dwca"
214
            name="%wizard.name.9">
215
      </wizard>
216
      <wizard
217
            category="eu.etaxonomy.taxeditor.export.category.cdm"
218
            class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
219
            id="eu.etaxonomy.taxeditor.io.export.csv"
220
            name="%wizard.name.18">
221
      </wizard>
222
      <wizard
223
            category="eu.etaxonomy.taxeditor.export.category.cdm"
224
            class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
225
            id="eu.etaxonomy.taxeditor.io.export.csv_name"
226
            name="%wizard.name.19">
227
      </wizard>
228
      <wizard
229
            category="eu.etaxonomy.taxeditor.export.category.cdm"
230
            class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
231
            id="eu.etaxonomy.taxeditor.io.export.csv_print"
232
            name="%wizard.name.20">
233
      </wizard>
234
      <wizard
235
            category="eu.etaxonomy.taxeditor.export.category.cdm"
236
            class="eu.etaxonomy.taxeditor.io.wizard.CdmLightExportWizard"
237
            id="eu.etaxonomy.taxeditor.io.export.output_model"
238
            name="%wizard.name.22">
239
      </wizard>
240
   </extension>
241
   <extension
242
         point="org.eclipse.ui.newWizards">
243
      <wizard
244
            category="eu.etaxonomy.taxeditor.new.category.cdm"
245
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
246
            hasPages="true"
247
            id="eu.etaxonomy.taxeditor.new.reference"
248
            name="%wizard.name.10">
249
      </wizard>
250
      <wizard
251
            category="eu.etaxonomy.taxeditor.new.category.cdm"
252
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
253
            hasPages="true"
254
            id="eu.etaxonomy.taxeditor.new.nonViralName"
255
            name="%wizard.name.11">
256
      </wizard>
257
      <wizard
258
            category="eu.etaxonomy.taxeditor.new.category.cdm"
259
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
260
            hasPages="true"
261
            id="eu.etaxonomy.taxeditor.new.team"
262
            name="%wizard.name.12">
263
      </wizard>
264
      <wizard
265
            category="eu.etaxonomy.taxeditor.new.category.cdm"
266
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
267
            hasPages="true"
268
            id="eu.etaxonomy.taxeditor.new.person"
269
            name="%wizard.name.13">
270
      </wizard>
271
      <wizard
272
            category="eu.etaxonomy.taxeditor.new.category.cdm"
273
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
274
            hasPages="true"
275
            id="eu.etaxonomy.taxeditor.new.specimen"
276
            name="%wizard.name.14">
277
      </wizard>
278
      <wizard
279
            category="eu.etaxonomy.taxeditor.new.category.cdm"
280
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
281
            hasPages="true"
282
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
283
            name="%wizard.name.15">
284
      </wizard>
285
      <category
286
            id="eu.etaxonomy.taxeditor.new.category.cdm"
287
            name="%category.name.2">
288
      </category>
289
      <wizard
290
            category="eu.etaxonomy.taxeditor.new.category.cdm"
291
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
292
            hasPages="true"
293
            id="eu.etaxonomy.taxeditor.new.taxonNode"
294
            name="%wizard.name.16">
295
      </wizard>
296
      <wizard
297
            category="eu.etaxonomy.taxeditor.new.category.cdm"
298
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
299
            hasPages="true"
300
            icon="icons/tree_icon_small.jpg"
301
            id="eu.etaxonomy.taxeditor.new.classification"
302
            name="%wizard.name.17">
303
      </wizard>
304
   </extension>
305
<extension
306
            point="org.eclipse.ui.themes">
307
         <themeElementCategory
308
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
309
               label="%themeElementCategory.label">
310
            <description>
311
               %themeElementCategory.description
312
            </description>
313
         </themeElementCategory>
314
         <colorDefinition
315
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
316
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
317
               label="%colorDefinition.label"
318
               value="150,150,150">
319
         </colorDefinition>
320
         <colorDefinition
321
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
322
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
323
               label="%colorDefinition.label.0"
324
               value="0,0,0">
325
         </colorDefinition>
326
         <colorDefinition
327
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
328
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
329
               label="%colorDefinition.label.1"
330
               value="255,255,255">
331
         </colorDefinition>
332
         <colorDefinition
333
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
334
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
335
               label="%colorDefinition.label.2"
336
               value="241,139,18">
337
         </colorDefinition>
338
         <colorDefinition
339
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
340
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
341
               label="%colorDefinition.label.3"
342
               value="150,150,150">
343
         </colorDefinition>
344
         <colorDefinition
345
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
346
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
347
               label="%colorDefinition.label.4"
348
               value="230,230,230">
349
         </colorDefinition>
350
         <themeElementCategory
351
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
352
               label="%themeElementCategory.label.0"
353
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
354
            <description>
355
               %themeElementCategory.description.0
356
            </description>
357
         </themeElementCategory>
358
         <colorDefinition
359
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
360
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
361
               label="%colorDefinition.label.5"
362
               value="230,230,230">
363
         </colorDefinition>
364
         <colorDefinition
365
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
366
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
367
               label="%colorDefinition.label.6"
368
               value="255,255,255">
369
         </colorDefinition>
370
         <themeElementCategory
371
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
372
               label="%themeElementCategory.label.1"
373
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
374
            <description>
375
               %themeElementCategory.description.1
376
            </description>
377
         </themeElementCategory>
378
         <colorDefinition
379
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
380
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
381
               label="%colorDefinition.label.7"
382
               value="220, 220, 220">
383
         </colorDefinition>
384
         <colorDefinition
385
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
386
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
387
               label="%colorDefinition.label.8"
388
               value="232,242,254">
389
         </colorDefinition>
390
         <colorDefinition
391
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
392
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
393
               label="%colorDefinition.label.9"
394
               value="210, 210, 210">
395
         </colorDefinition>
396
         <colorDefinition
397
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
398
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
399
               label="%colorDefinition.label.10"
400
               value="185,255,133">
401
         </colorDefinition>
402
         <fontDefinition
403
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
404
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
405
               label="%fontDefinition.label"
406
               value="Georgia-regular-12">
407
         </fontDefinition>
408
         <fontDefinition
409
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
410
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
411
               label="%fontDefinition.label.0"
412
               value="Georgia-regular-10">
413
         </fontDefinition>
414
         <fontDefinition
415
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
416
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
417
               label="%fontDefinition.label.1"
418
               value="Georgia-regular-10">
419
         </fontDefinition>
420
         <fontDefinition
421
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
422
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
423
               label="%fontDefinition.label.2"
424
               value="Georgia-regular-10">
425
         </fontDefinition>
426
         <fontDefinition
427
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
428
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
429
               label="%fontDefinition.label.3"
430
               value="Georgia-regular-10">
431
         </fontDefinition>
432
         <themeElementCategory
433
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
434
               label="%themeElementCategory.label.2"
435
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
436
            <description>
437
               %themeElementCategory.description.2
438
            </description>
439
         </themeElementCategory>
440
         <colorDefinition
441
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
442
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
443
               label="%colorDefinition.label.11"
444
               value="192, 192, 192">
445
         </colorDefinition>
446
         <colorDefinition
447
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
448
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
449
               label="%colorDefinition.label.12"
450
               value="0, 0, 0">
451
         </colorDefinition>
452
         <fontDefinition
453
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
454
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
455
               isEditable="true"
456
               label="%fontDefinition.label.4"
457
               value="Arial-regular-10">
458
            <description>
459
               %fontDefinition.description
460
            </description>
461
         </fontDefinition>
462
         <fontDefinition
463
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
464
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
465
               isEditable="true"
466
               label="%fontDefinition.label.5"
467
               value="Arial-italic-10">
468
         <description>
469
            %fontDefinition.description.0
470
         </description>
471
      </fontDefinition>
472
      <fontDefinition
473
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
474
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
475
            isEditable="true"
476
            label="%fontDefinition.label.6"
477
            value="Lucida Grande-regular-11">
478
         <description>
479
            %fontDefinition.description.1
480
         </description>
481
      </fontDefinition>
482
      <colorDefinition
483
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
484
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
485
            label="%colorDefinition.label.13"
486
            value="255,0,0">
487
      </colorDefinition>
488
      <colorDefinition
489
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
490
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
491
            label="%colorDefinition.label.14"
492
            value="105,114,124">
493
      </colorDefinition>
494
      <colorDefinition
495
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
496
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
497
            label="%colorDefinition.label.15"
498
            value="255,0,0">
499
      </colorDefinition>
500
      </extension>
501
<extension
502
      point="org.eclipse.core.expressions.propertyTesters">
503
   <propertyTester
504
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
505
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
506
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
507
         properties="isCompatible"
508
         type="org.eclipse.jface.viewers.IStructuredSelection">
509
   </propertyTester>
510
    <propertyTester
511
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
512
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
513
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
514
         properties="test, hasDataModel"
515
         type="org.eclipse.jface.viewers.IStructuredSelection">
516
   </propertyTester>
517
   <propertyTester
518
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
519
         id="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
520
         namespace="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
521
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
522
         type="java.lang.Object">
523
   </propertyTester>
524
   <propertyTester
525
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
526
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
527
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
528
         properties="isModifiable"
529
         type="org.eclipse.jface.viewers.IStructuredSelection">
530
   </propertyTester>
531
   <propertyTester
532
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
533
        id="eu.etaxonomy.taxeditor.security.permissionTester"
534
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
535
        properties="hasPermissions, hasRoles"
536
        type="org.eclipse.jface.viewers.IStructuredSelection">
537
   </propertyTester>
538
</extension>
539
<extension
540
      point="org.eclipse.core.expressions.definitions">
541
   <definition
542
         id="isCompatible">
543
      <with
544
            variable="selection">
545
         <test
546
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
547
         </test>
548
      </with>
549
   </definition>
550
   <definition
551
         id="hasDataModel">
552
      <with
553
            variable="selection">
554
         <test
555
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
556
         </test>
557
      </with>
558
   </definition>
559
   <definition
560
         id="isShowExperimentalFeatures">
561
      <test
562
            property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isShowExperimentalFeatures">
563
      </test>
564
   </definition>
565
   <definition
566
         id="isModifiable">
567
      <with
568
            variable="selection">
569
         <test
570
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
571
         </test>
572
      </with>
573
   </definition>
574
   <definition
575
            id="canUPDATE">
576
        	<with
577
           		variable="selection">
578
	         <test
579
	               args="UPDATE"
580
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
581
	         </test>
582
         </with>
583
      </definition>
584
      <definition
585
            id="canDELETE">
586
         <with
587
               variable="selection">
588
            <test
589
                  args="DELETE"
590
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
591
            </test>
592
         </with>
593
    </definition>
594
      <definition
595
            id="canCREATE">
596
         <with
597
               variable="selection">
598
            <test
599
                  args="CREATE"
600
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
601
            </test>
602
         </with>
603
      </definition>
604
      <definition
605
            id="isUserLoggedIn">
606
            <with
607
               variable="eu.etaxonomy.taxeditor.security.user">
608
               <instanceof
609
                     value="eu.etaxonomy.cdm.model.common.User">
610
               </instanceof>
611
         </with>
612
      </definition>
613
      <definition
614
            id="hasROLE_USER_MANAGER">
615
            <with
616
               variable="eu.etaxonomy.taxeditor.security.userRoles">
617
            <iterate
618
                  ifEmpty="false"
619
                  operator="or">
620
               <or>
621
                  <equals
622
                        value="ROLE_ADMIN">
623
                  </equals>
624
                  <equals
625
                        value="ROLE_USER_MANAGER">
626
                  </equals>
627
               </or>
628
            </iterate>
629
         </with>
630
      </definition>
631
      <definition
632
            id="hasROLE_PROJECT_MANAGER">
633
         <with
634
               variable="eu.etaxonomy.taxeditor.security.userRoles">
635
            <iterate
636
                  ifEmpty="false"
637
                  operator="or">
638
               <or>
639
                  <equals
640
                        value="ROLE_ADMIN">
641
                  </equals>
642
                  <equals
643
                        value="ROLE_PROJECT_MANAGER">
644
                  </equals>
645
               </or>
646
            </iterate>
647
         </with>
648
      </definition>
649
      <definition
650
            id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
651
         <and>
652
            <reference
653
                  definitionId="hasROLE_PROJECT_MANAGER">
654
            </reference>
655
            <reference
656
                  definitionId="isCdmStoreConnected">
657
            </reference>
658
         </and>
659
      </definition>
660
      <definition
661
            id="isChecklistEditorEnabled">
662
         <test
663
               property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isChecklistEditorEnabled">
664
         </test>
665
      </definition>
666
</extension>
667
<extension
668
      point="org.eclipse.ui.activities">
669
   <activity
670
         description="%activity.description"
671
         id="eu.etaxonomy.taxeditor.store.activityDelete"
672
         name="%activity.name">
673
      <enabledWhen>
674
         <reference
675
               definitionId="canDELETE">
676
         </reference>
677
      </enabledWhen>
678
   </activity>
679
   <activityPatternBinding
680
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
681
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
682
   </activityPatternBinding>
683
   <activity
684
         description="%activity.description.0"
685
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
686
         name="%activity.name.0">
687
      <enabledWhen>
688
         <reference
689
               definitionId="canUPDATE">
690
         </reference>
691
      </enabledWhen>
692
   </activity>
693
   <activityPatternBinding
694
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
695
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
696
   </activityPatternBinding>
697
   <activity
698
         description="%activity.description.1"
699
         id="eu.etaxonomy.taxeditor.store.activityCreate"
700
         name="%activity.name.1">
701
      <enabledWhen>
702
         <reference
703
               definitionId="canDELETE">
704
         </reference>
705
      </enabledWhen>
706
   </activity>
707
   <activityPatternBinding
708
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
709
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
710
   </activityPatternBinding>
711
   <activity
712
         description="%activity.description.2"
713
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
714
         name="%activity.name.2">
715
      <enabledWhen>
716
         <reference
717
               definitionId="hasROLE_USER_MANAGER">
718
         </reference>
719
      </enabledWhen>
720
   </activity>
721
   <activityPatternBinding
722
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
723
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
724
   </activityPatternBinding>
725
   <activityPatternBinding
726
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
727
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
728
   </activityPatternBinding>
729
   <activity
730
         description="%activity.description.3"
731
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
732
         name="%activity.name.3">
733
      <enabledWhen>
734
         <reference
735
               definitionId="hasROLE_PROJECT_MANAGER">
736
         </reference>
737
      </enabledWhen>
738
   </activity>
739
   <activityPatternBinding
740
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
741
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
742
   </activityPatternBinding>
743
   <activityPatternBinding
744
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
745
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
746
         isEqualityPattern="true">
747
   </activityPatternBinding>
748
   <activityPatternBinding
749
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
750
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
751
         isEqualityPattern="true">
752
   </activityPatternBinding>
753
</extension>
754
<extension
755
      point="org.eclipse.ui.services">
756
   <sourceProvider
757
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
758
      <variable
759
            name="eu.etaxonomy.taxeditor.security.userRoles"
760
            priorityLevel="workbench">
761
      </variable>
762
   </sourceProvider>
763
</extension>
764
<extension
765
      point="eu.etaxonomy.taxeditor.store.cdmViewer">
766
   <viewCommandMapping
767
         commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
768
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
769
         viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
770
   </viewCommandMapping>
771
   <viewCommandMapping
772
         commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
773
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
774
         viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
775
   </viewCommandMapping>
776
</extension>
777
<extension
778
      id="eu.etaxonomy.taxeditor.store.workbench.model"
779
      name="Store Workbench Model"
780
      point="org.eclipse.e4.workbench.model">
781
   <fragment
782
         apply="always"
783
         uri="fragment.e4xmi">
784
   </fragment>
785
</extension>
786
<extension
787
      point="eu.etaxonomy.taxeditor.workbench.e4PreferencePages">
788
   <page
789
         category="eu.etaxonomy.taxeditor.preferences.general"
790
         class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
791
         id="eu.etaxonomy.taxeditor.preference.DebugPreferences"
792
         name="%page.name.34">
793
   </page>
794
   <page
795
         class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
796
         id="eu.etaxonomy.taxeditor.preferences.general"
797
         name="%page.name">
798
   </page>
799
   <page
800
         category="eu.etaxonomy.taxeditor.preferences.general"
801
         class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
802
         id="eu.etaxonomy.taxeditor.preferences.nameDetails"
803
         name="%page.name.36">
804
   </page>
805
   <page
806
         category="eu.etaxonomy.taxeditor.preferences.general"
807
         class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
808
         id="eu.etaxonomy.taxeditor.preferences.description"
809
         name="%page.name.0">
810
   </page>
811
   <page
812
         category="eu.etaxonomy.taxeditor.preferences.description"
813
         class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
814
         id="eu.etaxonomy.taxeditor.preferences.feature"
815
         name="%page.name.1">
816
   </page>
817
   <page
818
         category="eu.etaxonomy.taxeditor.preferences.description"
819
         class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
820
         id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
821
         name="%page.name.2">
822
   </page>
823
   <page
824
         category="eu.etaxonomy.taxeditor.preferences.general"
825
         class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
826
         id="eu.etaxonomy.taxeditor.preferences.taxonomic"
827
         name="%page.name.3">
828
   </page>
829
   <page
830
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
831
         class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalCodePreferences"
832
         id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
833
         name="%page.name.4">
834
   </page>
835
   <page
836
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
837
         class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
838
         id="eu.etaxonomy.taxeditor.preferences.ranks"
839
         name="%page.name.5">
840
   </page>
841
   <page
842
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
843
         class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
844
         id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
845
         name="%page.name.6">
846
   </page>
847
   <page
848
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
849
         class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
850
         id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
851
         name="%page.name.7">
852
   </page>
853
   <page
854
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
855
         class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
856
         id="taxeditor-store.page1"
857
         name="%page.name.8">
858
   </page>
859
   <page
860
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
861
         class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
862
         id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
863
         name="%page.name.9">
864
   </page>
865
   <page
866
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
867
         class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
868
         id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
869
         name="%page.name.13">
870
   </page>
871
   <page
872
         category="eu.etaxonomy.taxeditor.preferences.language"
873
         class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
874
         id="eu.etaxonomy.taxeditor.preferences.languages"
875
         name="%page.name.10">
876
   </page>
877
   <page
878
         category="eu.etaxonomy.taxeditor.preferences.general"
879
         class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
880
         id="eu.etaxonomy.taxeditor.preferences.markerTypes"
881
         name="%page.name.11">
882
   </page>
883
   <page
884
         category="eu.etaxonomy.taxeditor.preferences.general"
885
         class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
886
         id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
887
         name="%page.name.12">
888
   </page>
889
   <page
890
         category="eu.etaxonomy.taxeditor.preferences.description"
891
         class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
892
         id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
893
         name="%page.name.14">
894
   </page>
895
   <page
896
         category="eu.etaxonomy.taxeditor.preferences.general"
897
         class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
898
         id="eu.etaxonomy.taxeditor.preferences.matching"
899
         name="%page.name.15">
900
   </page>
901
   <page
902
         category="eu.etaxonomy.taxeditor.preferences.matching"
903
         class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
904
         id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
905
         name="%page.name.16">
906
   </page>
907
   <page
908
         category="eu.etaxonomy.taxeditor.preferences.matching"
909
         class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
910
         id="eu.etaxonomy.taxeditor.preferences.matching"
911
         name="%page.name.17">
912
   </page>
913
   <page
914
         category="eu.etaxonomy.taxeditor.preferences.matching"
915
         class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
916
         id="eu.etaxonomy.taxeditor.preferences.matching"
917
         name="%page.name.18">
918
   </page>
919
   <page
920
         category="eu.etaxonomy.taxeditor.preferences.description"
921
         class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
922
         id="eu.etaxonomy.taxeditor.preferences.stage"
923
         name="%page.name.19">
924
   </page>
925
   <page
926
         category="eu.etaxonomy.taxeditor.preferences.description"
927
         class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
928
         id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
929
         name="%page.name.20">
930
   </page>
931
   <page
932
         category="eu.etaxonomy.taxeditor.preferences.feature"
933
         class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
934
         id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
935
         name="%page.name.22">
936
   </page>
937
   <page
938
         category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
939
         class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
940
         id="eu.etaxonomy.taxeditor.preferences.language"
941
         name="%page.name.23">
942
   </page>
943
   <page
944
         category="eu.etaxonomy.taxeditor.preferences.general"
945
         class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
946
         id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
947
         name="%page.name.24">
948
   </page>
949
   <page
950
         category="eu.etaxonomy.taxeditor.preferences.general"
951
         class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
952
         id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
953
         name="%page.name.25">
954
   </page>
955
   <page
956
         category="eu.etaxonomy.taxeditor.preferences.general"
957
         class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
958
         id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
959
         name="%page.name.26">
960
   </page>
961
   <page
962
         category="eu.etaxonomy.taxeditor.preferences.general"
963
         class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
964
         id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
965
         name="%page.name.27">
966
   </page>
967
   <page
968
         category="eu.etaxonomy.taxeditor.preferences.general"
969
         class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
970
         id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
971
         name="%page.name.28">
972
   </page>
973
   <page
974
         category="eu.etaxonomy.taxeditor.preferences.general"
975
         class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
976
         id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
977
         name="%page.name.30">
978
   </page>
979
   <page
980
         category="eu.etaxonomy.taxeditor.preferences.general"
981
         class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
982
         id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
983
         name="%page.name.32">
984
   </page>
985
</extension>
986
</plugin>
(6-6/7)