/
plugin.xml
404 lines (390 loc) · 15.1 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.xml"
file-extensions="xml"
id="name.abuchen.portfolio.client"
name="%content-type.name"
priority="high">
<describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber2">
<parameter name="element" value="client"/>
</describer>
</content-type>
</extension>
<extension point="org.eclipse.ui.editors">
<editor
class="name.abuchen.portfolio.ui.ClientEditor"
default="false"
id="name.abuchen.portfolio.ui.editor"
name="%editor.name">
<contentTypeBinding contentTypeId="name.abuchen.portfolio.client"/>
</editor>
</extension>
<extension
id="application"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="name.abuchen.portfolio.ui.app.Application">
</run>
</application>
</extension>
<extension
id="commandline"
point="org.eclipse.core.runtime.applications">
<application
visible="true">
<run
class="name.abuchen.portfolio.ui.app.CommandLineApplication">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
name="%perspective.name"
class="name.abuchen.portfolio.ui.app.Perspective"
id="name.abuchen.portfolio.perspective">
</perspective>
</extension>
<extension
id="product"
point="org.eclipse.core.runtime.products">
<product
application="name.abuchen.portfolio.ui.application"
name="%product.name">
<property
name="appName"
value="%product.name">
</property>
<property
name="aboutImage"
value="icons/about.gif">
</property>
<property
name="windowImages"
value="icons/pp_16.gif,icons/pp_32.gif,icons/pp_48.gif,icons/pp_128.gif"/>
<property
name="aboutText"
value="Portfolio Performance

Version {0}

(c) Copyright Andreas Buchen 2012. All rights reserved.

This product includes software developed by the
Eclipse Foundation http://eclipse.org/
Apache Software Foundation http://apache.org/
SWT Chart Project http://www.swtchart.org/
Tree Map Library http://code.google.com/p/treemaplib/

Some icons are based on
FatCow Hosting Icons http://www.fatcow.com/free-icons
(Creative Commons Attribution 3.0 United States)

