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="Bulk Editor">
|
21
|
</editor>
|
22
|
<editor
|
23
|
class="eu.etaxonomy.taxeditor.nameditor.TaxonNameEditor"
|
24
|
default="false"
|
25
|
id="nameeditor.editor"
|
26
|
name="Name Editor">
|
27
|
</editor>
|
28
|
<editor
|
29
|
class="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
|
30
|
default="false"
|
31
|
id="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
|
32
|
name="Data Import Editor">
|
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="Bulk Editor">
|
42
|
</menu>
|
43
|
<menu
|
44
|
label="Search Specimen">
|
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="New">
|
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="Set Marker Type">
|
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:eu.etaxonomy.taxeditor.editor.view.media">
|
144
|
<command
|
145
|
commandId="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addDerivedUnitMedia"
|
146
|
label="Add Derived Unit Media"
|
147
|
style="push">
|
148
|
</command>
|
149
|
<command
|
150
|
commandId="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addFieldObjectMedia"
|
151
|
label="Add Field Object Media"
|
152
|
style="push">
|
153
|
</command>
|
154
|
</menuContribution>
|
155
|
</extension>
|
156
|
<extension
|
157
|
point="org.eclipse.ui.commands">
|
158
|
<command
|
159
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.MergeGroupHandler"
|
160
|
id="bulkeditor.commands.mergegroup"
|
161
|
name="Merge Group">
|
162
|
</command>
|
163
|
<command
|
164
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeTargetHandler"
|
165
|
id="bulkeditor.commands.setmergetarget"
|
166
|
name="Set as Target for Group Merge">
|
167
|
</command>
|
168
|
<command
|
169
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.OpenBulkEditorHandler"
|
170
|
id="taxeditor-bulkeditor.dynamicopenmenu"
|
171
|
name="Dynamic Open Bulk Editor">
|
172
|
<commandParameter
|
173
|
id="taxeditor-bulkeditor.commandParameter.inputType"
|
174
|
name="Bulk Editor Class"
|
175
|
values="eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues">
|
176
|
</commandParameter>
|
177
|
</command>
|
178
|
<command
|
179
|
defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.NewObjectHandler"
|
180
|
id="taxeditor-bulkeditor.dynamicnewobjectcommand"
|
181
|
name="Dynamic New Object">
|
182
|
</command>
|
183
|
<command
|
184
|
defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.DeleteObjectHandler"
|
185
|
id="taxeditor-bulkeditor.dynamicdeleteobjectcommand"
|
186
|
name="Dynamic Delete Object">
|
187
|
</command>
|
188
|
<command
|
189
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeCandidateHandler"
|
190
|
id="bulkeditor.commands.setmergecandidate"
|
191
|
name="Set as Candidate for Group Merge">
|
192
|
</command>
|
193
|
<command
|
194
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.RemoveMergeCandidateHandler"
|
195
|
id="bulkeditor.commands.removemergecandidate"
|
196
|
name="Remove as Candidate for Group Merge">
|
197
|
</command>
|
198
|
<command
|
199
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMarkerFlagHandler"
|
200
|
id="taxeditor-bulkeditor.command.setMarkerFlag"
|
201
|
name="Set Marker Flag">
|
202
|
</command>
|
203
|
<command
|
204
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddDerivedUnitMediaHandler"
|
205
|
id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addDerivedUnitMedia"
|
206
|
name="Add Derived Unit Media">
|
207
|
</command>
|
208
|
<command
|
209
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddFieldObjectMediaHandler"
|
210
|
id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addFieldObjectMedia"
|
211
|
name="Add Field Object Media">
|
212
|
</command>
|
213
|
<!--command
|
214
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
|
215
|
id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
|
216
|
name="New Entity">
|
217
|
</command-->
|
218
|
</extension>
|
219
|
<extension
|
220
|
point="org.eclipse.ui.editors.markerAnnotationSpecification">
|
221
|
<specification
|
222
|
annotationType="merge_candidate_annotation"
|
223
|
colorPreferenceKey="merge_candidate_annotation_color"
|
224
|
colorPreferenceValue="220,220,255"
|
225
|
highlightPreferenceValue="true"
|
226
|
icon="icons/merge_candidate.gif"
|
227
|
includeOnPreferencePage="true"
|
228
|
label="Merge Candidate Annotation"
|
229
|
overviewRulerPreferenceKey="merge_candidate_annotation_overview"
|
230
|
overviewRulerPreferenceValue="true"
|
231
|
presentationLayer="0"
|
232
|
symbolicIcon="task"
|
233
|
textPreferenceKey="merge_candidate_annotation_text"
|
234
|
textPreferenceValue="false"
|
235
|
textStylePreferenceValue="BOX"
|
236
|
verticalRulerPreferenceKey="merge_candidate_annotation_vertical"
|
237
|
verticalRulerPreferenceValue="true">
|
238
|
</specification>
|
239
|
<specification
|
240
|
annotationType="merge_target_annotation"
|
241
|
colorPreferenceKey="merge_target_annotation_color"
|
242
|
colorPreferenceValue="220,220,255"
|
243
|
highlightPreferenceValue="true"
|
244
|
icon="icons/merge_target.gif"
|
245
|
includeOnPreferencePage="true"
|
246
|
label="Merge Target Annotation"
|
247
|
overviewRulerPreferenceKey="merge_target_annotation_overview"
|
248
|
overviewRulerPreferenceValue="true"
|
249
|
presentationLayer="1"
|
250
|
symbolicIcon="task"
|
251
|
textPreferenceKey="merge_target_annotation_text"
|
252
|
textPreferenceValue="false"
|
253
|
textStylePreferenceValue="BOX"
|
254
|
verticalRulerPreferenceKey="merge_target_annotation_vertical"
|
255
|
verticalRulerPreferenceValue="true">
|
256
|
</specification>
|
257
|
</extension>
|
258
|
<extension
|
259
|
point="org.eclipse.ui.editors.annotationTypes">
|
260
|
<type
|
261
|
name="merge_candidate_annotation">
|
262
|
</type>
|
263
|
<type
|
264
|
name="merge_target_annotation">
|
265
|
</type>
|
266
|
</extension>
|
267
|
<extension
|
268
|
point="org.eclipse.ui.views">
|
269
|
<view
|
270
|
class="eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView"
|
271
|
id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"
|
272
|
name="Referencing Objects"
|
273
|
restorable="false">
|
274
|
</view>
|
275
|
</extension>
|
276
|
<extension
|
277
|
point="org.eclipse.core.expressions.definitions">
|
278
|
<definition
|
279
|
id="isMergeEnabled">
|
280
|
<with
|
281
|
variable="activeEditor">
|
282
|
<test
|
283
|
property="taxeditor-bulkeditor.propertyTester.isMergingEnabled">
|
284
|
</test>
|
285
|
</with>
|
286
|
</definition>
|
287
|
</extension>
|
288
|
<extension
|
289
|
point="org.eclipse.core.expressions.propertyTesters">
|
290
|
<propertyTester
|
291
|
class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
|
292
|
id="taxeditor-bulkeditor.PropertyTester"
|
293
|
namespace="taxeditor-bulkeditor.propertyTester"
|
294
|
properties="isMergingEnabled"
|
295
|
type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
|
296
|
</propertyTester>
|
297
|
</extension>
|
298
|
<extension
|
299
|
point="org.eclipse.ui.handlers">
|
300
|
<handler
|
301
|
class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
|
302
|
commandId="org.eclipse.ui.edit.cut">
|
303
|
<activeWhen>
|
304
|
<with
|
305
|
variable="activeFocusControlId">
|
306
|
<equals
|
307
|
value="bulkeditor.textControlId">
|
308
|
</equals>
|
309
|
</with>
|
310
|
</activeWhen>
|
311
|
</handler>
|
312
|
<handler
|
313
|
class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
|
314
|
commandId="org.eclipse.ui.edit.copy">
|
315
|
<activeWhen>
|
316
|
<with
|
317
|
variable="activeFocusControlId">
|
318
|
<equals
|
319
|
value="bulkeditor.textControlId">
|
320
|
</equals>
|
321
|
</with>
|
322
|
</activeWhen>
|
323
|
</handler>
|
324
|
<handler
|
325
|
class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
|
326
|
commandId="org.eclipse.ui.edit.paste">
|
327
|
<activeWhen>
|
328
|
<with
|
329
|
variable="activeFocusControlId">
|
330
|
<equals
|
331
|
value="bulkeditor.textControlId">
|
332
|
</equals>
|
333
|
</with>
|
334
|
</activeWhen>
|
335
|
</handler>
|
336
|
<handler
|
337
|
class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"
|
338
|
commandId="org.eclipse.ui.edit.delete">
|
339
|
<activeWhen>
|
340
|
<with
|
341
|
variable="selection">
|
342
|
<instanceof
|
343
|
value="eu.etaxonomy.taxeditor.model.LineSelection">
|
344
|
</instanceof>
|
345
|
</with>
|
346
|
</activeWhen>
|
347
|
</handler>
|
348
|
</extension>
|
349
|
<extension
|
350
|
point="org.eclipse.ui.preferencePages">
|
351
|
<page
|
352
|
category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
|
353
|
class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
|
354
|
id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
|
355
|
name="Marker Types">
|
356
|
</page>
|
357
|
<page
|
358
|
category="eu.etaxonomy.taxeditor.preferences.general"
|
359
|
class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
|
360
|
id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
|
361
|
name="Bulk Editor">
|
362
|
</page>
|
363
|
</extension>
|
364
|
<extension
|
365
|
point="org.eclipse.core.expressions.propertyTesters">
|
366
|
<propertyTester
|
367
|
class="eu.etaxonomy.taxeditor.bulkeditor.PropertyTester"
|
368
|
id="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"
|
369
|
namespace="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"
|
370
|
properties="isDerivedUnitEditor"
|
371
|
type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
|
372
|
</propertyTester>
|
373
|
</extension>
|
374
|
<extension
|
375
|
point="org.eclipse.ui.perspectiveExtensions">
|
376
|
<perspectiveExtension
|
377
|
targetID="*">
|
378
|
<showInPart
|
379
|
id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"></showInPart>
|
380
|
<showInPart
|
381
|
id="eu.etaxonomy.taxeditor.view.detail">
|
382
|
</showInPart>
|
383
|
</perspectiveExtension>
|
384
|
</extension>
|
385
|
<extension
|
386
|
point="org.eclipse.ui.importWizards">
|
387
|
<wizard
|
388
|
category="eu.etaxonomy.taxeditor.import.category.cdm"
|
389
|
class="eu.etaxonomy.taxeditor.dataimport.wizard.SpecimenSearchWizard"
|
390
|
id="eu.etaxonomy.taxeditor.dataimport.wizard.SpecimenSearchWizard"
|
391
|
name="Query BioCASE">
|
392
|
<description>
|
393
|
Query BioCaseProvider
|
394
|
</description>
|
395
|
</wizard>
|
396
|
</extension>
|
397
|
<!-- start set marker -->
|
398
|
|
399
|
</plugin>
|