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