This product is published under the Eclipse Public License
http://www.eclipse.org/legal/epl-v10.html">
</property>
<property
name="preferenceCustomization"
value="plugin_customization.ini">
</property>
</product>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu">
<menu
id="file"
label="%menu.file.label">
<command
id="name.abuchen.portfolio.ui.menus.newFileCommand"
commandId="name.abuchen.portfolio.ui.commands.newFileCommand"
mnemonic="%command.newFile.mnemonic">
</command>
<command
id="name.abuchen.portfolio.ui.menus.openFileCommand"
commandId="name.abuchen.portfolio.ui.commands.openFileCommand"
mnemonic="%command.openFile.mnemonic">
</command>
<separator
name="name.abuchen.portfolio.ui.menus.fileSeparator"
visible="true">
</separator>
<command
id="org.eclipse.ui.file.save"
commandId="org.eclipse.ui.file.save">
</command>
<command
id="org.eclipse.ui.file.save"
commandId="org.eclipse.ui.file.saveAs">
</command>
<separator
name="name.abuchen.portfolio.ui.menus.operationsSeparator"
visible="true">
</separator>
<command
id="name.abuchen.portfolio.ui.commands.consistencyChecksCommand"
commandId="name.abuchen.portfolio.ui.commands.consistencyChecksCommand">
</command>
<separator
name="name.abuchen.portfolio.ui.menus.exportSeparator"
visible="true">
</separator>
<command
id="name.abuchen.portfolio.ui.menus.importCommand"
commandId="name.abuchen.portfolio.ui.commands.importCommand">
</command>
<command
id="name.abuchen.portfolio.ui.menus.exportCommand"
commandId="name.abuchen.portfolio.ui.commands.exportCommand">
</command>
</menu>
<menu
id="online"
label="%menu.online.label">
<command
id="name.abuchen.portfolio.ui.menus.updateQuotesCommand"
commandId="name.abuchen.portfolio.ui.commands.updateQuotesCommand">
</command>
<command
id="name.abuchen.portfolio.ui.menus.updateQuotesCommand2"
commandId="name.abuchen.portfolio.ui.commands.updateQuotesCommand"
label="%command.updateHistoricQuotes.label">
<parameter name="name.abuchen.portfolio.ui.param.target" value="historic"/>
</command>
<command
commandId="name.abuchen.portfolio.ui.commands.updateCPICommand"
id="name.abuchen.portfolio.ui.menus.updateCPICommand">
</command>
</menu>
<menu id="help"
label="%menu.help.label">
<visibleWhen
checkEnabled="true">
<not>
<systemTest
property="os.name"
value="Mac OS X">
</systemTest>
</not>
</visibleWhen>
<command
id="org.eclipse.ui.help.aboutAction"
commandId="org.eclipse.ui.help.aboutAction">
</command>
<command
id="org.eclipse.ui.help.quickStartAction"
commandId="org.eclipse.ui.help.quickStartAction">
</command>
<separator
name="name.abuchen.portfolio.ui.menus.helpSeparator"
visible="true">
</separator>
<command
id="org.eclipse.ui.window.preferences"
commandId="org.eclipse.ui.window.preferences">
</command>
<command
id="name.abuchen.portfolio.ui.menus.updateCommand"
commandId="name.abuchen.portfolio.ui.commands.updateCommand">
</command>
<command
commandId="org.eclipse.ui.views.showView"
label="%command.showErrorView.label"
style="push">
<parameter
name="org.eclipse.ui.views.showView.viewId"
value="org.eclipse.pde.runtime.LogView">
</parameter>
</command>
</menu>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
id="name.abuchen.portfolio.ui.commands.category"
name="%category.name">
</category>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.openFileCommand"
name="%command.openFile.name">
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.openSampleCommand"
name="%command.openSample.name">
<commandParameter
id="name.abuchen.portfolio.ui.param.sample"
name="sample"
optional="true">
</commandParameter>
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.newFileCommand"
name="%command.newFile.name">
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.updateQuotesCommand"
name="%command.updateQuotes.name">
<commandParameter
id="name.abuchen.portfolio.ui.param.target"
name="target"
optional="true">
</commandParameter>
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.updateCPICommand"
name="%command.updateCPI.name">
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.importCommand"
name="%command.import.name">
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.exportCommand"
name="%command.export.name">
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.updateCommand"
name="%command.update.name">
</command>
<command
categoryId="name.abuchen.portfolio.ui.commands.category"
id="name.abuchen.portfolio.ui.commands.consistencyChecksCommand"
name="%command.consistencyChecks.name">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="name.abuchen.portfolio.ui.handlers.OpenFileHandler"
commandId="name.abuchen.portfolio.ui.commands.openFileCommand">
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.OpenSampleFileHandler"
commandId="name.abuchen.portfolio.ui.commands.openSampleCommand">
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.NewFileHandler"
commandId="name.abuchen.portfolio.ui.commands.newFileCommand">
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.UpdateQuotesHandler"
commandId="name.abuchen.portfolio.ui.commands.updateQuotesCommand">
<activeWhen>
<with variable="activeEditorId">
<equals value="name.abuchen.portfolio.ui.editor"/>
</with>
</activeWhen>
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.UpdateCPIHandler"
commandId="name.abuchen.portfolio.ui.commands.updateCPICommand">
<activeWhen>
<with variable="activeEditorId">
<equals value="name.abuchen.portfolio.ui.editor"/>
</with>
</activeWhen>
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.ImportHandler"
commandId="name.abuchen.portfolio.ui.commands.importCommand">
<activeWhen>
<with variable="activeEditorId">
<equals value="name.abuchen.portfolio.ui.editor"/>
</with>
</activeWhen>
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.ExportHandler"
commandId="name.abuchen.portfolio.ui.commands.exportCommand">
<activeWhen>
<with variable="activeEditorId">
<equals value="name.abuchen.portfolio.ui.editor"/>
</with>
</activeWhen>
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.UpdateHandler"
commandId="name.abuchen.portfolio.ui.commands.updateCommand">
</handler>
<handler
class="name.abuchen.portfolio.ui.handlers.RunConsistencyChecksHandler"
commandId="name.abuchen.portfolio.ui.commands.consistencyChecksCommand">
<activeWhen>
<with variable="activeEditorId">
<equals value="name.abuchen.portfolio.ui.editor"/>
</with>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="name.abuchen.portfolio.ui.commands.openFileCommand"
contextId="org.eclipse.ui.contexts.window"
schemeId="name.abuchen.portfolio.ui.scheme"
sequence="M1+O">
</key>
<key
commandId="name.abuchen.portfolio.ui.commands.newFileCommand"
contextId="org.eclipse.ui.contexts.window"
schemeId="name.abuchen.portfolio.ui.scheme"
sequence="M1+N">
</key>
<key
commandId="org.eclipse.ui.file.save"
contextId="org.eclipse.ui.contexts.window"
schemeId="name.abuchen.portfolio.ui.scheme"
sequence="M1+S">
</key>
<key
commandId="org.eclipse.ui.file.saveAs"
contextId="org.eclipse.ui.contexts.window"
schemeId="name.abuchen.portfolio.ui.scheme"
sequence="M1+M2+S">
</key>
<scheme
id="name.abuchen.portfolio.ui.scheme"
name="%scheme.name">
</scheme>
</extension>
<extension
point="org.eclipse.ui.elementFactories">
<factory
class="name.abuchen.portfolio.ui.ElementFactory"
id="name.abuchen.portfolio.ui.factory">
</factory>
</extension>
<extension
point="org.eclipse.ui.splashHandlers">
<splashHandler
class="name.abuchen.portfolio.ui.app.VersionNumberSplashHandler"
id="name.abuchen.portfolio.ui.splash">
</splashHandler>
<splashHandlerProductBinding
productId="name.abuchen.portfolio.ui.product"
splashId="name.abuchen.portfolio.ui.splash">
</splashHandlerProductBinding>
</extension>
<extension
point="org.eclipse.ui.intro">
<introProductBinding
introId="name.abuchen.portfolio.ui.intro"
productId="name.abuchen.portfolio.ui.product">
</introProductBinding>
<intro
class="name.abuchen.portfolio.ui.app.IntroPart"
id="name.abuchen.portfolio.ui.intro">
</intro>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="name.abuchen.portfolio.ui.preferences.UpdatePreferencePage"
id="name.abuchen.portfolio.ui.updatePreferencePage"
name="%pref.updates.name">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="name.abuchen.portfolio.ui.preferences.UpdateInitializer">
</initializer>
</extension>
</plugin>