implementing the CommandHandlerButton and using it as button to open the OpenFeatureT...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 point="org.eclipse.ui.preferencePages">
6 <page
7 class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
8 id="eu.etaxonomy.taxeditor.preferences.general"
9 name="Taxonomic Editor">
10 </page>
11 <page
12 category="eu.etaxonomy.taxeditor.preferences.general"
13 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
14 id="eu.etaxonomy.taxeditor.preferences.description"
15 name="Description">
16 </page>
17 <page
18 category="eu.etaxonomy.taxeditor.preferences.description"
19 class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
20 id="eu.etaxonomy.taxeditor.preferences.feature"
21 name="Features">
22 </page>
23 <page
24 category="eu.etaxonomy.taxeditor.preferences.description"
25 class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
26 id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
27 name="Distribution Status">
28 </page>
29 <page
30 category="eu.etaxonomy.taxeditor.preferences.general"
31 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
32 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
33 name="Taxonomic">
34 </page>
35 <page
36 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
37 class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
38 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
39 name="Nomenclatural Code">
40 </page>
41 <!--page
42 class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
43 id="eu.etaxonomy.taxeditor.preferences.cdm"
44 name="CDM Datastore">
45 </page>
46 <page
47 category="eu.etaxonomy.taxeditor.preferences.cdm"
48 class="eu.etaxonomy.taxeditor.store.preference.InitializeDbPreferences"
49 id="eu.etaxonomy.taxeditor.preferences.initdb"
50 name="Initialize Datastore">
51 </page-->
52 <page
53 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
54 class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
55 id="eu.etaxonomy.taxeditor.preferences.ranks"
56 name="Ranks">
57 </page>
58 <page
59 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
60 class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
61 id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
62 name="Nomenclatural Status Type">
63 </page>
64 <page
65 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
66 class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
67 id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
68 name="Name Relationship Type">
69 </page>
70 <page
71 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
72 class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
73 id="taxeditor-store.page1"
74 name="Taxon Relationship Type">
75 </page>
76 <page
77 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
78 class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
79 id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
80 name="Specimen Type Designation Status">
81 </page>
82 <page
83 category="eu.etaxonomy.taxeditor.preferences.language"
84 class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
85 id="eu.etaxonomy.taxeditor.preferences.languages"
86 name="Available Languages">
87 </page>
88 <page
89 category="eu.etaxonomy.taxeditor.preferences.general"
90 class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
91 id="eu.etaxonomy.taxeditor.preferences.markerTypes"
92 name="Marker Types">
93 </page>
94 <page
95 category="eu.etaxonomy.taxeditor.preferences.general"
96 class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
97 id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
98 name="Extension Types">
99 </page>
100 <page
101 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
102 class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
103 id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
104 name="Name Type Designation Status">
105 </page>
106 <page
107 category="eu.etaxonomy.taxeditor.preferences.description"
108 class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
109 id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
110 name="Named Area Type">
111 </page>
112 <page
113 category="eu.etaxonomy.taxeditor.preferences.general"
114 class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
115 id="eu.etaxonomy.taxeditor.preferences.matching"
116 name="Matching (Experimental)">
117 </page>
118 <page
119 category="eu.etaxonomy.taxeditor.preferences.matching"
120 class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
121 id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
122 name="NonViralName Matching Strategy">
123 </page>
124 <page
125 category="eu.etaxonomy.taxeditor.preferences.matching"
126 class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
127 id="eu.etaxonomy.taxeditor.preferences.matching"
128 name="Reference Matching Strategy">
129 </page>
130 <page
131 category="eu.etaxonomy.taxeditor.preferences.matching"
132 class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
133 id="eu.etaxonomy.taxeditor.preferences.matching"
134 name="Team or Person Matching Strategy">
135 </page>
136 <page
137 category="eu.etaxonomy.taxeditor.preferences.description"
138 class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
139 id="eu.etaxonomy.taxeditor.preferences.stage"
140 name="Stage">
141 </page>
142 <page
143 category="eu.etaxonomy.taxeditor.preferences.description"
144 class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
145 id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
146 name="Preservation Method">
147 </page>
148 <page
149 category="eu.etaxonomy.taxeditor.preferences.feature"
150 class="eu.etaxonomy.taxeditor.preference.FeatureTreePreferences"
151 id="eu.etaxonomy.taxeditor.preferences.featureTree"
152 name="Feature Tree">
153 </page>
154 <page
155 category="eu.etaxonomy.taxeditor.preferences.feature"
156 class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
157 id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
158 name="Default Feature Trees">
159 </page>
160 <page
161 category="eu.etaxonomy.taxeditor.preferences.general"
162 class="eu.etaxonomy.taxeditor.preference.LanguagePreferencePage"
163 id="eu.etaxonomy.taxeditor.preferences.language"
164 name="Language">
165 </page>
166 <page
167 category="eu.etaxonomy.taxeditor.preferences.general"
168 class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
169 id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
170 name="Mobot Open Url">
171 </page>
172 <page
173 category="eu.etaxonomy.taxeditor.preferences.general"
174 class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
175 id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
176 name="Type Designations">
177 </page>
178 <page
179 category="eu.etaxonomy.taxeditor.preferences.general"
180 class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
181 id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
182 name="Specimens and FieldUnits">
183 </page>
184 </extension>
185 <extension
186 point="org.eclipse.ui.views">
187 <view
188 class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
189 icon="icons/system-file-manager.png"
190 id="eu.etaxonomy.taxeditor.view.datasource"
191 name="Datasource"
192 restorable="true">
193 </view>
194 <view
195 name="Progress View"
196 category="org.eclipse.ui"
197 class="org.eclipse.ui.ExtensionFactory:progressView"
198 id="org.eclipse.ui.views.ProgressView">
199 </view>
200 <view
201 name="Message View"
202 icon="icons/console.gif"
203 category="org.eclipse.ui"
204 class="org.eclipse.ui.ExtensionFactory:logView"
205 id="org.eclipse.ui.views.LogView">
206 </view>
207 <view
208 class="eu.etaxonomy.taxeditor.view.reporting.ReportingViewPart"
209 id="eu.etaxonomy.taxeditor.reporting.viewPart"
210 name="Reporting"
211 restorable="true">
212 </view>
213 <view
214 allowMultiple="false"
215 class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
216 icon="icons/applications-office.png"
217 id="eu.etaxonomy.taxeditor.view.supplementalData"
218 name="Supplemental Data"
219 restorable="true">
220 </view>
221 <view
222 allowMultiple="false"
223 class="eu.etaxonomy.taxeditor.view.detail.DetailsViewPart"
224 icon="icons/accessories-text-editor.png"
225 id="eu.etaxonomy.taxeditor.view.detail"
226 name="Details"
227 restorable="true">
228 </view>
229 <view
230 class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
231 icon="icons/leaf_detail.png"
232 id="eu.etaxonomy.taxeditor.view.userecords"
233 name="Use Records"
234 restorable="true">
235 </view>
236 <view
237 class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
238 icon="icons/derivate_search_view-16x16-32.png"
239 id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
240 name="Derivate Search"
241 restorable="true">
242 </view>
243 </extension>
244 <extension
245 point="org.eclipse.ui.editors">
246 <editor
247 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
248 default="false"
249 id="eu.etaxonomy.taxeditor.editor.definedTerm"
250 name="Defined Term Editor">
251 </editor>
252 </extension>
253 <extension
254 point="org.eclipse.ui.menus">
255 <menuContribution
256 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
257 <menu
258 id="eu.etaxonomy.taxeditor.menu.showView"
259 label="Show View">
260 <command
261 commandId="org.eclipse.ui.views.showView"
262 label="Derivate Search View"
263 style="push">
264 <parameter
265 name="org.eclipse.ui.views.showView.viewId"
266 value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
267 </parameter>
268 </command>
269 <separator
270 name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
271 visible="true">
272 </separator>
273 <command
274 commandId="org.eclipse.ui.views.showView"
275 label="Details"
276 style="push">
277 <parameter
278 name="org.eclipse.ui.views.showView.viewId"
279 value="eu.etaxonomy.taxeditor.view.detail">
280 </parameter>
281 </command>
282 <command
283 commandId="org.eclipse.ui.views.showView"
284 label="Supplemental"
285 style="push">
286 <parameter
287 name="org.eclipse.ui.views.showView.viewId"
288 value="eu.etaxonomy.taxeditor.view.supplementalData">
289 </parameter>
290 </command>
291 <separator
292 name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
293 visible="true">
294 </separator>
295 <command
296 commandId="org.eclipse.ui.views.showView"
297 label="Datasource"
298 style="push">
299 <parameter
300 name="org.eclipse.ui.views.showView.viewId"
301 value="eu.etaxonomy.taxeditor.view.datasource">
302 </parameter>
303 </command>
304 <command
305 commandId="org.eclipse.ui.views.showView"
306 label="Messages"
307 style="push">
308 <parameter
309 name="org.eclipse.ui.views.showView.viewId"
310 value="org.eclipse.pde.runtime.LogView">
311 </parameter>
312 </command>
313 <command
314 commandId="org.eclipse.ui.views.showView"
315 label="Reporting"
316 style="push">
317 <parameter
318 name="org.eclipse.ui.views.showView.viewId"
319 value="eu.etaxonomy.taxeditor.reporting.viewPart">
320 </parameter>
321 <visibleWhen
322 checkEnabled="true">
323 <reference
324 definitionId="isShowExperimentalFeatures">
325 </reference>
326 </visibleWhen>
327 </command>
328 </menu>
329 </menuContribution>
330 <menuContribution
331 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
332 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
333 </menuContribution>
334 <menuContribution
335 locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
336 <command
337 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
338 label="Switch User"
339 style="push">
340 </command>
341 <separator
342 name="eu.etaxonomy.taxeditor.application.filemenu.login"
343 visible="true">
344 </separator>
345 </menuContribution>
346 <menuContribution
347 locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
348 <command
349 commandId="eu.etaxonomy.taxeditor.store.datasource.change"
350 label="Connect"
351 style="push">
352 </command>
353 <command
354 commandId="eu.etaxonomy.taxeditor.store.datasource.create"
355 label="New"
356 style="push">
357 </command>
358 <command
359 commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
360 label="Edit"
361 style="push">
362 </command>
363 <separator
364 name="eu.etaxonomy.taxeditor.store.datasource.separator"
365 visible="true">
366 </separator>
367 <command
368 commandId="org.eclipse.ui.edit.delete"
369 label="Delete"
370 style="push">
371 </command>
372 <separator
373 name="eu.etaxonomy.taxeditor.store.datasource.separator2"
374 visible="true">
375 </separator>
376 <command
377 commandId="eu.etaxonomy.taxeditor.store.datasource.close"
378 label="Close Active Connection"
379 style="push">
380 </command>
381 <command
382 commandId="eu.etaxonomy.taxeditor.store.datasource.update"
383 label="Update Datamodel"
384 style="push">
385 <visibleWhen
386 checkEnabled="true">
387 <not>
388 <reference
389 definitionId="isCompatible">
390 </reference>
391 </not>
392 </visibleWhen>
393 </command>
394 </menuContribution>
395 <menuContribution
396 locationURI="toolbar:org.eclipse.ui.trim.status">
397 <toolbar
398 id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
399 <control
400 class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
401 </control>
402 </toolbar>
403 </menuContribution>
404 <menuContribution
405 locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
406 <menu
407 label="New">
408 <command
409 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
410 label="Vocabulary"
411 style="push">
412 </command>
413 <command
414 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
415 label="Defined Term"
416 style="push">
417 <visibleWhen
418 checkEnabled="true">
419 <reference
420 definitionId="isModifiable">
421 </reference>
422 </visibleWhen>
423 </command>
424 </menu>
425 <command
426 commandId="org.eclipse.ui.edit.delete"
427 label="Delete"
428 style="push">
429 <visibleWhen
430 checkEnabled="true">
431 <reference
432 definitionId="isModifiable">
433 </reference>
434 </visibleWhen>
435 </command>
436 </menuContribution>
437 </extension>
438 <extension
439 point="org.eclipse.ui.handlers">
440 <handler
441 class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
442 commandId="org.eclipse.ui.edit.delete">
443 <activeWhen>
444 <with
445 variable="activePartId">
446 <equals
447 value="eu.etaxonomy.taxeditor.view.datasource">
448 </equals>
449 </with>
450 </activeWhen>
451 </handler>
452 <handler
453 class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
454 commandId="org.eclipse.ui.edit.delete">
455 <activeWhen>
456 <with
457 variable="activePartId">
458 <equals
459 value="eu.etaxonomy.taxeditor.editor.definedTerm">
460 </equals>
461 </with>
462 </activeWhen>
463 </handler>
464 <handler
465 class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
466 commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
467 <activeWhen>
468 <reference
469 definitionId="hasROLE_PROJECT_MANAGER">
470 </reference>
471 </activeWhen>
472 </handler>
473 </extension>
474 <extension
475 name="Popup Menu Commands"
476 point="org.eclipse.ui.commands">
477 <command
478 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
479 id="eu.etaxonomy.taxeditor.store.datasource.change"
480 name="Connect Datasource">
481 </command>
482 <command
483 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
484 id="eu.etaxonomy.taxeditor.store.datasource.edit"
485 name="Edit Datasource">
486 </command>
487 <command
488 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
489 id="eu.etaxonomy.taxeditor.store.datasource.create"
490 name="Create Datasource">
491 </command>
492 <command
493 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
494 id="eu.etaxonomy.taxeditor.store.datasource.close"
495 name="Close Active Connection">
496 </command>
497 <command
498 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
499 id="eu.etaxonomy.taxeditor.store.datasource.update"
500 name="Update Datasource">
501 </command>
502 <command
503 defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
504 id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
505 name="Show Login Window">
506 </command>
507 <command
508 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
509 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
510 name="Open Defined Term Editor">
511 <commandParameter
512 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
513 name="inputType"
514 optional="true">
515 </commandParameter>
516 </command>
517 <command
518 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
519 id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
520 name="New Defined Term">
521 </command>
522 <command
523 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
524 id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
525 name="New Term Vocabulary">
526 </command>
527 <command
528 id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
529 name="Open Feature Tree Editor Wizard">
530 </command>
531 </extension>
532 <extension
533 point="org.eclipse.ui.importWizards">
534 <category
535 id="eu.etaxonomy.taxeditor.import.category.cdm"
536 name="CDM">
537 </category>
538 <wizard
539 category="eu.etaxonomy.taxeditor.import.category.cdm"
540 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
541 id="eu.etaxonomy.taxeditor.io.import.tcs"
542 name="TCS">
543 </wizard>
544 <!-- <wizard
545 category="eu.etaxonomy.taxeditor.import.category.cdm"
546 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
547 id="eu.etaxonomy.taxeditor.io.import.jaxb"
548 name="JAXB">
549 </wizard> -->
550 <wizard
551 category="eu.etaxonomy.taxeditor.import.category.cdm"
552 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
553 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
554 name="Berlin Model">
555 </wizard>
556 <wizard
557 category="eu.etaxonomy.taxeditor.import.category.cdm"
558 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
559 id="eu.etaxonomy.taxeditor.io.import.endnote"
560 name="Endnote">
561 </wizard>
562 <wizard
563 category="eu.etaxonomy.taxeditor.import.category.cdm"
564 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
565 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
566 name="Excel Normal Explicit Taxa">
567 </wizard>
568 <wizard
569 category="eu.etaxonomy.taxeditor.import.category.cdm"
570 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
571 id="eu.etaxonomy.taxeditor.io.import.abcd"
572 name="ABCD">
573 </wizard>
574 <wizard
575 category="eu.etaxonomy.taxeditor.import.category.cdm"
576 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
577 id="eu.etaxonomy.taxeditor.io.import.sdd"
578 name="SDD">
579 </wizard>
580 <wizard
581 category="eu.etaxonomy.taxeditor.import.category.cdm"
582 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
583 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
584 name="Specimen CDM Excel">
585 </wizard>
586 </extension>
587 <extension
588 point="org.eclipse.ui.exportWizards">
589 <category
590 id="eu.etaxonomy.taxeditor.export.category.cdm"
591 name="CDM">
592 </category>
593 <wizard
594 category="eu.etaxonomy.taxeditor.export.category.cdm"
595 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
596 id="eu.etaxonomy.taxeditor.io.export.jaxb"
597 name="JAXB">
598 </wizard>
599 <wizard
600 category="eu.etaxonomy.taxeditor.export.category.cdm"
601 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
602 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
603 name="Berlin Model">
604 </wizard>
605 <category
606 id="eu.etaxonomy.taxeditor.export.category.excel"
607 name="Excel">
608 </category>
609 <wizard
610 category="eu.etaxonomy.taxeditor.export.category.cdm"
611 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
612 id="eu.etaxonomy.taxeditor.io.export.sdd"
613 name="SDD">
614 </wizard>
615 <wizard
616 category="eu.etaxonomy.taxeditor.export.category.cdm"
617 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
618 id="eu.etaxonomy.taxeditor.io.export.dwca"
619 name="DwC-A">
620 </wizard>
621 </extension>
622 <extension
623 point="org.eclipse.ui.newWizards">
624 <wizard
625 category="eu.etaxonomy.taxeditor.new.category.cdm"
626 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
627 hasPages="true"
628 id="eu.etaxonomy.taxeditor.new.reference"
629 name="Reference">
630 </wizard>
631 <wizard
632 category="eu.etaxonomy.taxeditor.new.category.cdm"
633 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
634 hasPages="true"
635 id="eu.etaxonomy.taxeditor.new.nonViralName"
636 name="Name">
637 </wizard>
638 <wizard
639 category="eu.etaxonomy.taxeditor.new.category.cdm"
640 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
641 hasPages="true"
642 id="eu.etaxonomy.taxeditor.new.team"
643 name="Team">
644 </wizard>
645 <wizard
646 category="eu.etaxonomy.taxeditor.new.category.cdm"
647 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
648 hasPages="true"
649 id="eu.etaxonomy.taxeditor.new.person"
650 name="Person">
651 </wizard>
652 <wizard
653 category="eu.etaxonomy.taxeditor.new.category.cdm"
654 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
655 hasPages="true"
656 id="eu.etaxonomy.taxeditor.new.specimen"
657 name="Specimen">
658 </wizard>
659 <wizard
660 category="eu.etaxonomy.taxeditor.new.category.cdm"
661 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
662 hasPages="true"
663 id="eu.etaxonomy.taxeditor.new.key.polytomous"
664 name="Polytomous Key">
665 </wizard>
666 <category
667 id="eu.etaxonomy.taxeditor.new.category.cdm"
668 name="CDM">
669 </category>
670 <wizard
671 category="eu.etaxonomy.taxeditor.new.category.cdm"
672 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
673 hasPages="true"
674 id="eu.etaxonomy.taxeditor.new.taxonNode"
675 name="Taxon">
676 </wizard>
677 <wizard
678 category="eu.etaxonomy.taxeditor.new.category.cdm"
679 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
680 hasPages="true"
681 icon="icons/tree_icon_small.jpg"
682 id="eu.etaxonomy.taxeditor.new.classification"
683 name="Classification">
684 </wizard>
685 </extension>
686 <extension
687 point="org.eclipse.ui.themes">
688 <themeElementCategory
689 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
690 label="Taxonomic Editor">
691 <description>
692 Color and font definitions for the EDIT Taxonomic Editor
693 </description>
694 </themeElementCategory>
695 <colorDefinition
696 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
697 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
698 label="List Background"
699 value="150,150,150">
700 </colorDefinition>
701 <colorDefinition
702 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
703 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
704 label="Global Text Color"
705 value="0,0,0">
706 </colorDefinition>
707 <colorDefinition
708 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
709 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
710 label="Global Color Composite Background"
711 value="255,255,255">
712 </colorDefinition>
713 <colorDefinition
714 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
715 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
716 label="Global Color Composite Irrelevant"
717 value="241,139,18">
718 </colorDefinition>
719 <colorDefinition
720 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
721 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
722 label="Global Text Color Disabled"
723 value="150,150,150">
724 </colorDefinition>
725 <colorDefinition
726 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
727 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
728 label="Global Background Color Disabled"
729 value="230,230,230">
730 </colorDefinition>
731 <themeElementCategory
732 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
733 label="Details View"
734 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
735 <description>
736 Colors and fonts for the details view
737 </description>
738 </themeElementCategory>
739 <colorDefinition
740 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
741 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
742 label="Entity Element List Background Odd"
743 value="230,230,230">
744 </colorDefinition>
745 <colorDefinition
746 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
747 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
748 label="Entity Element List Background Even"
749 value="255,255,255">
750 </colorDefinition>
751 <themeElementCategory
752 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
753 label="Name Editor"
754 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
755 <description>
756 Colors and fonts for the name editor
757 </description>
758 </themeElementCategory>
759 <colorDefinition
760 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
761 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
762 label="Container Background"
763 value="220, 220, 220">
764 </colorDefinition>
765 <colorDefinition
766 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
767 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
768 label="Container Selected Focus"
769 value="232,242,254">
770 </colorDefinition>
771 <colorDefinition
772 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
773 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
774 label="Container Selected"
775 value="210, 210, 210">
776 </colorDefinition>
777 <colorDefinition
778 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
779 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
780 label="Container Drag Enter"
781 value="185,255,133">
782 </colorDefinition>
783 <fontDefinition
784 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
785 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
786 label="Accepted Taxon Font"
787 value="Georgia-regular-12">
788 </fontDefinition>
789 <fontDefinition
790 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
791 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
792 label="Synonym Font"
793 value="Georgia-regular-10">
794 </fontDefinition>
795 <fontDefinition
796 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
797 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
798 label="Misapplication Font"
799 value="Georgia-regular-10">
800 </fontDefinition>
801 <fontDefinition
802 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
803 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
804 label="Concept Font"
805 value="Georgia-regular-10">
806 </fontDefinition>
807 <fontDefinition
808 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
809 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
810 label="Default Font"
811 value="Georgia-regular-10">
812 </fontDefinition>
813 <themeElementCategory
814 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
815 label="Search View"
816 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
817 <description>
818 Colors and fonts for the search view
819 </description>
820 </themeElementCategory>
821 <colorDefinition
822 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
823 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
824 label="Search View Foreground"
825 value="192, 192, 192">
826 </colorDefinition>
827 <colorDefinition
828 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
829 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
830 label="Search View Focus"
831 value="0, 0, 0">
832 </colorDefinition>
833 <fontDefinition
834 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
835 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
836 isEditable="true"
837 label="Accepted font"
838 value="Arial-regular-10">
839 <description>
840 The font that is used for accepted taxa in the search result list.
841 </description>
842 </fontDefinition>
843 <fontDefinition
844 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
845 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
846 isEditable="true"
847 label="Synonym font"
848 value="Arial-italic-10">
849 <description>
850 The font that is used for synonyms in the search result list.
851 </description>
852 </fontDefinition>
853 <fontDefinition
854 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
855 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
856 isEditable="true"
857 label="Other font"
858 value="Lucida Grande-regular-11">
859 <description>
860 The font used by default in the search result list.
861 </description>
862 </fontDefinition>
863 <colorDefinition
864 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
865 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
866 label="Parse Error"
867 value="255,0,0">
868 </colorDefinition>
869 <colorDefinition
870 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
871 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
872 label="Disabled Name Editor Field"
873 value="105,114,124">
874 </colorDefinition>
875 <colorDefinition
876 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
877 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
878 label="Editor On Error"
879 value="255,0,0">
880 </colorDefinition>
881 </extension>
882 <extension
883 point="org.eclipse.core.expressions.propertyTesters">
884 <propertyTester
885 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
886 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
887 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
888 properties="isCompatible"
889 type="org.eclipse.jface.viewers.IStructuredSelection">
890 </propertyTester>
891 <propertyTester
892 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
893 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
894 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
895 properties="isShowExperimentalFeatures"
896 type="org.eclipse.jface.viewers.IStructuredSelection">
897 </propertyTester>
898 <propertyTester
899 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
900 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
901 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
902 properties="isModifiable"
903 type="org.eclipse.jface.viewers.IStructuredSelection">
904 </propertyTester>
905 <propertyTester
906 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
907 id="eu.etaxonomy.taxeditor.security.permissionTester"
908 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
909 properties="hasPermissions, hasRoles"
910 type="org.eclipse.jface.viewers.IStructuredSelection">
911 </propertyTester>
912 </extension>
913 <extension
914 point="org.eclipse.core.expressions.definitions">
915 <definition
916 id="isCompatible">
917 <with
918 variable="selection">
919 <test
920 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
921 </test>
922 </with>
923 </definition>
924 <definition
925 id="isShowExperimentalFeatures">
926 <with
927 variable="selection">
928 <test
929 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
930 </test>
931 </with>
932 </definition>
933 <definition
934 id="isModifiable">
935 <with
936 variable="selection">
937 <test
938 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
939 </test>
940 </with>
941 </definition>
942 <definition
943 id="canUPDATE">
944 <with
945 variable="selection">
946 <test
947 args="UPDATE"
948 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
949 </test>
950 </with>
951 </definition>
952 <definition
953 id="canDELETE">
954 <with
955 variable="selection">
956 <test
957 args="DELETE"
958 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
959 </test>
960 </with>
961 </definition>
962 <definition
963 id="canCREATE">
964 <with
965 variable="selection">
966 <test
967 args="CREATE"
968 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
969 </test>
970 </with>
971 </definition>
972 <definition
973 id="hasROLE_USER_MANAGER">
974 <with
975 variable="eu.etaxonomy.taxeditor.security.userRoles">
976 <iterate
977 ifEmpty="false"
978 operator="or">
979 <or>
980 <equals
981 value="ROLE_ADMIN">
982 </equals>
983 <equals
984 value="ROLE_USER_MANAGER">
985 </equals>
986 </or>
987 </iterate>
988 </with>
989 </definition>
990 <definition
991 id="hasROLE_PROJECT_MANAGER">
992 <with
993 variable="eu.etaxonomy.taxeditor.security.userRoles">
994 <iterate
995 ifEmpty="false"
996 operator="or">
997 <or>
998 <equals
999 value="ROLE_ADMIN">
1000 </equals>
1001 <equals
1002 value="ROLE_PROJECT_MANAGER">
1003 </equals>
1004 </or>
1005 </iterate>
1006 </with>
1007 </definition>
1008 </extension>
1009 <extension
1010 point="org.eclipse.ui.activities">
1011 <activity
1012 description="DELETE permission dependent ui contributions"
1013 id="eu.etaxonomy.taxeditor.store.activityDelete"
1014 name="Delete">
1015 <enabledWhen>
1016 <reference
1017 definitionId="canDELETE">
1018 </reference>
1019 </enabledWhen>
1020 </activity>
1021 <activityPatternBinding
1022 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1023 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1024 </activityPatternBinding>
1025 <activity
1026 description="UPDATE permission dependent ui contributions"
1027 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1028 name="Update">
1029 <enabledWhen>
1030 <reference
1031 definitionId="canUPDATE">
1032 </reference>
1033 </enabledWhen>
1034 </activity>
1035 <activityPatternBinding
1036 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1037 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1038 </activityPatternBinding>
1039 <activity
1040 description="CREATE permission dependent ui contributions"
1041 id="eu.etaxonomy.taxeditor.store.activityCreate"
1042 name="Delete">
1043 <enabledWhen>
1044 <reference
1045 definitionId="canDELETE">
1046 </reference>
1047 </enabledWhen>
1048 </activity>
1049 <activityPatternBinding
1050 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1051 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1052 </activityPatternBinding>
1053 <activity
1054 description="ROLE_USER_MANAGER dependent ui contributions"
1055 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1056 name="UserManagement">
1057 <enabledWhen>
1058 <reference
1059 definitionId="hasROLE_USER_MANAGER">
1060 </reference>
1061 </enabledWhen>
1062 </activity>
1063 <activityPatternBinding
1064 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1065 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1066 </activityPatternBinding>
1067 <activityPatternBinding
1068 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1069 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1070 </activityPatternBinding>
1071 <activity
1072 description="ROLE_PROJECT_MANAGER dependent ui contributions"
1073 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1074 name="ProjectManagement">
1075 <enabledWhen>
1076 <reference
1077 definitionId="hasROLE_PROJECT_MANAGER">
1078 </reference>
1079 </enabledWhen>
1080 </activity>
1081 <activityPatternBinding
1082 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1083 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1084 </activityPatternBinding>
1085 <activityPatternBinding
1086 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1087 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1088 isEqualityPattern="true">
1089 </activityPatternBinding>
1090 <activityPatternBinding
1091 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1092 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1093 isEqualityPattern="true">
1094 </activityPatternBinding>
1095 </extension>
1096 <extension
1097 point="org.eclipse.ui.services">
1098 <sourceProvider
1099 provider="eu.etaxonomy.taxeditor.security.RolesSourceProvider">
1100 <variable
1101 name="eu.etaxonomy.taxeditor.security.userRoles"
1102 priorityLevel="workbench">
1103 </variable>
1104 </sourceProvider>
1105 </extension>
1106 </plugin>