Project

General

Profile

Download (13.8 KB) Statistics
| Branch: | Tag: | Revision:
1 d7215b73 p.ciardelli
<?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 d5f64ca2 p.ciardelli
            default="false"
19 d7215b73 p.ciardelli
            id="bulkeditor.editor"
20 543ccf33 Patric Plitzner
            name="%editor.name">
21 d7215b73 p.ciardelli
      </editor>
22 8c97fa6b p.ciardelli
      <editor
23
            class="eu.etaxonomy.taxeditor.nameditor.TaxonNameEditor"
24
            default="false"
25
            id="nameeditor.editor"
26 543ccf33 Patric Plitzner
            name="%editor.name.0">
27 8c97fa6b p.ciardelli
      </editor>
28 5f7fd72e Patric Plitzner
      <editor
29
            class="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
30
            default="false"
31
            id="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
32 543ccf33 Patric Plitzner
            name="%editor.name.1">
33 5f7fd72e Patric Plitzner
      </editor>
34 d7215b73 p.ciardelli
   </extension>
35
   <extension
36
         point="org.eclipse.ui.menus">
37 bce34694 p.ciardelli
      <menuContribution
38 a4ec021f n.hoffmann
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
39 d7215b73 p.ciardelli
         <menu
40
               id="bulkeditor.menus.openmenu"
41 543ccf33 Patric Plitzner
               label="%menu.label">
42 d7215b73 p.ciardelli
         </menu>
43 5f7fd72e Patric Plitzner
         <menu
44 543ccf33 Patric Plitzner
               label="%menu.label.0">
45 5f7fd72e Patric Plitzner
         </menu>
46 d7215b73 p.ciardelli
      </menuContribution>
47
      <menuContribution
48
            locationURI="menu:bulkeditor.menus.openmenu">
49 5abc5c34 p.ciardelli
         <dynamic
50
               class="eu.etaxonomy.taxeditor.bulkeditor.command.OpenBulkEditorContributionItem"
51
               id="taxeditor-bulkeditor.dynamicopenmenu">
52
         </dynamic>
53 1c1ba686 p.ciardelli
         <!--command
54 8c97fa6b p.ciardelli
               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 1c1ba686 p.ciardelli
         </command-->
64 5abc5c34 p.ciardelli
      </menuContribution>
65 d7215b73 p.ciardelli
      <menuContribution
66 cbd2c296 p.ciardelli
            locationURI="popup:#BulkEditorContext">
67 609a2409 n.hoffmann
         <menu
68 543ccf33 Patric Plitzner
               label="%menu.label.1">
69 609a2409 n.hoffmann
            <dynamic
70
                  class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicNewObjectMenu"
71
                  id="eu.etaxonomy.taxeditor.bulkeditor.dynamicNewMenu">
72
            </dynamic>
73
         </menu>
74 882c88e1 p.ciardelli
         <separator
75
               name="taxeditor-bulkeditor.separator1"
76
               visible="true">
77
         </separator>
78 d7215b73 p.ciardelli
         <command
79 882c88e1 p.ciardelli
               commandId="bulkeditor.commands.setmergetarget"
80
               label="Set Current Line as Target for Duplicate Removal"
81 d7215b73 p.ciardelli
               style="push">
82 0eee7271 p.ciardelli
            <visibleWhen>
83
               <reference
84
                     definitionId="isMergeEnabled">
85
               </reference>
86
            </visibleWhen>
87 d7215b73 p.ciardelli
         </command>
88
         <command
89 882c88e1 p.ciardelli
               commandId="bulkeditor.commands.setmergecandidate"
90 4620ebc6 p.ciardelli
               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 882c88e1 p.ciardelli
               style="push">
102 0eee7271 p.ciardelli
            <visibleWhen>
103
               <reference
104
                     definitionId="isMergeEnabled">
105
               </reference>
106
            </visibleWhen>
107 882c88e1 p.ciardelli
         </command>
108
      <!--menuContribution
109
            locationURI="popup:org.eclipse.ui.popup.any"-->            
110
         <command
111
               commandId="bulkeditor.commands.mergegroup"
112
               label="De-Duplicate Group"
113 d7215b73 p.ciardelli
               style="push">
114 0eee7271 p.ciardelli
            <visibleWhen>
115
               <reference
116
                     definitionId="isMergeEnabled">
117
               </reference>
118
            </visibleWhen>
119 d7215b73 p.ciardelli
         </command>
120 882c88e1 p.ciardelli
         <separator
121
               name="taxeditor-bulkeditor.separator2"
