-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
496 lines (494 loc) · 17.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
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="TSQMBenchmarkPluginBuilder"
name="TSQM Benchmark Plugin Builder"
point="org.eclipse.core.resources.builders">
<builder
hasNature="true">
<run
class="com.tsqm.plugin.builder.TSQMBenchmarkPluginBuilder">
</run>
</builder>
</extension>
<extension
id="TSQMBenchmarkNatureID"
name="TSQMBenchmarkNaturePN"
point="org.eclipse.core.resources.natures">
<runtime>
<run
class="com.tsqm.plugin.builder.TSQMBenchmarkNatureCN">
</run>
</runtime>
<builder
id="com.tsqm.plugin.TSQMBenchmarkPluginBuilder">
</builder>
</extension>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
objectClass="org.eclipse.core.resources.IProject"
nameFilter="*"
id="com.tsqm.plugin.contribution1">
<action
label="Add/Remove Sample Nature"
class="com.tsqm.plugin.builder.ToggleNatureAction"
menubarPath="additions"
enablesFor="+"
id="com.tsqm.plugin.addRemoveNatureAction">
</action>
</objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
id="com.tsqm.plugin.contribution1">
<menu
label="TSQM New Submenu"
path="additions"
id="com.tsqm.plugin.menu1">
<separator
name="group1">
</separator>
</menu>
<action
label="TSQM New Action"
class="com.tsqm.plugin.popup.actions.TSQMNewAction"
menubarPath="com.tsqm.plugin.menu1/group1"
enablesFor="1"
id="com.tsqm.plugin.newAction">
</action>
</objectContribution>
</extension>
<extension
id="xmlProblem"
name="XML Problem"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.core.resources.problemmarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
point="org.eclipse.ui.views">
<category
name="TSQM Benchmark Category"
id="com.tsqm.plugin">
</category>
<view
name="TSQM Benchmark Navigator"
icon="icons/sample.gif"
class="org.eclipse.ui.navigator.CommonNavigator"
id="com.tsqm.plugin.navigator">
</view>
<view
name="TSQM Benchmark Main View"
icon="icons/sample.gif"
category="com.tsqm.plugin"
class="com.tsqm.plugin.views.TSQMMainView"
id="com.tsqm.plugin.views.TSQMMainView">
</view>
<view
category="com.tsqm.plugin"
class="com.tsqm.plugin.views.TSQMBenchmarkViewpart"
id="com.tsqm.plugin.views.TSQMViewpartSWT"
name="TSQM Benchmark View">
</view>
<view
category="com.tsqm.plugin"
class="com.tsqm.plugin.views.TSQMSCAUViewpart"
id="com.tsqm.plugin.views.TSQMSCAUViewpart"
name="TSQM Source Code Analysis Unit">
</view>
<view
category="com.tsqm.plugin"
class="com.tsqm.plugin.views.WordView"
icon="icons/sample.gif"
id="com.tsqm.plugin.views.WordView"
name="WordView">
</view>
<view
category="com.tsqm.plugin"
class="com.tsqm.plugin.views.ListenerView"
icon="icons/sample.gif"
id="com.tsqm.plugin.views.ListenerView"
name="ListenerView">
</view>
<view
category="com.tsqm.plugin"
class="com.tsqm.plugin.views.TSQMMetricsView"
icon="icons/sample.gif"
id="com.tsqm.plugin.views.TSQMMetricsView"
name="TSQM Metrics View">
</view>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewerActionBinding
viewerId="com.tsqm.plugin.navigator">
<includes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.*">
</actionExtension>
</includes>
</viewerActionBinding>
<viewerContentBinding
viewerId="com.tsqm.plugin.navigator">
<includes>
<contentExtension
pattern="org.eclipse.ui.navigator.resourceContent">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.filters.*">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.linkHelper">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.workingSets">
</contentExtension>
</includes>
</viewerContentBinding>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.navigator.ProjectExplorer"
relationship="stack"
id="com.tsqm.plugin.navigator">
</view>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.views.ProblemView"
relationship="right"
id="com.tsqm.plugin.views.TSQMMainView">
</view>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="com.tsqm.plugin.views.SampleView"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="com.tsqm.plugin.views.SampleView"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="com.tsqm.plugin.views.TSQMMetricsView"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.decorators">
<decorator
lightweight="true"
location="BOTTOM_RIGHT"
adaptable="true"
label="Resource Decorator"
icon="icons/sample_decorator.gif"
state="true"
id="com.tsqm.plugin.decorator">
<enablement>
<and>
<objectClass
name="org.eclipse.core.resources.IResource">
</objectClass>
<or>
<objectClass
name="org.eclipse.core.resources.IProject">
</objectClass>
<objectClass
name="org.eclipse.core.resources.IFile">
</objectClass>
</or>
</and>
</enablement>
</decorator>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
name="TSQM XML Editor"
extensions="xml"
icon="icons/sample.gif"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
class="com.tsqm.plugin.editors.XMLEditor"
id="com.tsqm.plugin.editors.XMLEditor">
</editor>
<editor
name="TSQM Benchmark Multi-page Editor"
extensions="mpe"
icon="icons/sample.gif"
contributorClass="com.tsqm.plugin.editors.TSQMMultiPageEditorContributor"
class="com.tsqm.plugin.editors.TSQMMultiPageEditor"
id="com.tsqm.plugin.editors.TSQMMultiPageEditor">
</editor>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
name="TSQMCommandCategory"
id="com.tsqm.plugin.commands.category">
</category>
<command
name="TSQMCommand 1 (MAIN)"
categoryId="com.tsqm.plugin.commands.category"
id="com.tsqm.plugin.commands.sampleCommand">
</command>
<command
categoryId="com.tsqm.plugin.commands.category"
id="com.tsqm.plugin.commands.sampleCommand2"
name="TSQMCommand 2 (SCAU)">
</command>
<command
categoryId="com.tsqm.plugin.commands.category"
id="com.tsqm.plugin.commands.sampleCommand3"
name="TSQMCommand 3 (Metrics)">
</command>
<command
categoryId="com.tsqm.plugin.commands.category"
id="com.tsqm.plugin.commands.sampleCommand4"
name="TSQMCommand 4 (Other)">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="com.tsqm.plugin.commands.sampleCommand"
class="com.tsqm.plugin.handlers.TSQMHandler">
</handler>
<handler
class="com.tsqm.plugin.handlers.TSQMHandler"
commandId="com.tsqm.plugin.commands.sampleCommand2">
</handler>
<handler
class="com.tsqm.plugin.handlers.TSQMHandler"
commandId="com.tsqm.plugin.commands.sampleCommand3">
</handler>
<handler
class="com.tsqm.plugin.handlers.TSQMHandler"
commandId="com.tsqm.plugin.commands.sampleCommand4">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="com.tsqm.plugin.commands.sampleCommand"
contextId="org.eclipse.ui.contexts.window"
sequence="M1+6"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
label="TSQM Benchmark Menu"
mnemonic="M"
id="com.tsqm.plugin.menus.sampleMenu">
<command
commandId="com.tsqm.plugin.commands.sampleCommand"
id="com.tsqm.plugin.menus.sampleCommand"
mnemonic="S"
tooltip="TSQM (Main) Tooltip">
</command>
<command
commandId="com.tsqm.plugin.commands.sampleCommand2"
id="com.tsqm.plugin.menus.sampleCommand2"
mnemonic="S"
tooltip="TSQM Command">
</command>
<command
commandId="com.tsqm.plugin.commands.sampleCommand3"
id="com.tsqm.plugin.menus.sampleCommand3"
mnemonic="S"
tooltip="TSQM Command">
</command>
<command
commandId="com.tsqm.plugin.commands.sampleCommand4"
id="com.tsqm.plugin.menus.sampleCommand4"
mnemonic="S"
tooltip="TSQM Command">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="com.tsqm.plugin.toolbars.sampleToolbar">
<command
commandId="com.tsqm.plugin.commands.sampleCommand"
icon="icons/scau.gif"
tooltip="TSQM Toolbar"
id="com.tsqm.plugin.toolbars.sampleCommand">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="TSQMAction Set"
visible="true"
id="com.tsqm.plugin.actionSet">
<menu
label="TSQM &Menu"
id="TSQMMenu">
<separator
name="TSQMGroup">
</separator>
</menu>
<action
label="&TSQM Action"
icon="icons/sample.gif"
class="com.tsqm.plugin.actions.TSQMAction"
tooltip="TSQM Menu Tooltip"
menubarPath="TSQMMenu/TSQMGroup"
toolbarPath="sampleGroup"
id="com.tsqm.plugin.actions.TSQMAction">
</action>
</actionSet>
</extension>
<extension
point="org.eclipse.help.toc">
<toc
file="toc.xml">
</toc>
<toc
file="testToc.xml"
primary="true">
</toc>
</extension>
<extension
point="org.eclipse.ui.importWizards">
<category
name="TSQM File Import"
id="com.tsqm.plugin.importWizards.sampleCategory">
</category>
<wizard
name="Import File for TSQM Benchmark"
icon="icons/sample.gif"
category="com.tsqm.plugin.importWizards.sampleCategory"
class="com.tsqm.plugin.importWizards.ImportWizard"
id="com.tsqm.plugin.importWizards.ImportWizard">
<description>
Import a file from the local file system into the workspace.
</description>
</wizard>
</extension>
<extension
point="org.eclipse.ui.newWizards">
<category
name="TSQM Wizards"
id="com.tsqm.plugin">
</category>
<wizard
name="TSQM Multi-page Editor file"
icon="icons/sample.gif"
category="com.tsqm.plugin"
class="com.tsqm.plugin.wizards.TSQMNewWizard"
id="com.tsqm.plugin.wizards.TSQMNewWizard">
</wizard>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
name="TSQM Release Engineering"
icon="icons/releng_gears.gif"
class="com.tsqm.plugin.perspectives.RelEngPerspective"
id="com.tsqm.plugin.perspectives.RelEngPerspective">
</perspective>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
name="TSQM Benchmark Preferences"
class="com.tsqm.plugin.preferences.TSQMPreferencePage"
id="com.tsqm.plugin.preferences.TSQMPreferencePage">
</page>
<page
class="com.tsqm.plugin.preferences.MetricsPreferencePage"
id="com.tsqm.plugin.preferences.MetricsPreferencePage"
name="TSQM Metrics Preferences">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="com.tsqm.plugin.preferences.PreferenceInitializer">
</initializer>
<initializer
class="com.tsqm.plugin.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
name="TSQM Benchmark Page"
nameFilter="*.*"
class="com.tsqm.plugin.properties.TSQMPropertyPage"
id="com.tsqm.plugin.properties.samplePropertyPage">
<enabledWhen>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
</enabledWhen>
</page>
</extension>
<extension
point="org.eclipse.ui.splashHandlers">
<splashHandler
class="com.tsqm.plugin.splashHandlers.InteractiveSplashHandler"
id="com.tsqm.plugin.splashHandlers.interactive">
</splashHandler>
<splashHandlerProductBinding
splashId="com.tsqm.plugin.splashHandlers.interactive"
productId="org.eclipse.epp.package.jee.product">
</splashHandlerProductBinding>
</extension>
<extension
point="org.eclipse.ui.intro.configExtension">
<configExtension
content="TSQM Benchmark Intro/sample.xml"
configId="org.eclipse.ui.intro.universalConfig">
</configExtension>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
<contexts
file="contexts.xml">
</contexts>
<contexts
file="contexts.xml">
</contexts>
<contexts
file="contexts.xml">
</contexts>
</extension>
</plugin>