Project

General

Profile

Download (14.4 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
      <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 2d9a13f7 n.hoffmann
      <!--command
209 c949f813 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
210
            id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
211
            name="New Entity">
212 2d9a13f7 n.hoffmann
      </command-->
213 d7215b73 p.ciardelli
   </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 cbd2c296 p.ciardelli
            textPreferenceValue="false"
230 d7215b73 p.ciardelli
            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 cbd2c296 p.ciardelli
            textPreferenceValue="false"
248 d7215b73 p.ciardelli
            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 0dbbc312 p.ciardelli
   <extension
263
         point="org.eclipse.ui.views">
264
      <view
265
            class="eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView"
266 609a2409 n.hoffmann
            id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"
267 543ccf33 Patric Plitzner
            name="%view.name"
268 0dbbc312 p.ciardelli
            restorable="false">
269
      </view>
270
   </extension>   
271 0eee7271 p.ciardelli
   <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 c43d0839 Patric Plitzner
      <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 4620ebc6 p.ciardelli
   </extension>
300 e0200b04 em.lee
   <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 609a2409 n.hoffmann
      <handler
339
            class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"
340
            commandId="org.eclipse.ui.edit.delete">
341
         <activeWhen>
342
            <with
343 2628d99c n.hoffmann
                  variable="selection">
344
               <instanceof
345
                     value="eu.etaxonomy.taxeditor.model.LineSelection">
346
               </instanceof>
347 609a2409 n.hoffmann
            </with>
348
         </activeWhen>
349
      </handler>
350 db5e366d n.hoffmann
   </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 543ccf33 Patric Plitzner
            name="%page.name">
358 db5e366d n.hoffmann
      </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 543ccf33 Patric Plitzner
            name="%page.name.0">
364 db5e366d n.hoffmann
      </page>
365 4c2013f0 n.hoffmann
   </extension>
366 609a2409 n.hoffmann
   <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 5f7fd72e Patric Plitzner
   </extension>
377 4620ebc6 p.ciardelli
<!-- start set marker -->
378 c949f813 n.hoffmann
379 d7215b73 p.ciardelli
</plugin>