122
               visible="true">
123
         </separator>
124 db5e366d n.hoffmann
         <menu
125 543ccf33 Patric Plitzner
               label="%menu.label.2">
126 db5e366d n.hoffmann
            <dynamic
127
                  class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicMarkerTypeEditingMenu"
128
                  id="eu.etaxonomy.taxeditor.bulkeditor.dynamicMarkerTypeEditingMenu">
129
            </dynamic>
130
         </menu>
131 609a2409 n.hoffmann
         <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 d7215b73 p.ciardelli
      </menuContribution>
141 5d9680cf Patric Plitzner
      <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 d7215b73 p.ciardelli
   </extension>
151
   <extension
152
         point="org.eclipse.ui.commands">
153
      <command
154 bf7d6344 p.ciardelli
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.MergeGroupHandler"
155 d7215b73 p.ciardelli
            id="bulkeditor.commands.mergegroup"
156
            name="Merge Group">
157
      </command>
158
      <command
159 bf7d6344 p.ciardelli
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeTargetHandler"
160 d7215b73 p.ciardelli
            id="bulkeditor.commands.setmergetarget"
161
            name="Set as Target for Group Merge">
162
      </command>
163 5abc5c34 p.ciardelli
      <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 725cf795 n.hoffmann
               values="eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues">
171 5abc5c34 p.ciardelli
         </commandParameter>
172
      </command>
173
      <command
174 6b8f06b2 p.ciardelli
            defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.NewObjectHandler"
175 5abc5c34 p.ciardelli
            id="taxeditor-bulkeditor.dynamicnewobjectcommand"
176
            name="Dynamic New Object">
177
      </command>
178 882c88e1 p.ciardelli
      <command
179 6b8f06b2 p.ciardelli
            defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.DeleteObjectHandler"
180 882c88e1 p.ciardelli
            id="taxeditor-bulkeditor.dynamicdeleteobjectcommand"
181
            name="Dynamic Delete Object">
182
      </command>
183
      <command
184 4620ebc6 p.ciardelli
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeCandidateHandler"
185 882c88e1 p.ciardelli
            id="bulkeditor.commands.setmergecandidate"
186 4620ebc6 p.ciardelli
            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 882c88e1 p.ciardelli
      </command>
193 5f7fd72e Patric Plitzner
      <command
194
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMarkerFlagHandler"
195
            id="taxeditor-bulkeditor.command.setMarkerFlag"
196
            name="Set Marker Flag">
197
      </command>
198 2d9a13f7 n.hoffmann
      <!--command
199 c949f813 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
200
            id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
201
            name="New Entity">
202 2d9a13f7 n.hoffmann
      </command-->
203 d7215b73 p.ciardelli
   </extension>
204
   <extension
205
         point="org.eclipse.ui.editors.markerAnnotationSpecification">
206
      <specification
207
            annotationType="merge_candidate_annotation"
208
            colorPreferenceKey="merge_candidate_annotation_color"
209
            colorPreferenceValue="220,220,255"
210
            highlightPreferenceValue="true"
211
            icon="icons/merge_candidate.gif"
212
            includeOnPreferencePage="true"
213
            label="Merge Candidate Annotation"
214
            overviewRulerPreferenceKey="merge_candidate_annotation_overview"
215
            overviewRulerPreferenceValue="true"
216
            presentationLayer="0"
217
            symbolicIcon="task"
218
            textPreferenceKey="merge_candidate_annotation_text"
219 cbd2c296 p.ciardelli
            textPreferenceValue="false"
220 d7215b73 p.ciardelli
            textStylePreferenceValue="BOX"
221
            verticalRulerPreferenceKey="merge_candidate_annotation_vertical"
222
            verticalRulerPreferenceValue="true">
223
      </specification>
224
      <specification
225
            annotationType="merge_target_annotation"
226
            colorPreferenceKey="merge_target_annotation_color"
227
            colorPreferenceValue="220,220,255"
228
            highlightPreferenceValue="true"
229
            icon="icons/merge_target.gif"
230
            includeOnPreferencePage="true"
231
            label="Merge Target Annotation"
232
            overviewRulerPreferenceKey="merge_target_annotation_overview"
233
            overviewRulerPreferenceValue="true"
234
            presentationLayer="1"
235
            symbolicIcon="task"
236
            textPreferenceKey="merge_target_annotation_text"
237 cbd2c296 p.ciardelli
            textPreferenceValue="false"
238 d7215b73 p.ciardelli
            textStylePreferenceValue="BOX"
239
            verticalRulerPreferenceKey="merge_target_annotation_vertical"
