Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Launch Actions do not appear in custom navigator(Problem with navigator context menu "debug as" action)
Launch Actions do not appear in custom navigator [message #529201] Fri, 23 April 2010 08:33
Augusto Ribeiro is currently offline Augusto Ribeiro
Messages: 5
Registered: April 2010
Junior Member
Hi all,

I am asking for help because I cannot find the way to make the Launch Action Set appear in the custom navigator I implemented. I mean, the "Run as..." and "Debug as..." do not appear in its context menu.

The definition of the shortcut looks like it is working correctly because I get the option to "debug as... > Vdm Application" if I use the top menu bar "Run". the option "debug as..." also appears in the context menu of the custom editor I made, just not on the custom navigator. I think it is nothing related with the shortcut defintions because even if it wasn't correctly defined at least I should get some context menu option saying: "Debug as... > (none applicable)", right?

I would appreciate any help, I supplied the launchShortcut and launch group extentions. If you need any more info I am glad to supply it.

Thanks in advance for any help.

<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class=" org.overture.ide.vdmpp.debug.ui.launchconfigurations.VdmAppl icationLaunchShortcut "
icon="icons/cview16/vdmpp_file_tsk.png"
id="org.overture.ide.debug.ui.localVdmShortcut"
label="Vdm Application"
modes="debug">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<or>
<adapt
type="org.overture.ide.core.resources.IVdmProject">
<test
property="org.overture.ide.core.resources.dialect"
value="VDM_PP">
</test>
</adapt>
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
<configurationType
id="org.overture.ide.vdmpp.debug.launchConfigurationType">
</configurationType>
</shortcut>

<extension
point="org.eclipse.debug.ui.launchGroups">
<launchGroup
bannerImage="icons/cview16/vdmpp_file_tsk.png"
id="org.overture.ide.vdmpp.debug.launchGroup"
image="icons/cview16/vdmpp_file_tsk.png"
label="Vdm Launch Group"
mode="debug">
</launchGroup>
</extension>


Augusto Ribeiro
Aarhus School of Engineering
Previous Topic:copy file by programming
Next Topic:Missing META-INF folder in build result (eclipse SDK)
Goto Forum:
  


Current Time: Wed Jul 30 09:23:56 EDT 2014

Powered by FUDForum. Page generated in 0.01800 seconds