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