- added sampleDesignation section to DnaSample details view (#4237)
[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 </menu>
43 <menu
44 label="%menu.label.0">
45 </menu>
46 </menuContribution>
47 <menuContribution
48 locationURI="menu:bulkeditor.menus.openmenu">
49 <dynamic
50 class="eu.etaxonomy.taxeditor.bulkeditor.command.OpenBulkEditorContributionItem"
51 id="taxeditor-bulkeditor.dynamicopenmenu">
52 </dynamic>
53 <!--command
54 commandId="taxeditor-nameeditor.commands.open"
55 label="Open Name Editor"
56 style="push">
57 <visibleWhen
58 checkEnabled="false">
59 <reference
60 definitionId="pigsFly">
61 </reference>
62 </visibleWhen>
63 </command-->
64 </menuContribution>
65 <menuContribution
66 locationURI="popup:#BulkEditorContext">
67 <menu
68 label="%menu.label.1">
69 <dynamic
70 class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicNewObjectMenu"
71 id="eu.etaxonomy.taxeditor.bulkeditor.dynamicNewMenu">
72 </dynamic>
73 </menu>
74 <separator
75 name="taxeditor-bulkeditor.separator1"
76 visible="true">
77 </separator>
78 <command
79 commandId="bulkeditor.commands.setmergetarget"
80 label="Set Current Line as Target for Duplicate Removal"
81 style="push">
82 <visibleWhen>
83 <reference
84 definitionId="isMergeEnabled">
85 </reference>
86 </visibleWhen>
87 </command>
88 <command
89 commandId="bulkeditor.commands.setmergecandidate"
90 label="Set as Candidate(s) for Duplicate Removal"
91 style="push">
92 <visibleWhen>
93 <reference
94 definitionId="isMergeEnabled">
95 </reference>
96 </visibleWhen>
97 </command>
98 <command
99 commandId="bulkeditor.commands.removemergecandidate"
100 label="Remove as Candidate(s) for Duplicate Removal"
101 style="push">
102 <visibleWhen>
103 <reference
104 definitionId="isMergeEnabled">
105 </reference>
106 </visibleWhen>
107 </command>
108 <!--menuContribution
109 locationURI="popup:org.eclipse.ui.popup.any"-->
110 <command
111 commandId="bulkeditor.commands.mergegroup"
112 label="De-Duplicate Group"
113 style="push">
114 <visibleWhen>
115 <reference
116 definitionId="isMergeEnabled">
117 </reference>
118 </visibleWhen>
119 </command>
120 <separator
121 name="taxeditor-bulkeditor.separator2"
122 visible="true">
123 </separator>
124 <menu
125 label="%menu.label.2">
126 <dynamic
127 class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicMarkerTypeEditingMenu"
128 id="eu.etaxonomy.taxeditor.bulkeditor.dynamicMarkerTypeEditingMenu">
129 </dynamic>
130 </menu>
131 <separator
132 name="taxeditor-bulkeditor.separator3"
133 visible="true">
134 </separator>
135 <command
136 commandId="org.eclipse.ui.edit.delete"
137 label="Delete"
138 style="push">
139 </command>
140 </menuContribution>
141 <menuContribution
142 allPopups="false"
143 locationURI="popup:#DataImportEditorContext">
144 <command
145 commandId="eu.etaxonomy.taxeditor.bulkeditor.saveSpecimen"
146 label="Save Specimen"
147 style="push">
148 </command>
149 </menuContribution>
150 </extension>
151 <extension
152 point="org.eclipse.ui.commands">
153 <command
154 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.MergeGroupHandler"
155 id="bulkeditor.commands.mergegroup"
156 name="Merge Group">
157 </command>
158 <command
159 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeTargetHandler"
160 id="bulkeditor.commands.setmergetarget"
161 name="Set as Target for Group Merge">
162 </command>
163 <command
164 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.OpenBulkEditorHandler"
165 id="taxeditor-bulkeditor.dynamicopenmenu"
166 name="Dynamic Open Bulk Editor">
167 <commandParameter
168 id="taxeditor-bulkeditor.commandParameter.inputType"
169 name="Bulk Editor Class"
170 values="eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues">
171 </commandParameter>
172 </command>
173 <command
174 defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.NewObjectHandler"
175 id="taxeditor-bulkeditor.dynamicnewobjectcommand"
176 name="Dynamic New Object">
177 </command>
178 <command
179 defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.DeleteObjectHandler"
180 id="taxeditor-bulkeditor.dynamicdeleteobjectcommand"
181 name="Dynamic Delete Object">
182 </command>
183 <command
184 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeCandidateHandler"
185 id="bulkeditor.commands.setmergecandidate"
186 name="Set as Candidate for Group Merge">
187 </command>
188 <command
189 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.RemoveMergeCandidateHandler"
190 id="bulkeditor.commands.removemergecandidate"
191 name="Remove as Candidate for Group Merge">
192 </command>
193 <command
194 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMarkerFlagHandler"
195 id="taxeditor-bulkeditor.command.setMarkerFlag"
196 name="Set Marker Flag">
197 </command>
198 <command
199 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddDerivedUnitMediaHandler"
200 id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addDerivedUnitMedia"
201 name="Add Derived Unit Media">
202 </command>
203 <command
204 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddFieldObjectMediaHandler"
205 id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addFieldObjectMedia"
206 name="Add Field Object Media">
207 </command>
208 <!--command
209 defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
210 id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
211 name="New Entity">
212 </command-->
213 </extension>
214 <extension
215 point="org.eclipse.ui.editors.markerAnnotationSpecification">
216 <specification
217 annotationType="merge_candidate_annotation"
218 colorPreferenceKey="merge_candidate_annotation_color"
219 colorPreferenceValue="220,220,255"
220 highlightPreferenceValue="true"
221 icon="icons/merge_candidate.gif"
222 includeOnPreferencePage="true"
223 label="Merge Candidate Annotation"
224 overviewRulerPreferenceKey="merge_candidate_annotation_overview"
225 overviewRulerPreferenceValue="true"
226 presentationLayer="0"
227 symbolicIcon="task"
228 textPreferenceKey="merge_candidate_annotation_text"
229 textPreferenceValue="false"
230 textStylePreferenceValue="BOX"
231 verticalRulerPreferenceKey="merge_candidate_annotation_vertical"
232 verticalRulerPreferenceValue="true">
233 </specification>
234 <specification
235 annotationType="merge_target_annotation"
236 colorPreferenceKey="merge_target_annotation_color"
237 colorPreferenceValue="220,220,255"
238 highlightPreferenceValue="true"
239 icon="icons/merge_target.gif"
240 includeOnPreferencePage="true"
241 label="Merge Target Annotation"
242 overviewRulerPreferenceKey="merge_target_annotation_overview"
243 overviewRulerPreferenceValue="true"
244 presentationLayer="1"
245 symbolicIcon="task"
246 textPreferenceKey="merge_target_annotation_text"
247 textPreferenceValue="false"
248 textStylePreferenceValue="BOX"
249 verticalRulerPreferenceKey="merge_target_annotation_vertical"
250 verticalRulerPreferenceValue="true">
251 </specification>
252 </extension>
253 <extension
254 point="org.eclipse.ui.editors.annotationTypes">
255 <type
256 name="merge_candidate_annotation">
257 </type>
258 <type
259 name="merge_target_annotation">
260 </type>
261 </extension>
262 <extension
263 point="org.eclipse.ui.views">
264 <view
265 class="eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView"
266 id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"
267 name="%view.name"
268 restorable="false">
269 </view>
270 </extension>
271 <extension
272 point="org.eclipse.core.expressions.definitions">
273 <definition
274 id="isMergeEnabled">
275 <with
276 variable="activeEditor">
277 <test
278 property="taxeditor-bulkeditor.propertyTester.isMergingEnabled">
279 </test>
280 </with>
281 </definition>
282 </extension>
283 <extension
284 point="org.eclipse.core.expressions.propertyTesters">
285 <propertyTester
286 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
287 id="taxeditor-bulkeditor.PropertyTester"
288 namespace="taxeditor-bulkeditor.propertyTester"
289 properties="isMergingEnabled"
290 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
291 </propertyTester>
292 <propertyTester
293 class="eu.etaxonomy.taxeditor.bulkeditor.PropertyTester"
294 id="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"
295 namespace="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"
296 properties="isDerivedUnitEditor"
297 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
298 </propertyTester>
299 </extension>
300 <extension
301 point="org.eclipse.ui.handlers">
302 <handler
303 class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
304 commandId="org.eclipse.ui.edit.cut">
305 <activeWhen>
306 <with
307 variable="activeFocusControlId">
308 <equals
309 value="bulkeditor.textControlId">
310 </equals>
311 </with>
312 </activeWhen>
313 </handler>
314 <handler
315 class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
316 commandId="org.eclipse.ui.edit.copy">
317 <activeWhen>
318 <with
319 variable="activeFocusControlId">
320 <equals
321 value="bulkeditor.textControlId">
322 </equals>
323 </with>
324 </activeWhen>
325 </handler>
326 <handler
327 class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
328 commandId="org.eclipse.ui.edit.paste">
329 <activeWhen>
330 <with
331 variable="activeFocusControlId">
332 <equals
333 value="bulkeditor.textControlId">
334 </equals>
335 </with>
336 </activeWhen>
337 </handler>
338 <handler
339 class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"
340 commandId="org.eclipse.ui.edit.delete">
341 <activeWhen>
342 <with
343 variable="selection">
344 <instanceof
345 value="eu.etaxonomy.taxeditor.model.LineSelection">
346 </instanceof>
347 </with>
348 </activeWhen>
349 </handler>
350 </extension>
351 <extension
352 point="org.eclipse.ui.preferencePages">
353 <page
354 category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
355 class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
356 id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
357 name="%page.name">
358 </page>
359 <page
360 category="eu.etaxonomy.taxeditor.preferences.general"
361 class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
362 id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
363 name="%page.name.0">
364 </page>
365 </extension>
366 <extension
367 point="org.eclipse.ui.perspectiveExtensions">
368 <perspectiveExtension
369 targetID="*">
370 <showInPart
371 id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"></showInPart>
372 <showInPart
373 id="eu.etaxonomy.taxeditor.view.detail">
374 </showInPart>
375 </perspectiveExtension>
376 </extension>
377 <!-- start set marker -->
378
379 </plugin>