-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
138 lines (136 loc) · 4.51 KB
/
plugin.xml
File metadata and controls
138 lines (136 loc) · 4.51 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
name="Test Smell Category"
id="TestSmellPlugin.commands.category">
</category>
<command
name="Command1"
categoryId="TestSmellPlugin.commands.category"
id="TestSmellPlugin.commands.Command1">
</command>
<command
name="Command2"
categoryId="TestSmellPlugin.commands.category"
id="TestSmellPlugin.commands.Command2">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="TestSmellPlugin.commands.Command1"
class="testsmellplugin.handlers.Handler1">
</handler>
<handler
commandId="TestSmellPlugin.commands.Command2"
class="testsmellplugin.handlers.Handler2">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="TestSmellPlugin.commands.Command1"
contextId="org.eclipse.ui.contexts.window"
sequence="M1+6"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="TestSmellPlugin.commands.Command2"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+7">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
label="Test Smell"
mnemonic="T"
id="TestSmellPlugin.menus.sampleMenu">
<command
commandId="TestSmellPlugin.commands.Command1"
id="TestSmellPlugin.menus.Command1"
label="Detect Test Smell"
mnemonic="S"
tooltip="test smell detect">
</command>
<command
commandId="TestSmellPlugin.commands.Command2"
id="TestSmellPlugin.menus.Command2"
label="related code smell"
mnemonic="S"
tooltip="relates code smell detect">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="TestSmellPlugin.toolbars.sampleToolbar">
<command
commandId="TestSmellPlugin.commands.Command1"
icon="icons/repair.png"
tooltip="Test smell command1"
id="TestSmellPlugin.toolbars.Command1">
</command>
<command
commandId="TestSmellPlugin.commands.Command2"
icon="icons/repair.png"
tooltip="Test smell command2"
id="TestSmellPlugin.toolbars.Command2">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
name="Test Smell settings"
class="testsmellplugin.preferences.SamplePreferencePage"
id="testsmellplugin.preferences.SamplePreferencePage">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="testsmellplugin.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.views">
<category
name="Test Smell"
id="TestSmellPlugin">
</category>
<view
name="Test Smell Result"
icon="icons/sample.gif"
category="TestSmellPlugin"
class="testsmellplugin.views.SampleView"
id="testsmellplugin.views.SampleView">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.views.ProblemView"
relationship="right"
id="testsmellplugin.views.SampleView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
</extension>
</plugin>