240
            verticalRulerPreferenceValue="true">
241
      </specification>      
242
   </extension>
243
   <extension
244
         point="org.eclipse.ui.editors.annotationTypes">
245
      <type
246
            name="merge_candidate_annotation">
247
      </type>
248
      <type
249
            name="merge_target_annotation">
250
      </type>
251
   </extension>
252 0dbbc312 p.ciardelli
   <extension
253
         point="org.eclipse.ui.views">
254
      <view
255
            class="eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView"
256 609a2409 n.hoffmann
            id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"
257 543ccf33 Patric Plitzner
            name="%view.name"
258 0dbbc312 p.ciardelli
            restorable="false">
259
      </view>
260
   </extension>   
261 0eee7271 p.ciardelli
   <extension
262
         point="org.eclipse.core.expressions.definitions">
263
      <definition
264
            id="isMergeEnabled">
265
         <with
266
               variable="activeEditor">
267
            <test
268
                  property="taxeditor-bulkeditor.propertyTester.isMergingEnabled">
269
            </test>
270
         </with>
271
      </definition>
272
   </extension>
273
   <extension
274
         point="org.eclipse.core.expressions.propertyTesters">
275
      <propertyTester
276
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
277
            id="taxeditor-bulkeditor.PropertyTester"
278
            namespace="taxeditor-bulkeditor.propertyTester"
279
            properties="isMergingEnabled"
280
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
281
      </propertyTester>
282 c43d0839 Patric Plitzner
      <propertyTester
283
            class="eu.etaxonomy.taxeditor.bulkeditor.PropertyTester"
284
            id="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"
285
            namespace="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"
286
            properties="isDerivedUnitEditor"
287
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
288
      </propertyTester>
289 4620ebc6 p.ciardelli
   </extension>
290 e0200b04 em.lee
   <extension
291
         point="org.eclipse.ui.handlers">
292
      <handler
293
            class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
294
            commandId="org.eclipse.ui.edit.cut">
295
         <activeWhen>
296
            <with
297
                  variable="activeFocusControlId">
298
               <equals
299
                     value="bulkeditor.textControlId">
300
               </equals>
301
            </with>
302
         </activeWhen>
303
      </handler>
304
      <handler
305
            class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
306
            commandId="org.eclipse.ui.edit.copy">
307
         <activeWhen>
308
            <with
309
                  variable="activeFocusControlId">
310
               <equals
311
                     value="bulkeditor.textControlId">
312
               </equals>
313
            </with>
314
         </activeWhen>
315
      </handler>
316
      <handler
317
            class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
318
            commandId="org.eclipse.ui.edit.paste">
319
         <activeWhen>
320
            <with
321
                  variable="activeFocusControlId">
322
               <equals
323
                     value="bulkeditor.textControlId">
324
               </equals>
325
            </with>
326
         </activeWhen>
327
      </handler>
328 609a2409 n.hoffmann
      <handler
329
            class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"
330
            commandId="org.eclipse.ui.edit.delete">
331
         <activeWhen>
332
            <with
333 2628d99c n.hoffmann
                  variable="selection">
334
               <instanceof
335
                     value="eu.etaxonomy.taxeditor.model.LineSelection">
336
               </instanceof>
337 609a2409 n.hoffmann
            </with>
338
         </activeWhen>
339
      </handler>
340 db5e366d n.hoffmann
   </extension>
341
   <extension
342
         point="org.eclipse.ui.preferencePages">
343
      <page
344
            category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
345
            class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
346
            id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
347 543ccf33 Patric Plitzner
            name="%page.name">
348 db5e366d n.hoffmann
      </page>
349
      <page
350
            category="eu.etaxonomy.taxeditor.preferences.general"
351
            class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
352
            id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
353 543ccf33 Patric Plitzner
            name="%page.name.0">
354 db5e366d n.hoffmann
      </page>
355 4c2013f0 n.hoffmann
   </extension>
356 609a2409 n.hoffmann
   <extension
357
         point="org.eclipse.ui.perspectiveExtensions">
358
      <perspectiveExtension
359
            targetID="*">
360
         <showInPart
361
               id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"></showInPart>
362
         <showInPart
363
               id="eu.etaxonomy.taxeditor.view.detail">
364
         </showInPart>
365
      </perspectiveExtension>
366 5f7fd72e Patric Plitzner
   </extension>
367 4620ebc6 p.ciardelli
<!-- start set marker -->
368 c949f813 n.hoffmann
369 d7215b73 p.ciardelli
</plugin>