Project

General

Profile

Download (16 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         name="%extension.name"
7
         point="org.eclipse.core.runtime.applications">
8
      <application
9
            cardinality="singleton-global"
10
            thread="main"
11
            visible="true">
12
         <run
13
               class="eu.etaxonomy.taxeditor.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="eu.etaxonomy.taxeditor.perspective.Taxonomic"
21
            id="eu.etaxonomy.taxeditor.application.perspective.taxonomic"
22
            name="%perspective.name">
23
      </perspective>
24
      <perspective
25
            class="eu.etaxonomy.taxeditor.perspective.PolytomousKey"
26
            id="eu.etaxonomy.taxeditor.application.perspective.polytomous"
27
            name="%perspective.name.0">
28
      </perspective>
29
      <perspective
30
            class="eu.etaxonomy.taxeditor.perspective.Uses"
31
            id="eu.etaxonomy.taxeditor.application.perspective.uses"
32
            name="%perspective.name.1">
33
      </perspective>
34
      <perspective
35
            class="eu.etaxonomy.taxeditor.perspective.DerivatePerspective"
36
            icon="icons/specimen_derivate-16x16-32.png"
37
            id="eu.etaxonomy.taxeditor.application.perspective.derivates"
38
            name="%perspective.name.2">
39
      </perspective>
40
      <perspective
41
            class="eu.etaxonomy.taxeditor.perspective.ChecklistPerspective"
42
            icon="icons/check.png"
43
            id="eu.etaxonomy.taxeditor.perspective.checklistperspective"
44
            name="%perspective.name.3">
45
      </perspective>
46
     
47
   </extension>
48
   <!--extension
49
         point="org.eclipse.ui.views">
50
      <view
51
            class="eu.etaxonomy.taxeditor.navigation.taxonomictree.TaxonomicTreeView"
52
            id="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
53
            name="Taxonomic Tree">
54
      </view>
55
      <view
56
            allowMultiple="true"
57
            class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
58
            id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
59
            name="Search Result"
60
            restorable="true">
61
      </view>
62
   </extension-->
63
   <extension
64
         point="org.eclipse.ui.menus">
65
      <menuContribution
66
            locationURI="menu:org.eclipse.ui.main.menu">
67
         <menu
68
               id="org.eclipse.ui.main.menu.file"
69
               label="%menu.label">
70
         </menu>
71
         <menu
72
               id="org.eclipse.ui.main.menu.edit"
73
               label="%menu.label.0">
74
         </menu>
75
         <menu
76
               id="org.eclipse.ui.main.menu.window"
77
               label="%menu.label.1">
78
         </menu>
79
          <menu
80
               id="org.eclipse.ui.main.menu.admin"
81
               label="%menu.label.4">
82
         </menu>
83
         <menu
84
               id="org.eclipse.ui.main.menu.help"
85
               label="%menu.label.2">
86
         </menu>
87
        
88
      </menuContribution>
89
      <menuContribution
90
            locationURI="menu:org.eclipse.ui.main.menu.file">
91
         <menu
92
               id="eu.etaxonomy.navigation.menu.new"
93
               label="%menu.label.3">
94
         </menu>
95
         <separator
96
               name="eu.etaxonomy.taxeditor.application.filemenu.new"
97
               visible="true">
98
         </separator>
99
         <command
100
               commandId="org.eclipse.ui.file.close"
101
               label="%command.label"
102
               style="push">
103
         </command>
104
         <command
105
               commandId="org.eclipse.ui.file.closeAll"
106
               label="%command.label.0"
107
               style="push">
108
         </command>
109
         <separator
110
               name="eu.etaxonomy.taxeditor.application.filemenu.close"
111
               visible="true">
112
         </separator>
113
         <command
114
               commandId="org.eclipse.ui.file.save"
115
               label="%command.label.1"
116
               style="push">
117
         </command>
118
         <command
119
               commandId="org.eclipse.ui.file.saveAll"
120
               label="%command.label.2"
121
               style="push">
122
         </command>
123
         <separator
124
               name="eu.etaxonomy.taxeditor.application.filemenu.save"
125
               visible="true">
126
         </separator>
127
         <command
128
               commandId="org.eclipse.ui.file.import"
129
               label="%command.label.3"
130
               style="push">
131
            <visibleWhen
132
                  checkEnabled="true">
133
               <reference
134
                     definitionId="isCdmStoreConnected">
135
               </reference>
136
            </visibleWhen>
137
         </command>
138
         <command
139
               commandId="org.eclipse.ui.file.export"
140
               label="%command.label.4"
141
               style="push">
142
            <visibleWhen
143
                  checkEnabled="true">
144
               <reference
145
                     definitionId="isCdmStoreConnected">
146
               </reference>
147
            </visibleWhen>
148
         </command>
149
         <separator
150
               name="eu.etaxonomy.taxeditor.application.filemenu.io"
151
               visible="true">
152
         </separator>
153
         <command
154
               commandId="org.eclipse.ui.file.exit"
155
               id="eu.etaxonomy.taxeditor.application.menu.exit"
156
               label="%command.label.5"
157
               style="push">
158
         </command>
159
      </menuContribution>
160
      <menuContribution
161
            locationURI="menu:org.eclipse.ui.main.menu.edit">
162
         <command
163
               commandId="org.eclipse.ui.edit.undo"
164
               label="%command.label.6">
165
         </command>
166
         <command
167
               commandId="org.eclipse.ui.edit.redo"
168
               label="%command.label.7"
169
               style="push">
170
         </command>
171
         <separator
172
               name="eu.etaxonomy.taxeditor.ui.edit.separator1"
173
               visible="true">
174
         </separator>
175
         <command
176
               commandId="org.eclipse.ui.edit.cut"
177
               label="%command.label.8"
178
               style="push">
179
         </command>
180
         <command
181
               commandId="org.eclipse.ui.edit.copy"
182
               label="%command.label.9"
183
               style="push">
184
         </command>
185
         <command
186
               commandId="org.eclipse.ui.edit.paste"
187
               label="%command.label.10"
188
               style="push">
189
         </command>
190
         <separator
191
               name="eu.etaxonomy.taxeditor.ui.edit.separator2"
192
               visible="true">
193
         </separator>
194
         <command
195
               commandId="org.eclipse.ui.edit.delete"
196
               label="%command.label.11"
197
               style="push">
198
         </command>
199
      </menuContribution>
200
      <menuContribution
201
            locationURI="menu:org.eclipse.ui.main.menu.window">
202
         <separator
203
               name="eu.etaxonomy.taxeditor.application.windowMenu.last"
204
               visible="true">
205
         </separator>
206
         <command
207
               commandId="org.eclipse.ui.window.preferences"
208
               label="%command.label.12"
209
               style="push">
210
         </command>
211
      </menuContribution>
212
      <menuContribution
213
            allPopups="false"
214
            locationURI="menu:org.eclipse.ui.main.menu.admin">
215
         <command
216
               commandId="eu.etaxonomy.taxeditor.application.DatabaseSettings"
217
               label="%command.label.23"
218
               style="push">
219
            <visibleWhen
220
                  checkEnabled="true">
221
               <and>
222
                  <reference
223
                        definitionId="hasROLE_PROJECT_MANAGER">
224
                  </reference>
225
                  <reference
226
                        definitionId="isCdmStoreConnected">
227
                  </reference>
228
               </and>
229
            </visibleWhen>
230
         </command>
231
         <command
232
               commandId="eu.etaxonomy.taxeditor.application.DatabaseRepairFunctionality"
233
               label="%command.label.24"
234
               style="push">
235
                <visibleWhen
236
                  checkEnabled="true">
237
               <and>
238
                  <reference
239
                        definitionId="hasROLE_PROJECT_MANAGER">
240
                  </reference>
241
                  <reference
242
                        definitionId="isCdmStoreConnected">
243
                  </reference>
244
               </and>
245
            </visibleWhen>
246
         </command>
247
      </menuContribution>
248
      <menuContribution
249
            locationURI="menu:org.eclipse.ui.main.menu.help">
250
         <command
251
               commandId="org.eclipse.ui.help.helpContents"
252
               label="%command.label.13"
253
               style="push">
254
         </command>
255
         <command
256
               commandId="org.eclipse.ui.help.helpSearch"
257
               label="%command.label.14"
258
               style="push">
259
         </command>
260
         <separator
261
               name="eu.etaxonomy.taxeditor.ui.help.separator0"
262
               visible="true">
263
         </separator>
264
         <command
265
               commandId="org.eclipse.ui.help.dynamicHelp"
266
               label="%command.label.15"
267
               style="push">
268
         </command>
269
         <command
270
               commandId="eu.etaxonomy.taxeditor.application.help.parser"
271
               label="%command.label.16"
272
               style="push">
273
         </command>
274
         <separator
275
               name="eu.etaxonomy.taxeditor.ui.help.separator1"
276
               visible="true">
277
         </separator>
278
         <!--command
279
               commandId="eu.etaxonomy.taxeditor.install"
280
               label="%command.label.18"
281
               style="push"/-->
282
         <command
283
               commandId="eu.etaxonomy.taxeditor.update"
284
               label="%command.label.17"
285
               style="push"/>    
286
         <separator
287
               name="eu.etaxonomy.taxeditor.ui.help.separator2"
288
               visible="true">
289
         </separator>
290
         <command
291
               commandId="org.eclipse.ui.help.aboutAction"
292
               label="%command.label.19">
293
         </command>
294
         <command
295
               commandId="eu.etaxonomy.taxeditor.application.help.aboutPlatform"
296
               label="%command.label.20"
297
               style="push">
298
         </command>
299
      </menuContribution>
300
            <menuContribution
301
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
302
         <toolbar
303
               id="eu.etaxonomy.taxeditor.editor.main">
304
            <command
305
                  commandId="org.eclipse.ui.newWizard"
306
                  label="%command.label.21"
307
                  style="push">
308
            </command>
309
            <command
310
                  commandId="org.eclipse.ui.file.save"
311
                  label="%command.label.22"
312
                  style="push">
313
            </command>
314
         </toolbar>
315
      </menuContribution>
316
   </extension>
317
   <extension
318
         id="product"
319
         point="org.eclipse.core.runtime.products">
320
      <product
321
            application="eu.etaxonomy.taxeditor.application.application"
322
            name="%product.name">
323
         <property
324
               name="windowImages"
325
               value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif">
326
         </property>
327
         <property
328
               name="aboutText"
329
               value="%productBlurb">
330
         </property>
331
         <!--property
332
               name="startupForegroundColor"
333
               value="#C8D5EA"-->
334
         <property
335
               name="startupForegroundColor"
336
               value="000000">
337
         </property>
338
         <property
339
               name="startupProgressRect"
340
               value="5,447,366,15">
341
         </property>
342
         <property
343
               name="startupMessageRect"
344
               value="7,432,360,20">
345
         </property>
346
         <property
347
               name="appName"
348
               value="EDIT Taxonomic Editor">
349
         </property>
350
         <property
351
               name="preferenceCustomization"
352
               value="plugin_customization.ini">
353
         </property>
354
         <property
355
               name="aboutImage"
356
               value="icons/256color_48x48.gif">
357
         </property>
358
      </product>
359
   </extension>
360
   <extension
361
         point="org.eclipse.ui.commands">
362
      <command
363
            defaultHandler="eu.etaxonomy.taxeditor.OpenExternalParserHelpHandler"
364
            id="eu.etaxonomy.taxeditor.application.help.parser"
365
            name="%command.name">
366
      </command>
367
      <command
368
            defaultHandler="eu.etaxonomy.taxeditor.OpenExternalAboutPlatformHandler"
369
            id="eu.etaxonomy.taxeditor.application.help.aboutPlatform"
370
            name="%command.name.0">
371
      </command>
372
      <command
373
            defaultHandler="eu.etaxonomy.taxeditor.update.UpdateHandler"
374
            id="eu.etaxonomy.taxeditor.update"
375
            name="%command.label.17">
376
      </command>
377
      <command
378
            defaultHandler="eu.etaxonomy.taxeditor.update.InstallNewSoftwareHandler"
379
            id="eu.etaxonomy.taxeditor.install"
380
            name="%command.label.18">
381
      </command>
382
   </extension>
383
   
384
   
385
	<extension
386
		point="org.eclipse.ui.activities">
387
		<activity
388
			description="%activity.description"
389
			id="eu.etaxonomy.taxeditor.disable"
390
			name="%activity.name">
391
		</activity>
392
		<activityPatternBinding
393
			activityId="eu.etaxonomy.taxeditor.disable"
394
			pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.project">
395
		</activityPatternBinding>
396
		<activityPatternBinding
397
			activityId="eu.etaxonomy.taxeditor.disable"
398
			pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.file">
399
		</activityPatternBinding>
400
		<activityPatternBinding
401
			activityId="eu.etaxonomy.taxeditor.disable"
402
			pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.folder">
403
		</activityPatternBinding>
404
		<activityPatternBinding
405
			activityId="eu.etaxonomy.taxeditor.disable"
406
			pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.editors\.wizards\.UntitledTextFileWizard">
407
		</activityPatternBinding>
408
  <activityPatternBinding
409
        activityId="eu.etaxonomy.taxeditor.disable"
410
        pattern="org\.eclipse\..*externaltools.*">
411
  </activityPatternBinding>
412
  <activityPatternBinding
413
        activityId="eu.etaxonomy.taxeditor.disable"
414
        pattern="org\.eclipse\.debug.*">
415
  </activityPatternBinding>
416
  <activityPatternBinding
417
        activityId="eu.etaxonomy.taxeditor.disable"
418
        pattern="org\.eclipse\.team.*">
419
  </activityPatternBinding>
420
  <activityPatternBinding
421
        activityId="eu.etaxonomy.taxeditor.disable"
422
        pattern="org\.eclipse\.ant.*">
423
  </activityPatternBinding>
424
  <activityPatternBinding
425
        activityId="eu.etaxonomy.taxeditor.disable"
426
        pattern="org\.eclipse\.pde.*">
427
  </activityPatternBinding>
428
  <activityPatternBinding
429
        activityId="eu.etaxonomy.taxeditor.disable"
430
        pattern="org\.eclipse\.jdt.*">
431
  </activityPatternBinding>
432
  <activityPatternBinding
433
        activityId="eu.etaxonomy.taxeditor.disable"
434
        pattern="org\.eclipse\.search.*">
435
  </activityPatternBinding>
436
	</extension>
437
 <extension
438
       id="eu_etaxonomy_taxeditor_product"
439
       point="org.eclipse.core.runtime.products">
440
    <product
441
          application="eu.etaxonomy.taxeditor.application.application"
442
          name="EDIT Taxonomic Editor">
443
       <property
444
             name="appName"
445
             value="EDIT Taxonomic Editor">
446
       </property>
447
       <property
448
             name="aboutImage"
449
             value="icons/256color_48x48.gif">
450
       </property>
451
       <property
452
             name="aboutText"
453
             value="%productBlurb">
454
       </property>
455
       <property
456
             name="windowImages"
457
             value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif">
458
       </property>
459
       <property
460
             name="startupForegroundColor"
461
             value="000000">
462
       </property>
463
       <property
464
             name="startupMessageRect"
465
             value="7,432,360,20">
466
       </property>
467
       <property
468
             name="startupProgressRect"
469
             value="5,447,366,15">
470
       </property>
471
       <property
472
             name="preferenceCustomization"
473
             value="plugin_customization.ini">
474
       </property>
475
    </product>
476
 </extension>
477

    
478
</plugin>
(5-5/8)