2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<?eclipse version="3.0"?>
|
|
3 |
<plugin>
|
|
4 |
|
|
5 |
<extension
|
|
6 |
point="org.eclipse.debug.core.launchConfigurationTypes">
|
|
7 |
|
|
8 |
<launchConfigurationType
|
|
9 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
10 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer"
|
|
11 |
name="Symbian OS Application"
|
|
12 |
delegate="com.nokia.cdt.internal.debug.launch.ContextLaunchDelegate"
|
|
13 |
modes="run,debug"
|
|
14 |
public="true"
|
|
15 |
id="com.nokia.cdt.debug.launch.contextLaunch">
|
|
16 |
</launchConfigurationType>
|
|
17 |
|
|
18 |
<launchConfigurationType
|
|
19 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
20 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer"
|
|
21 |
name="Symbian OS Emulation"
|
|
22 |
delegate="com.nokia.cdt.internal.debug.launch.EmulationLaunchDelegate"
|
|
23 |
modes="run,debug"
|
|
24 |
public="true"
|
|
25 |
id="com.nokia.cdt.debug.launch.emulationLaunch">
|
|
26 |
</launchConfigurationType>
|
|
27 |
|
|
28 |
<launchConfigurationType
|
|
29 |
name="Symbian OS Application TRK"
|
|
30 |
delegate="com.nokia.cdt.internal.debug.launch.TRKLaunchDelegate"
|
|
31 |
modes="run,debug"
|
|
32 |
public="true"
|
|
33 |
id="com.nokia.cdt.debug.launch.appTRKLaunch"
|
|
34 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
35 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer">
|
|
36 |
</launchConfigurationType>
|
|
37 |
|
|
38 |
<launchConfigurationType
|
|
39 |
name="Symbian OS System TRK"
|
|
40 |
delegate="com.nokia.cdt.internal.debug.launch.TRKLaunchDelegate"
|
|
41 |
modes="run,debug"
|
|
42 |
public="true"
|
|
43 |
id="com.nokia.cdt.debug.launch.systemTRKLaunch"
|
|
44 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
45 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer">
|
|
46 |
</launchConfigurationType>
|
|
47 |
|
|
48 |
<launchConfigurationType
|
|
49 |
name="Symbian OS Attach to Process"
|
|
50 |
delegate="com.nokia.cdt.internal.debug.launch.AttachLaunchDelegate"
|
|
51 |
modes="debug"
|
|
52 |
public="true"
|
|
53 |
id="com.nokia.cdt.debug.launch.attachLaunch"
|
|
54 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
55 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer">
|
|
56 |
</launchConfigurationType>
|
|
57 |
|
|
58 |
<launchConfigurationType
|
|
59 |
name="Symbian OS Trace32"
|
|
60 |
delegate="com.nokia.cdt.internal.debug.launch.Trace32LaunchDelegate"
|
|
61 |
modes="debug"
|
|
62 |
public="true"
|
|
63 |
id="com.nokia.cdt.debug.launch.t32Launch"
|
|
64 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
65 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer">
|
|
66 |
</launchConfigurationType>
|
|
67 |
|
|
68 |
<launchConfigurationType
|
|
69 |
name="Symbian OS Sophia"
|
|
70 |
delegate="com.nokia.cdt.internal.debug.launch.SophiaSTILaunchDelegate"
|
|
71 |
modes="debug"
|
|
72 |
public="true"
|
|
73 |
id="com.nokia.cdt.debug.launch.stiLaunch"
|
|
74 |
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
75 |
sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer">
|
|
76 |
</launchConfigurationType>
|
|
77 |
|
|
78 |
</extension>
|
|
79 |
<extension
|
|
80 |
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
|
|
81 |
<launchConfigurationTypeImage
|
|
82 |
icon="icons/launch_config_file_16x16.png"
|
|
83 |
configTypeID="com.nokia.cdt.debug.launch.contextLaunch"
|
|
84 |
id="com.nokia.cdt.debug.launch.contextLaunchImage">
|
|
85 |
</launchConfigurationTypeImage>
|
|
86 |
<launchConfigurationTypeImage
|
|
87 |
icon="icons/launch_config_file_16x16.png"
|
|
88 |
configTypeID="com.nokia.cdt.debug.launch.emulationLaunch"
|
|
89 |
id="com.nokia.cdt.debug.launch.emulationLaunchImage">
|
|
90 |
</launchConfigurationTypeImage>
|
|
91 |
<launchConfigurationTypeImage
|
|
92 |
icon="icons/launch_config_file_16x16.png"
|
|
93 |
configTypeID="com.nokia.cdt.debug.launch.appTRKLaunch"
|
|
94 |
id="com.nokia.cdt.debug.launch.appTRKLaunchImage">
|
|
95 |
</launchConfigurationTypeImage>
|
|
96 |
<launchConfigurationTypeImage
|
|
97 |
icon="icons/launch_config_file_16x16.png"
|
|
98 |
configTypeID="com.nokia.cdt.debug.launch.systemTRKLaunch"
|
|
99 |
id="com.nokia.cdt.debug.launch.systemTRKLaunchImage">
|
|
100 |
</launchConfigurationTypeImage>
|
|
101 |
|
|
102 |
<launchConfigurationTypeImage
|
|
103 |
icon="icons/launch_config_file_16x16.png"
|
|
104 |
configTypeID="com.nokia.cdt.debug.launch.attachLaunch"
|
|
105 |
id="com.nokia.cdt.debug.launch.attachLaunchImage">
|
|
106 |
</launchConfigurationTypeImage>
|
|
107 |
<launchConfigurationTypeImage
|
|
108 |
icon="icons/launch_config_file_16x16.png"
|
|
109 |
configTypeID="com.nokia.cdt.debug.launch.t32Launch"
|
|
110 |
id="com.nokia.cdt.debug.launch.t32LaunchImage">
|
|
111 |
</launchConfigurationTypeImage>
|
|
112 |
|
|
113 |
<launchConfigurationTypeImage
|
|
114 |
icon="icons/launch_config_file_16x16.png"
|
|
115 |
configTypeID="com.nokia.cdt.debug.launch.stiLaunch"
|
|
116 |
id="com.nokia.cdt.debug.launch.stiLaunchImage">
|
|
117 |
</launchConfigurationTypeImage>
|
|
118 |
</extension>
|
|
119 |
|
|
120 |
<extension
|
|
121 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
122 |
<launchConfigurationTabGroup
|
|
123 |
type="com.nokia.cdt.debug.launch.contextLaunch"
|
|
124 |
class="com.nokia.cdt.internal.debug.launch.ui.ContextConfigurationTabGroup"
|
|
125 |
id="com.nokia.cdt.debug.launch.contextLaunchTabGroup">
|
|
126 |
</launchConfigurationTabGroup>
|
|
127 |
</extension>
|
|
128 |
|
|
129 |
<extension
|
|
130 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
131 |
<launchConfigurationTabGroup
|
|
132 |
type="com.nokia.cdt.debug.launch.emulationLaunch"
|
|
133 |
class="com.nokia.cdt.internal.debug.launch.ui.EmulationConfigurationTabGroup"
|
|
134 |
id="com.nokia.cdt.debug.launch.emulationLaunchTabGroup">
|
|
135 |
</launchConfigurationTabGroup>
|
|
136 |
</extension>
|
|
137 |
|
|
138 |
<extension
|
|
139 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
140 |
<launchConfigurationTabGroup
|
|
141 |
type="com.nokia.cdt.debug.launch.appTRKLaunch"
|
|
142 |
class="com.nokia.cdt.internal.debug.launch.ui.AppTRKConfigurationTabGroup"
|
|
143 |
id="com.nokia.cdt.debug.launch.appTRKLaunchTabGroup">
|
|
144 |
</launchConfigurationTabGroup>
|
|
145 |
</extension>
|
|
146 |
|
|
147 |
<extension
|
|
148 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
149 |
<launchConfigurationTabGroup
|
|
150 |
type="com.nokia.cdt.debug.launch.systemTRKLaunch"
|
|
151 |
class="com.nokia.cdt.internal.debug.launch.ui.SystemTRKConfigurationTabGroup"
|
|
152 |
id="com.nokia.cdt.debug.launch.systemTRKLaunchTabGroup">
|
|
153 |
</launchConfigurationTabGroup>
|
|
154 |
</extension>
|
|
155 |
|
|
156 |
<extension
|
|
157 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
158 |
<launchConfigurationTabGroup
|
|
159 |
type="com.nokia.cdt.debug.launch.attachLaunch"
|
|
160 |
class="com.nokia.cdt.internal.debug.launch.ui.AttachConfigurationTabGroup"
|
|
161 |
id="com.nokia.cdt.debug.launch.attachLaunchTabGroup">
|
|
162 |
</launchConfigurationTabGroup>
|
|
163 |
</extension>
|
|
164 |
|
|
165 |
<extension
|
|
166 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
167 |
<launchConfigurationTabGroup
|
|
168 |
type="com.nokia.cdt.debug.launch.t32Launch"
|
|
169 |
class="com.nokia.cdt.internal.debug.launch.ui.T32StopModeConfigurationTabGroup"
|
|
170 |
id="com.nokia.cdt.debug.launch.t32LaunchTabGroup">
|
|
171 |
</launchConfigurationTabGroup>
|
|
172 |
</extension>
|
|
173 |
|
|
174 |
<extension
|
|
175 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
176 |
<launchConfigurationTabGroup
|
|
177 |
type="com.nokia.cdt.debug.launch.stiLaunch"
|
|
178 |
class="com.nokia.cdt.internal.debug.launch.ui.SophiaConfigurationTabGroup"
|
|
179 |
id="com.nokia.cdt.debug.launch.SophiaLaunchTabGroup">
|
|
180 |
</launchConfigurationTabGroup>
|
|
181 |
</extension>
|
|
182 |
|
|
183 |
|
|
184 |
<extension
|
|
185 |
point="org.eclipse.debug.ui.launchShortcuts">
|
|
186 |
<shortcut
|
|
187 |
label="Symbian OS Application"
|
|
188 |
icon="icons/launch_config_file_16x16.png"
|
|
189 |
modes="run, debug"
|
|
190 |
class="com.nokia.cdt.internal.debug.launch.SymbianLaunchShortcut"
|
|
191 |
id="com.nokia.cdt.debug.launch.symbianCPPShortcut">
|
|
192 |
<contextualLaunch>
|
|
193 |
<enablement>
|
|
194 |
<with variable="selection">
|
|
195 |
<count value="1"/>
|
|
196 |
<iterate>
|
|
197 |
<and>
|
|
198 |
<or>
|
|
199 |
<instanceof value="org.eclipse.cdt.core.model.IBinary"/>
|
|
200 |
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
201 |
<instanceof value="com.nokia.cdt.debug.cw.symbian.ui.executables.Executable"/>
|
|
202 |
<test
|
|
203 |
forcePluginActivation="true"
|
|
204 |
property="org.eclipse.cdt.launch.isExecutable"/>
|
|
205 |
<test
|
|
206 |
forcePluginActivation="true"
|
|
207 |
property="org.eclipse.cdt.launch.isCProject"/>
|
|
208 |
<and>
|
|
209 |
<instanceof value="org.eclipse.ui.IFileEditorInput"/>
|
|
210 |
<adapt type="org.eclipse.core.resources.IResource">
|
|
211 |
<adapt type="org.eclipse.cdt.core.model.ICElement"/>
|
|
212 |
</adapt>
|
|
213 |
</and>
|
|
214 |
<test
|
|
215 |
forcePluginActivation="true"
|
|
216 |
property="com.nokia.cdt.debug.launch.isCarbideProject"/>
|
|
217 |
<test
|
|
218 |
forcePluginActivation="true"
|
|
219 |
property="com.nokia.cdt.debug.launch.isExecutable"/>
|
|
220 |
</or>
|
|
221 |
</and>
|
|
222 |
</iterate>
|
|
223 |
</with>
|
|
224 |
</enablement>
|
|
225 |
<contextLabel
|
|
226 |
mode="run"
|
|
227 |
label="Run Symbian OS Application"/>
|
|
228 |
<contextLabel
|
|
229 |
mode="debug"
|
|
230 |
label="Debug Symbian OS Application"/>
|
|
231 |
</contextualLaunch>
|
|
232 |
<description
|
|
233 |
mode="run"
|
|
234 |
description="Runs a Symbian OS executable on either the emulator or a phone"/>
|
|
235 |
<description
|
|
236 |
mode="debug"
|
|
237 |
description="Debugs a Symbian OS executable on either the emulator or a phone"/>
|
|
238 |
<perspective
|
|
239 |
id="com.nokia.carbide.cpp.CarbideCppPerspective">
|
|
240 |
</perspective>
|
|
241 |
<perspective
|
|
242 |
id="org.eclipse.debug.ui.DebugPerspective">
|
|
243 |
</perspective>
|
|
244 |
<configurationType
|
|
245 |
id="com.nokia.cdt.debug.launch.contextLaunch">
|
|
246 |
</configurationType>
|
|
247 |
</shortcut>
|
|
248 |
</extension>
|
|
249 |
|
|
250 |
<!-- Property testers -->
|
|
251 |
<extension point="org.eclipse.core.expressions.propertyTesters">
|
|
252 |
<propertyTester
|
|
253 |
namespace="com.nokia.cdt.debug.launch"
|
|
254 |
properties="isExecutable, isCarbideProject"
|
|
255 |
type="org.eclipse.core.runtime.IAdaptable"
|
|
256 |
class="com.nokia.cdt.internal.debug.launch.SymbianProjectPropertyTester"
|
|
257 |
id="com.nokia.cdt.debug.launch.SymbianProjectPropertyTester">
|
|
258 |
</propertyTester>
|
|
259 |
</extension>
|
|
260 |
|
|
261 |
<!-- Adapters for contextual launch -->
|
|
262 |
<extension point="org.eclipse.core.runtime.adapters">
|
|
263 |
<factory
|
|
264 |
class=""
|
|
265 |
adaptableType="org.eclipse.cdt.core.model.ICProject">
|
|
266 |
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
|
|
267 |
</factory>
|
|
268 |
</extension>
|
|
269 |
|
|
270 |
<!-- Adapters for contextual launch -->
|
|
271 |
<extension point="org.eclipse.core.runtime.adapters">
|
|
272 |
<factory
|
|
273 |
class=""
|
|
274 |
adaptableType="com.nokia.cdt.debug.cw.symbian.ui.executables.Executable">
|
|
275 |
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
|
|
276 |
</factory>
|
|
277 |
</extension>
|
|
278 |
|
|
279 |
<!-- hack to make the traditional memory rendering the default. we probaly
|
|
280 |
need to keep it this way until CDT adopts this rendering as the default.
|
|
281 |
see Eclipse bugzilla #146667 for more information. -->
|
|
282 |
<extension
|
|
283 |
point="org.eclipse.debug.ui.memoryRenderings">
|
|
284 |
<renderingBindings
|
|
285 |
defaultIds="org.eclipse.dd.debug.memory.renderings.traditional.TraditionalRendering"
|
|
286 |
primaryId="org.eclipse.dd.debug.memory.renderings.traditional.TraditionalRendering"
|
|
287 |
renderingIds="org.eclipse.dd.debug.memory.renderings.traditional.TraditionalRendering">
|
|
288 |
<enablement>
|
|
289 |
<instanceof value="org.eclipse.cdt.debug.internal.core.model.CMemoryBlockExtension"/>
|
|
290 |
</enablement>
|
|
291 |
</renderingBindings>
|
|
292 |
</extension>
|
|
293 |
|
|
294 |
<extension
|
|
295 |
point="org.eclipse.ui.startup">
|
|
296 |
</extension>
|
|
297 |
|
|
298 |
<extension-point id="launchWizardExtension" name="Launch Wizard Page" schema="schema/launchWizardExtension"/>
|
|
299 |
|
|
300 |
</plugin>
|