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.dataimport.DataImportEditor"
|
18
|
default="false"
|
19
|
id="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
|
20
|
name="%editor.name.1">
|
21
|
</editor>
|
22
|
</extension>
|
23
|
<extension
|
24
|
point="org.eclipse.ui.commands">
|
25
|
<command
|
26
|
id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
|
27
|
name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
|
28
|
</command>
|
29
|
<command
|
30
|
id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity"
|
31
|
name="Open bulk editor for identifiable entity">
|
32
|
<commandParameter
|
33
|
id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity.uuid"
|
34
|
name="Identifiable Entity UUID"
|
35
|
optional="true"
|
36
|
typeId="eu.etaxonomy.taxeditor.uuidParameterType">
|
37
|
</commandParameter>
|
38
|
</command>
|
39
|
<!--command
|
40
|
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
|
41
|
id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
|
42
|
name="New Entity">
|
43
|
</command-->
|
44
|
</extension>
|
45
|
<extension
|
46
|
point="org.eclipse.ui.editors.markerAnnotationSpecification">
|
47
|
<specification
|
48
|
annotationType="merge_candidate_annotation"
|
49
|
colorPreferenceKey="merge_candidate_annotation_color"
|
50
|
colorPreferenceValue="220,220,255"
|
51
|
highlightPreferenceValue="true"
|
52
|
icon="icons/merge_candidate.gif"
|
53
|
includeOnPreferencePage="true"
|
54
|
label="%specification.label"
|
55
|
overviewRulerPreferenceKey="merge_candidate_annotation_overview"
|
56
|
overviewRulerPreferenceValue="true"
|
57
|
presentationLayer="0"
|
58
|
symbolicIcon="task"
|
59
|
textPreferenceKey="merge_candidate_annotation_text"
|
60
|
textPreferenceValue="false"
|
61
|
textStylePreferenceValue="BOX"
|
62
|
verticalRulerPreferenceKey="merge_candidate_annotation_vertical"
|
63
|
verticalRulerPreferenceValue="true">
|
64
|
</specification>
|
65
|
<specification
|
66
|
annotationType="merge_target_annotation"
|
67
|
colorPreferenceKey="merge_target_annotation_color"
|
68
|
colorPreferenceValue="220,220,255"
|
69
|
highlightPreferenceValue="true"
|
70
|
icon="icons/merge_target.gif"
|
71
|
includeOnPreferencePage="true"
|
72
|
label="%specification.label.0"
|
73
|
overviewRulerPreferenceKey="merge_target_annotation_overview"
|
74
|
overviewRulerPreferenceValue="true"
|
75
|
presentationLayer="1"
|
76
|
symbolicIcon="task"
|
77
|
textPreferenceKey="merge_target_annotation_text"
|
78
|
textPreferenceValue="false"
|
79
|
textStylePreferenceValue="BOX"
|
80
|
verticalRulerPreferenceKey="merge_target_annotation_vertical"
|
81
|
verticalRulerPreferenceValue="true">
|
82
|
</specification>
|
83
|
</extension>
|
84
|
<extension
|
85
|
point="org.eclipse.ui.editors.annotationTypes">
|
86
|
<type
|
87
|
name="merge_candidate_annotation">
|
88
|
</type>
|
89
|
<type
|
90
|
name="merge_target_annotation">
|
91
|
</type>
|
92
|
</extension>
|
93
|
<extension
|
94
|
point="org.eclipse.core.expressions.definitions">
|
95
|
<definition
|
96
|
id="isMergeEnabled">
|
97
|
<with
|
98
|
variable="activeEditor">
|
99
|
<test
|
100
|
property="taxeditor-bulkeditor.propertyTester.isMergingEnabled">
|
101
|
</test>
|
102
|
</with>
|
103
|
</definition>
|
104
|
<definition
|
105
|
id="isConvertEnabled">
|
106
|
<with
|
107
|
variable="activeEditor">
|
108
|
<test
|
109
|
property="taxeditor-bulkeditor.propertyTester.isConvertingEnabled">
|
110
|
</test>
|
111
|
</with>
|
112
|
</definition>
|
113
|
<definition
|
114
|
id="isTaxonBulkEditorInput">
|
115
|
<with
|
116
|
variable="activeEditor">
|
117
|
<test
|
118
|
property="taxeditor-bulkeditor.propertyTester.isTaxonEditor">
|
119
|
</test>
|
120
|
</with>
|
121
|
</definition>
|
122
|
<definition
|
123
|
id="isTeam">
|
124
|
<with
|
125
|
variable="selection">
|
126
|
<test
|
127
|
property="eu.etaxonomy.taxeditor.bulkeditor.command.isTeam">
|
128
|
</test>
|
129
|
</with>
|
130
|
</definition>
|
131
|
<definition
|
132
|
id="isPerson">
|
133
|
<with
|
134
|
variable="selection">
|
135
|
<test
|
136
|
property="eu.etaxonomy.taxeditor.bulkeditor.command.isPerson">
|
137
|
</test>
|
138
|
</with>
|
139
|
</definition>
|
140
|
<definition
|
141
|
id="isBulkEditorSupported">
|
142
|
<with
|
143
|
variable="selection">
|
144
|
<test
|
145
|
property="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorSelectionPropertyTester.isBulkEditorSupported">
|
146
|
</test>
|
147
|
</with>
|
148
|
</definition>
|
149
|
<definition
|
150
|
id="isGroupEditor">
|
151
|
<with
|
152
|
variable="activeEditor">
|
153
|
<test
|
154
|
property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
|
155
|
</test>
|
156
|
</with>
|
157
|
</definition>
|
158
|
</extension>
|
159
|
<extension
|
160
|
point="org.eclipse.core.expressions.propertyTesters">
|
161
|
<propertyTester
|
162
|
class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
|
163
|
id="taxeditor-bulkeditor.PropertyTester"
|
164
|
namespace="taxeditor-bulkeditor.propertyTester"
|
165
|
properties="isMergingEnabled, isDerivedUnitEditor, isTaxonEditor, isGroupEditor, isConvertingEnabled"
|
166
|
type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
|
167
|
</propertyTester>
|
168
|
<propertyTester
|
169
|
class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorMenuPropertyTester"
|
170
|
id="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorMenuPropertyTester"
|
171
|
namespace="eu.etaxonomy.taxeditor.bulkeditor.command"
|
172
|
properties="isTeam, isPerson"
|
173
|
type="java.lang.Object">
|
174
|
</propertyTester>
|
175
|
<propertyTester
|
176
|
class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorSelectionPropertyTester"
|
177
|
id="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorSelectionPropertyTester"
|
178
|
namespace="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorSelectionPropertyTester"
|
179
|
properties="isBulkEditorSupported"
|
180
|
type="org.eclipse.jface.viewers.IStructuredSelection">
|
181
|
</propertyTester>
|
182
|
</extension>
|
183
|
<extension
|
184
|
point="org.eclipse.ui.handlers">
|
185
|
<handler
|
186
|
class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
|
187
|
commandId="org.eclipse.ui.edit.cut">
|
188
|
<activeWhen>
|
189
|
<with
|
190
|
variable="activeFocusControlId">
|
191
|
<equals
|
192
|
value="bulkeditor.textControlId">
|
193
|
</equals>
|
194
|
</with>
|
195
|
</activeWhen>
|
196
|
</handler>
|
197
|
<handler
|
198
|
class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
|
199
|
commandId="org.eclipse.ui.edit.copy">
|
200
|
<activeWhen>
|
201
|
<with
|
202
|
variable="activeFocusControlId">
|
203
|
<equals
|
204
|
value="bulkeditor.textControlId">
|
205
|
</equals>
|
206
|
</with>
|
207
|
</activeWhen>
|
208
|
</handler>
|
209
|
<handler
|
210
|
class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
|
211
|
commandId="org.eclipse.ui.edit.paste">
|
212
|
<activeWhen>
|
213
|
<with
|
214
|
variable="activeFocusControlId">
|
215
|
<equals
|
216
|
value="bulkeditor.textControlId">
|
217
|
</equals>
|
218
|
</with>
|
219
|
</activeWhen>
|
220
|
</handler>
|
221
|
|
222
|
</extension>
|
223
|
<extension
|
224
|
point="org.eclipse.ui.preferencePages">
|
225
|
<page
|
226
|
category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
|
227
|
class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
|
228
|
id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
|
229
|
name="%page.name">
|
230
|
</page>
|
231
|
<page
|
232
|
category="eu.etaxonomy.taxeditor.preferences.general"
|
233
|
class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
|
234
|
id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
|
235
|
name="%page.name.0">
|
236
|
</page>
|
237
|
</extension>
|
238
|
<extension
|
239
|
point="eu.etaxonomy.taxeditor.store.cdmViewer">
|
240
|
<viewCommandMapping
|
241
|
commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView"
|
242
|
selection="java.lang.Object"
|
243
|
viewerName="%viewCommandMapping.viewerName.REFERENCING_OBJECTS_VIEW">
|
244
|
</viewCommandMapping>
|
245
|
<viewCommandMapping
|
246
|
commandId="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForTaxonNode"
|
247
|
selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
|
248
|
viewerName="%viewCommandMapping.viewerName.BULK_EDITOR">
|
249
|
</viewCommandMapping>
|
250
|
<viewCommandMapping
|
251
|
commandId="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity"
|
252
|
selection="eu.etaxonomy.cdm.model.common.IdentifiableEntity"
|
253
|
viewerName="%viewCommandMapping.viewerName.BULK_EDITOR">
|
254
|
</viewCommandMapping>
|
255
|
</extension>
|
256
|
<extension
|
257
|
id="eu.etaxonomy.taxeditor.bulkeditor.workbench.model"
|
258
|
name="Bulk Editor Workbench Model"
|
259
|
point="org.eclipse.e4.workbench.model">
|
260
|
<fragment
|
261
|
apply="always"
|
262
|
uri="fragment.e4xmi">
|
263
|
</fragment>
|
264
|
</extension>
|
265
|
<!-- start set marker -->
|
266
|
|
267
|
</plugin>
|