list specimen-taxon associations separately in specimen details view
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4
5 <extension
6 id="application"
7 point="org.eclipse.core.runtime.applications">
8 <application>
9 <run
10 class="eu.etaxonomy.taxeditor.bulkeditor.Application">
11 </run>
12 </application>
13 </extension>
14 <extension
15 point="org.eclipse.ui.editors">
16 <editor
17 class="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor"
18 default="false"
19 id="bulkeditor.editor"
20 name="%editor.name">
21 </editor>
22 <editor
23 class="eu.etaxonomy.taxeditor.nameditor.TaxonNameEditor"
24 default="false"
25 id="nameeditor.editor"
26 name="%editor.name.0">
27 </editor>
28 <editor
29 class="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
30 default="false"
31 id="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
32 name="%editor.name.1">
33 </editor>
34 </extension>
35 <extension
36 point="org.eclipse.ui.menus">
37 <menuContribution
38 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
39 <menu
40 id="bulkeditor.menus.openmenu"
41 label="%menu.label">
42 <visibleWhen
43 checkEnabled="true">
44 <reference
45 definitionId="isCdmStoreConnected">
46 </reference>
47 </visibleWhen>
48 </menu>
49 <menu
50 label="%menu.label.0">
51 <visibleWhen
52 checkEnabled="true">
53 <reference
54 definitionId="isCdmStoreConnected">
55 </reference>
56 </visibleWhen>
57 </menu>
58 </menuContribution>
59 <menuContribution
60 locationURI="menu:bulkeditor.menus.openmenu">
61 <dynamic
62 class="eu.etaxonomy.taxeditor.bulkeditor.command.OpenBulkEditorContributionItem"
63 id="taxeditor-bulkeditor.dynamicopenmenu">
64 <visibleWhen
65 checkEnabled="true">
66 <reference
67 definitionId="isCdmStoreConnected">
68 </reference>
69 </visibleWhen>
70 </dynamic>
71 <!--command
72 commandId="taxeditor-nameeditor.commands.open"
73 label="Open Name Editor"
74 style="push">
75 <visibleWhen
76 checkEnabled="false">
77 <reference
78 definitionId="pigsFly">
79 </reference>
80 </visibleWhen>
81 </command-->
82 </menuContribution>
83 <menuContribution
84 locationURI="popup:#BulkEditorContext">
85 <command
86 commandId="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
87 label="%command.label"
88 style="push">
89 <visibleWhen>
90 <reference
91 definitionId="isTaxonBulkEditorInput">
92 </reference>
93 </visibleWhen>
94 </command>
95 <separator
96 name="taxeditor-bulkeditor.separator1"
97 visible="true">
98 </separator>
99 <menu
100 label="%menu.label.1">
101 <dynamic
102 class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicNewObjectMenu"
103 id="eu.etaxonomy.taxeditor.bulkeditor.dynamicNewMenu">
104 <visibleWhen
105 checkEnabled="false">
106 <reference
107 definitionId="isCdmStoreConnected">
108 </reference>
109 </visibleWhen>
110 </dynamic>
111 <visibleWhen
112 checkEnabled="true">
113 <reference
114 definitionId="isCdmStoreConnected">
115 </reference>
116 </visibleWhen>
117 </menu>
118 <separator
119 name="eu.etaxonomy.taxeditor.bulkeditor.separator1">
120 </separator>
121 <command
122 commandId="bulkeditor.commands.setmergetarget"
123 label="%command.label.0"
124 style="push">
125 <visibleWhen>
126 <reference
127 definitionId="isMergeEnabled">
128 </reference>
129 </visibleWhen>
130 </command>
131
132 <command
133 commandId="bulkeditor.commands.setmergecandidate"
134 label="%command.label.1"
135 style="push">
136 <visibleWhen>
137 <reference
138 definitionId="isMergeEnabled">
139 </reference>
140 </visibleWhen>
141 </command>
142 <command
143 commandId="bulkeditor.commands.removemergecandidate"
144 label="%command.label.2"
145 style="push">
146 <visibleWhen>
147 <reference
148 definitionId="isMergeEnabled">
149 </reference>
150 </visibleWhen>
151 </command>
152 <!--menuContribution
153 locationURI="popup:org.eclipse.ui.popup.any"-->
154 <command
155 commandId="bulkeditor.commands.mergegroup"
156 label="%command.label.3"
157 style="push">
158 <visibleWhen>
159 <reference
160 definitionId="isMergeEnabled">
161 </reference>
162 </visibleWhen>
163 </command>
164 <command
165 commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"
166 label="%command.label.5"
167 style="push">
168 <visibleWhen
169 checkEnabled="true">
170 <and>
171 <reference
172 definitionId="isConvertEnabled">
173 </reference>
174 <reference
175 definitionId="isTeam">
176 </reference>
177 </and>
178 </visibleWhen>
179 </command>
180 <command
181 commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team"
182 label="%command.label.6"
183 style="push">
184 <visibleWhen
185 checkEnabled="true">>
186 <and>
187 <reference
188 definitionId="isConvertEnabled">
189 </reference>
190 <reference
191 definitionId="isPerson">
192 </reference>
193 </and>
194 </visibleWhen>
195 </command>
196 <separator
197 name="taxeditor-bulkeditor.separator2"
198 visible="true">
199 </separator>
200 <menu
201 label="%menu.label.2">
202 <dynamic
203 class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicMarkerTypeEditingMenu"
204 id="eu.etaxonomy.taxeditor.bulkeditor.dynamicMarkerTypeEditingMenu">
205 </dynamic>
206 <visibleWhen
207 checkEnabled="true">
208 <reference
209 definitionId="isCdmStoreConnected">
210 </reference>
211 </visibleWhen>
212 </menu>
213 <separator
214 name="taxeditor-bulkeditor.separator3"
215 visible="true">
216 </separator>
217 <command
218 commandId="eu.etaxonomy.taxeditor.bulkeditor.delete"
219 label="%command.label.4"
220 style="push">
221 <visibleWhen
222 checkEnabled="true">
223 <reference
224 definitionId="isCdmStoreConnected">
225 </reference>
226 </visibleWhen>
227 </command>
228 </menuContribution>
229 </extension>
230 <extension
231 point="org.eclipse.ui.commands">
232 <command
233 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.MergeGroupHandler"
234 id="bulkeditor.commands.mergegroup"
235 name="%command.name">
236 </command>
237 <command
238 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeTargetHandler"
239 id="bulkeditor.commands.setmergetarget"
240 name="%command.name.0">
241 </command>
242 <command
243 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.OpenBulkEditorHandler"
244 id="taxeditor-bulkeditor.dynamicopenmenu"
245 name="%command.name.1">
246 <commandParameter
247 id="taxeditor-bulkeditor.commandParameter.inputType"
248 name="%commandParameter.name"
249 values="eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues">
250 </commandParameter>
251 </command>
252 <command
253 defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.NewObjectHandler"
254 id="taxeditor-bulkeditor.dynamicnewobjectcommand"
255 name="%command.name.2">
256 </command>
257 <command
258 defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.DeleteObjectHandler"
259 id="taxeditor-bulkeditor.dynamicdeleteobjectcommand"
260 name="%command.name.3">
261 </command>
262 <command
263 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeCandidateHandler"
264 id="bulkeditor.commands.setmergecandidate"
265 name="%command.name.4">
266 </command>
267 <command
268 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.RemoveMergeCandidateHandler"
269 id="bulkeditor.commands.removemergecandidate"
270 name="%command.name.5">
271 </command>
272 <command
273 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMarkerFlagHandler"
274 id="taxeditor-bulkeditor.command.setMarkerFlag"
275 name="%command.name.6">
276 </command>
277 <command
278 id="eu.etaxonomy.taxeditor.bulkeditor.delete"
279 name="%command.name.7">
280 </command>
281 <command
282 id="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"
283 name="%command.name.8">
284 </command>
285 <command
286 id="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team"
287 name="%command.name.10">
288 </command>
289 <!--command
290 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
291 id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
292 name="New Entity">
293 </command-->
294 </extension>
295 <extension
296 point="org.eclipse.ui.editors.markerAnnotationSpecification">
297 <specification
298 annotationType="merge_candidate_annotation"
299 colorPreferenceKey="merge_candidate_annotation_color"
300 colorPreferenceValue="220,220,255"
301 highlightPreferenceValue="true"
302 icon="icons/merge_candidate.gif"
303 includeOnPreferencePage="true"
304 label="%specification.label"
305 overviewRulerPreferenceKey="merge_candidate_annotation_overview"
306 overviewRulerPreferenceValue="true"
307 presentationLayer="0"
308 symbolicIcon="task"
309 textPreferenceKey="merge_candidate_annotation_text"
310 textPreferenceValue="false"
311 textStylePreferenceValue="BOX"
312 verticalRulerPreferenceKey="merge_candidate_annotation_vertical"
313 verticalRulerPreferenceValue="true">
314 </specification>
315 <specification
316 annotationType="merge_target_annotation"
317 colorPreferenceKey="merge_target_annotation_color"
318 colorPreferenceValue="220,220,255"
319 highlightPreferenceValue="true"
320 icon="icons/merge_target.gif"
321 includeOnPreferencePage="true"
322 label="%specification.label.0"
323 overviewRulerPreferenceKey="merge_target_annotation_overview"
324 overviewRulerPreferenceValue="true"
325 presentationLayer="1"
326 symbolicIcon="task"
327 textPreferenceKey="merge_target_annotation_text"
328 textPreferenceValue="false"
329 textStylePreferenceValue="BOX"
330 verticalRulerPreferenceKey="merge_target_annotation_vertical"
331 verticalRulerPreferenceValue="true">
332 </specification>
333 </extension>
334 <extension
335 point="org.eclipse.ui.editors.annotationTypes">
336 <type
337 name="merge_candidate_annotation">
338 </type>
339 <type
340 name="merge_target_annotation">
341 </type>
342 </extension>
343 <extension
344 point="org.eclipse.ui.views">
345 <view
346 class="eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView"
347 id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"
348 name="%view.name"
349 restorable="false">
350 </view>
351 </extension>
352 <extension
353 point="org.eclipse.core.expressions.definitions">
354 <definition
355 id="isMergeEnabled">
356 <with
357 variable="activeEditor">
358 <test
359 property="taxeditor-bulkeditor.propertyTester.isMergingEnabled">
360 </test>
361 </with>
362 </definition>
363 <definition
364 id="isConvertEnabled">
365 <with
366 variable="activeEditor">
367 <test
368 property="taxeditor-bulkeditor.propertyTester.isConvertingEnabled">
369 </test>
370 </with>
371 </definition>
372 <definition
373 id="isTaxonBulkEditorInput">
374 <with
375 variable="activeEditor">
376 <test
377 property="taxeditor-bulkeditor.propertyTester.isTaxonEditor">
378 </test>
379 </with>
380 </definition>
381 <definition
382 id="isTeam">
383 <with
384 variable="selection">
385 <test
386 property="eu.etaxonomy.taxeditor.bulkeditor.command.isTeam">
387 </test>
388 </with>
389 </definition>
390 <definition
391 id="isPerson">
392 <with
393 variable="selection">
394 <test
395 property="eu.etaxonomy.taxeditor.bulkeditor.command.isPerson">
396 </test>
397 </with>
398 </definition>
399 </extension>
400 <extension
401 point="org.eclipse.core.expressions.propertyTesters">
402 <propertyTester
403 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
404 id="taxeditor-bulkeditor.PropertyTester"
405 namespace="taxeditor-bulkeditor.propertyTester"
406 properties="isMergingEnabled, isDerivedUnitEditor, isTaxonEditor, isGroupEditor, isConvertingEnabled"
407 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
408 </propertyTester>
409 <propertyTester
410 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorMenuPropertyTester"
411 id="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorMenuPropertyTester"
412 namespace="eu.etaxonomy.taxeditor.bulkeditor.command"
413 properties="isTeam, isPerson"
414 type="java.lang.Object">
415 </propertyTester>
416 </extension>
417 <extension
418 point="org.eclipse.ui.handlers">
419 <handler
420 class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
421 commandId="org.eclipse.ui.edit.cut">
422 <activeWhen>
423 <with
424 variable="activeFocusControlId">
425 <equals
426 value="bulkeditor.textControlId">
427 </equals>
428 </with>
429 </activeWhen>
430 </handler>
431 <handler
432 class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
433 commandId="org.eclipse.ui.edit.copy">
434 <activeWhen>
435 <with
436 variable="activeFocusControlId">
437 <equals
438 value="bulkeditor.textControlId">
439 </equals>
440 </with>
441 </activeWhen>
442 </handler>
443 <handler
444 class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
445 commandId="org.eclipse.ui.edit.paste">
446 <activeWhen>
447 <with
448 variable="activeFocusControlId">
449 <equals
450 value="bulkeditor.textControlId">
451 </equals>
452 </with>
453 </activeWhen>
454 </handler>
455 <handler
456 class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"
457 commandId="eu.etaxonomy.taxeditor.bulkeditor.delete">
458 <activeWhen>
459 <with
460 variable="selection">
461 <instanceof
462 value="eu.etaxonomy.taxeditor.model.LineSelection">
463 </instanceof>
464 </with>
465 </activeWhen>
466 </handler>
467 <handler
468 class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertTeam2PersonHandler"
469 commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person">
470 </handler>
471 <handler
472 class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamHandler"
473 commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team">
474 </handler>
475
476 </extension>
477 <extension
478 point="org.eclipse.ui.preferencePages">
479 <page
480 category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
481 class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
482 id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
483 name="%page.name">
484 </page>
485 <page
486 category="eu.etaxonomy.taxeditor.preferences.general"
487 class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
488 id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
489 name="%page.name.0">
490 </page>
491 </extension>
492 <extension
493 point="org.eclipse.ui.perspectiveExtensions">
494 <perspectiveExtension
495 targetID="*">
496 <showInPart
497 id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"></showInPart>
498 <showInPart
499 id="eu.etaxonomy.taxeditor.view.detail">
500 </showInPart>
501 </perspectiveExtension>
502 </extension>
503 <!-- start set marker -->
504
505 </plugin>