Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » menubarPath for "Run As" popup menu?
menubarPath for "Run As" popup menu? [message #304866] Fri, 16 June 2006 14:03 Go to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
I'm trying to contribute a menu to Run As. I've been digging around for
a while now and cannot figure out the correct value for menubarPath
attribute of my <action> element.

What is the correct menubarPath for the Run As popup menu? Alternately,
point me to the plugin that defines it. I've not been able to find that
either.

Thanks
Michael
Re: menubarPath for "Run As" popup menu? [message #304869 is a reply to message #304866] Fri, 16 June 2006 14:32 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Michael Giroux wrote:
> I'm trying to contribute a menu to Run As. I've been digging around for
> a while now and cannot figure out the correct value for menubarPath
> attribute of my <action> element.
>
> What is the correct menubarPath for the Run As popup menu? Alternately,
> point me to the plugin that defines it. I've not been able to find that
> either.
>

You can use the Plug-in Registry view to find out who defines what. ex:
I went to org.eclipse.ui/Extension Points/org.eclipse.ui.actionSets.
org.eclipse.debug.ui is a good candidate, and in the second debug.ui
entry I found the Run A&s action.

It's menubar path seems to be org.eclipse.ui.run/runGroup

Later,
PW


Re: menubarPath for "Run As" popup menu? [message #304872 is a reply to message #304869] Fri, 16 June 2006 15:32 Go to previous messageGo to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
Thanks Paul. This is a good start. Unfortunately, when I launch the
plugin, I'm getting an error that the menubarPath is invalid. From the
help docs, it appears that I need to change this to a symbolic
referecne: additions/runGroup and define "additions". I'll have to
look further to sort this out.

The pointer to the plugin registry was great. Thanks.

Michael
Re: menubarPath for "Run As" popup menu? [message #305105 is a reply to message #304869] Thu, 22 June 2006 20:32 Go to previous message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
Paul,
I discovered how to contribute to the Run As menu. My plugin has to
extend org.eclipse.debug.ui.launchShortcuts.

This is described in help:
Platform Plug-in Developer Guide
-> Program debug and launch support
---> Launch shortcuts

http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/debug_launch_uishortcuts.htm
Previous Topic:Want to get the Project Path ...
Next Topic:Finding out all editors available given a file type/extension?
Goto Forum:
  


Current Time: Thu Apr 25 05:53:20 GMT 2024

Powered by FUDForum. Page generated in 0.04518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top