Project

General

Profile

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

    
413
</plugin>
(5-5/6)