Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [menus] How can I see which contribution adds a menu ?
[menus] How can I see which contribution adds a menu ? [message #631348] Thu, 07 October 2010 03:47 Go to next message
Eclipse UserFriend
Hello all,

I got a little problem in my RCP product : an "empty" menu entry appears in my menu bar. I tried to review all contributions with no success...

I would like to "spy" who is making this contribution, but unfortunately the plugin spy, very helpful for views, editors contribution cannot be triggered on the menu.

Is there any way to analyze or log how the menu bar is populated ? So I could be able to identify who is making this undesired contribution ?

Thank you,
Christophe
http://www.nextep-softwares.com
Re: [menus] How can I see which contribution adds a menu ? [message #631373 is a reply to message #631348] Thu, 07 October 2010 06:25 Go to previous messageGo to next message
Eclipse UserFriend
On 07/10/10 1:18 PM, Christophe Fondacci wrote:
> I would like to "spy" who is making this contribution, but unfortunately
> the plugin spy, very helpful for views, editors contribution cannot be
> triggered on the menu.

Plugin spy does works on the Menus: Alt-Shift-F2

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: [menus] How can I see which contribution adds a menu ? [message #631375 is a reply to message #631373] Thu, 07 October 2010 06:43 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, didn't know the ALT+SHIFT+F2...

But that still doesn't work :
* With ALT+SHIFT+F2 I am able to see popup menus contributions (and this is awesome!)
* But when I go in my menu bar, I come out of my app and it is not working

Note that I am under Mac OS X, this might work on windows / linux where the menu bar is embed with the application window. I try another platform and i let you know.

Have you got a workaround for MacOS X ?

Thanks,
Christophe
http://www.nextep-softwares.com
Re: [menus] How can I see which contribution adds a menu ? [message #631379 is a reply to message #631375] Thu, 07 October 2010 06:58 Go to previous message
Eclipse UserFriend
Better with windows : can spy menu items indeed.

But this still doesn't help as my "ghost" menu is empty (no item) and I would like to spy who contributed this menu "entry" (since I got no items to select)

I imagine the only option could be some debug logs ?

Thanks !
Christophe
http://www.nextep-softwares.com
Previous Topic:[HOWTO] Links in messages ?
Next Topic:AutoCompleteField - activation on focus
Goto Forum:
  


Current Time: Wed Jul 23 09:35:16 EDT 2025

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

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

Back to the top