174 |
174 |
175 |
175 |
176 <extension |
176 <extension |
177 point="org.eclipse.debug.ui.launchShortcuts"> |
177 point="org.eclipse.debug.ui.launchShortcuts"> |
178 <shortcut |
178 <shortcut |
179 label="Symbian OS Board Launch" |
|
180 icon="icons/launch_config_file_16x16.png" |
|
181 modes="run, debug" |
|
182 class="com.nokia.cdt.internal.debug.launch.BoardLaunchShortcut" |
|
183 id="com.nokia.cdt.debug.launch.symbianCPPShortcut.board"> |
|
184 <contextualLaunch> |
|
185 <enablement> |
|
186 <with variable="selection"> |
|
187 <count value="1"/> |
|
188 <iterate> |
|
189 <and> |
|
190 <or> |
|
191 <instanceof value="org.eclipse.cdt.core.model.IBinary"/> |
|
192 <instanceof value="org.eclipse.cdt.core.model.ICProject"/> |
|
193 <instanceof value="org.eclipse.cdt.debug.core.executables.Executable"/> |
|
194 <test |
|
195 forcePluginActivation="true" |
|
196 property="org.eclipse.cdt.launch.isExecutable"/> |
|
197 <test |
|
198 forcePluginActivation="true" |
|
199 property="org.eclipse.cdt.launch.isCProject"/> |
|
200 <and> |
|
201 <instanceof value="org.eclipse.ui.IFileEditorInput"/> |
|
202 <adapt type="org.eclipse.core.resources.IResource"> |
|
203 <adapt type="org.eclipse.cdt.core.model.ICElement"/> |
|
204 </adapt> |
|
205 </and> |
|
206 <test |
|
207 forcePluginActivation="true" |
|
208 property="com.nokia.cdt.debug.launch.isCarbideProject"/> |
|
209 <test |
|
210 forcePluginActivation="true" |
|
211 property="com.nokia.cdt.debug.launch.isExecutable"/> |
|
212 </or> |
|
213 <test |
|
214 forcePluginActivation="true" |
|
215 property="com.nokia.cdt.debug.launch.isNotEmulator"> |
|
216 </test> |
|
217 </and> |
|
218 </iterate> |
|
219 </with> |
|
220 </enablement> |
|
221 <contextLabel |
|
222 mode="run" |
|
223 label="Run Symbian OS Application on board"/> |
|
224 <contextLabel |
|
225 mode="debug" |
|
226 label="Debug Symbian OS Application on board"/> |
|
227 </contextualLaunch> |
|
228 <description |
|
229 mode="run" |
|
230 description="Runs on a development board or reference hardware using a JTAG connection."/> |
|
231 <description |
|
232 mode="debug" |
|
233 description="Debugs on a development board or reference hardware using a JTAG connection."/> |
|
234 </shortcut> |
|
235 <shortcut |
|
236 class="com.nokia.cdt.internal.debug.launch.PhoneLaunchShortcut" |
179 class="com.nokia.cdt.internal.debug.launch.PhoneLaunchShortcut" |
237 icon="icons/launch_config_file_16x16.png" |
180 icon="icons/launch_config_file_16x16.png" |
238 id="com.nokia.cdt.debug.launch.symbianCPPShortcut.phone" |
181 id="com.nokia.cdt.debug.launch.symbianCPPShortcut.phone" |
239 label="Symbian OS Phone Launch" |
182 label="Symbian OS Phone Launch" |
240 modes="run, debug"> |
183 modes="run, debug"> |
292 </and> |
235 </and> |
293 </iterate> |
236 </iterate> |
294 </with> |
237 </with> |
295 </enablement> |
238 </enablement> |
296 <contextLabel |
239 <contextLabel |
297 label="Run Symbian OS Application on phone" |
240 label="Run Symbian OS Application on Phone" |
298 mode="run"> |
241 mode="run"> |
299 </contextLabel> |
242 </contextLabel> |
300 <contextLabel |
243 <contextLabel |
301 label="Debug Symbian OS Application on phone" |
244 label="Debug Symbian OS Application on Phone" |
302 mode="debug"> |
245 mode="debug"> |
303 </contextLabel> |
246 </contextLabel> |
304 </contextualLaunch> |
247 </contextualLaunch> |
305 <description |
248 <description |
306 description="Debugs on a phone using System TRK or Application TRK" |
249 description="Debugs on a phone using System TRK or Application TRK" |
307 mode="debug"> |
250 mode="debug"> |
308 </description> |
251 </description> |
309 <description |
252 <description |
310 description="Runs on a phone using System TRK or Application TRK" |
253 description="Runs on a phone using System TRK or Application TRK" |
311 mode="run"> |
254 mode="run"> |
|
255 </description> |
|
256 </shortcut> |
|
257 <shortcut |
|
258 class="com.nokia.cdt.internal.debug.launch.BoardLaunchShortcut" |
|
259 icon="icons/launch_config_file_16x16.png" |
|
260 id="com.nokia.cdt.debug.launch.symbianCPPShortcut.refboard" |
|
261 label="Symbian OS Refrence Board Launch" |
|
262 modes="run, debug"> |
|
263 <contextualLaunch> |
|
264 <enablement> |
|
265 <with |
|
266 variable="selection"> |
|
267 <count |
|
268 value="1"> |
|
269 </count> |
|
270 <iterate> |
|
271 <and> |
|
272 <or> |
|
273 <instanceof |
|
274 value="org.eclipse.cdt.core.model.IBinary"> |
|
275 </instanceof> |
|
276 <instanceof |
|
277 value="org.eclipse.cdt.core.model.ICProject"> |
|
278 </instanceof> |
|
279 <instanceof |
|
280 value="org.eclipse.cdt.debug.core.executables.Executable"> |
|
281 </instanceof> |
|
282 <test |
|
283 forcePluginActivation="true" |
|
284 property="org.eclipse.cdt.launch.isExecutable"> |
|
285 </test> |
|
286 <test |
|
287 forcePluginActivation="true" |
|
288 property="org.eclipse.cdt.launch.isCProject"> |
|
289 </test> |
|
290 <and> |
|
291 <instanceof |
|
292 value="org.eclipse.ui.IFileEditorInput"> |
|
293 </instanceof> |
|
294 <adapt |
|
295 type="org.eclipse.core.resources.IResource"> |
|
296 <adapt |
|
297 type="org.eclipse.cdt.core.model.ICElement"> |
|
298 </adapt> |
|
299 </adapt> |
|
300 </and> |
|
301 <test |
|
302 forcePluginActivation="true" |
|
303 property="com.nokia.cdt.debug.launch.isCarbideProject"> |
|
304 </test> |
|
305 <test |
|
306 forcePluginActivation="true" |
|
307 property="com.nokia.cdt.debug.launch.isExecutable"> |
|
308 </test> |
|
309 </or> |
|
310 <test |
|
311 forcePluginActivation="true" |
|
312 property="com.nokia.cdt.debug.launch.isNotEmulator"> |
|
313 </test> |
|
314 </and> |
|
315 </iterate> |
|
316 </with> |
|
317 </enablement> |
|
318 <contextLabel |
|
319 label="Run Symbian OS Application on Reference Board" |
|
320 mode="run"> |
|
321 </contextLabel> |
|
322 <contextLabel |
|
323 label="Debug Symbian OS Application on Reference Board" |
|
324 mode="debug"> |
|
325 </contextLabel> |
|
326 </contextualLaunch> |
|
327 <description |
|
328 description="Runs on a development board or reference hardware using a JTAG connection." |
|
329 mode="run"> |
|
330 </description> |
|
331 <description |
|
332 description="Debugs on a development board or reference hardware using a JTAG connection." |
|
333 mode="debug"> |
312 </description> |
334 </description> |
313 </shortcut> |
335 </shortcut> |
314 <shortcut |
336 <shortcut |
315 class="com.nokia.cdt.internal.debug.launch.EmulatorLaunchShortcut" |
337 class="com.nokia.cdt.internal.debug.launch.EmulatorLaunchShortcut" |
316 icon="icons/launch_config_file_16x16.png" |
338 icon="icons/launch_config_file_16x16.png" |