This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
forked from mxunit/org.mxunit.eclipseplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
202 lines (183 loc) · 6.23 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.views">
<category
name="MXUnit"
id="org.mxunit.eclipseplugin">
</category>
<view
allowMultiple="false"
category="org.mxunit.eclipseplugin"
class="org.mxunit.eclipseplugin.views.MXUnitView"
icon="icons/mxunit.png"
id="org.mxunit.eclipseplugin.views.MXUnitView"
name="MXUnit">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.views.TaskList"
relationship="right"
id="org.mxunit.eclipseplugin.views.MXUnitView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="org.mxunit.eclipseplugin.preferences.MXUnitPreferencePage"
id="org.mxunit.eclipseplugin.preferences.MXUnitPreferencePage"
name="MXUnit"/>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer class="org.mxunit.eclipseplugin.preferences.MXUnitPreferenceInitializer"/>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
adaptable="false"
class="org.mxunit.eclipseplugin.properties.MXUnitPropertyPage"
icon="icons/mxunit.png"
id="org.mxunit.eclipseplugin.MXUnitPropertyPage"
name="MXUnit Properties"
objectClass="org.eclipse.core.resources.IResource"/>
</extension>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
id="org.mxunit.eclipseplugin.workbenchActionSet"
label="MXUnit ActionSet"
visible="true">
<action
class="org.mxunit.eclipseplugin.actions.delegates.OpenMXUnitViewActionDelegate"
icon="icons/mxunit.png"
id="org.mxunit.eclipseplugin.openMXUnitView"
label="Open MXUnit View"
style="push"
toolbarPath="normal/additions"
tooltip="Open the MXUnit view"
helpContextId="mxunit_view" />
</actionSet>
</extension>
<extension point = "org.eclipse.ui.popupMenus">
<objectContribution
id="org.mxunit.eclipseplugin.MXUnitRunner"
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.cfc"
adaptable="true">
<action id="org.mxunit.eclipseplugin.actions.RunSelectedResourceAction"
label="Run MXUnit Test"
icon="icons/mxunit.png"
menubarPath="additions"
class="org.mxunit.eclipseplugin.actions.delegates.RunSelectedResourceActionDelegate"
definitionId="marcrocks"
enablesFor="+">
</action>
</objectContribution>
<objectContribution
id="org.mxunit.eclipseplugin.MXUnitRunner2"
objectClass="org.eclipse.core.resources.IContainer"
adaptable="true">
<action id="org.mxunit.eclipseplugin.actions.RunSelectedResourceAction2"
label="Run MXUnit Tests"
icon="icons/mxunit.png"
menubarPath="additions"
class="org.mxunit.eclipseplugin.actions.delegates.RunSelectedResourceActionDelegate"
definitionId="marcrocks"
enablesFor="+">
</action>
</objectContribution>
</extension>
<extension
point="org.eclipse.help.toc">
<toc
file="toc.xml">
</toc>
<toc
file="toc_main.xml"
primary="true">
</toc>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml"
plugin="org.mxunit.eclipseplugin">
</contexts>
</extension>
<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
id="org.mxunit.eclipseplugin.Launcher1"
modes="run,debug"
class="org.mxunit.eclipseplugin.launch.Launcher"
label="Run MXUnit Tests"
icon="icons/mxunit.png">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<or>
<instanceof value="org.eclipse.core.resources.IFolder" />
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
id="org.mxunit.eclipseplugin.Launcher2"
modes="run,debug"
class="org.mxunit.eclipseplugin.launch.Launcher"
label="Run MXUnit Test"
icon="icons/mxunit.png">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<or>
<test property="org.eclipse.debug.ui.matchesPattern" value="Test*.cfc"/>
<test property="org.eclipse.debug.ui.matchesPattern" value="*Test.cfc"/>
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension point="org.eclipse.ui.commands">
<command
name="Launch MXUnit Test"
description="Launch MXUnit Test"
categoryId="org.eclipse.debug.ui.category.run"
id="org.mxunit.eclipseplugin.Launcher1.run">
</command>
<command
id="marcrocks"
name="marcrocks">
</command>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+M2+X M"
commandId="org.mxunit.eclipseplugin.Launcher1.run">
</key>
<key
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+7"
commandId="marcrocks">
</key>
</extension>
</plugin>