[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Cannot see launch shortcuts

Hi,

I am trying to add a perspective to my plugin's launch shortcuts. I want to see the menu item when I right click in a Java Editor window, and go to the Run As.. menu. I found in the documentation how to do it, but it doesn't seem to be working. Here is a snippet of code from my plugin.xml file:

<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class="org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut"
icon="icons/obj16/fuselet_launch.gif"
id="com.atc_nycorp.iFUSE.debug.ui.shortcut6"
label="com.atc_nycorp.iFUSE.debug.ui.shortcut6"
modes="com.atc_nycorp.iFUSE.debug.ui.shortcut6">
<contextualLaunch>
<contextLabel
label="com.atc_nycorp.iFUSE.debug.ui.contextLabel2"
mode="run"/>
</contextualLaunch>
</shortcut>
</extension>


As of now, the class where it points to doesn't really matter. I just want to see it first in the Run As... menu. All I see now when I right click on a Java Editor window in the Run As... menu is 2 options: "JUnit Plug-in Test" and "JUnit Test". I don't even see the old options for "Java Applet" or the other perspectives anymore. Does anyone have any idea what can misconfigure this Run As... menu and how?

Thanks.