Eclipse Yoxos Services Downloads Blogs About
Home > Blogs >

on Apr 2nd, 2009Eclipse Menu Contribution URIs

Since Eclipse 3.3, placing contributions in a menu (via the org.eclipse.ui.menus extension point) has been a bit challenging given the new locationURI attribute:

locationuri 300x97 Eclipse Menu Contribution URIs

While at EclipseCon 2009, I had time to sit down with Paul Webster and hack the menu spy functionality of the Plug-in Spy to spit out location URIs. For example, if you selected the JDT open project wizard, you would get this popup:

spy11 300x131 Eclipse Menu Contribution URIs

Another example is if you selected the Import wizard from the File menu, you’d get this popup:

spy21 300x240 Eclipse Menu Contribution URIs

That URI should be good enough to use for your personal menu contributions. Look for this functionality to appear in Eclipse 3.5 M7 and if you have anymore ideas, please file a bug.

In the end, I hope people find this useful as I continue my quest of introspecting the workbench and making life easier for RCP developers.

Share and Enjoy:

  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs
  • services sprite Eclipse Menu Contribution URIs

3 Responses to “Eclipse Menu Contribution URIs”

  1. Nicolas Bihan says:

    What a pain to find the menus URI !
    Even you needed Paul Webster to achieve that ;)

    thanks for this useful feature.

    Nicolas

  2. Benjamin Cabé says:

    It would be even better with a “locationURI” custom attribute, right? :)
    Great work anyway! :)

  3. Ron says:

    This is neat. The best way to learn plug-in development for me is still “Monkey see, Monkey do”, and this helps a lot to that end.

Leave a Reply

© EclipseSource 2008 - 2011