Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » logging for org.eclipse.ui.menus extension and for the platform's handling of menus added by this?(How to turn on the logging for org.eclipse.ui.menus extension point)
logging for org.eclipse.ui.menus extension and for the platform's handling of menus added by this? [message #504989] Thu, 24 December 2009 01:49 Go to next message
Jaitirth Shirole is currently offline Jaitirth ShiroleFriend
Messages: 1
Registered: July 2009
Junior Member
I've used org.eclipse.ui.menus extension point to contribute my menu options to a custom RCP application.
Usually things work fine, but sometimes at runtime these menu contributions go away. When I debugged the main MenuManager, I found the contributions to be in place, but were set to be invisible.
I confirmed that the related commands were enabled i.e. keystrokes were doing the action, but menus weren't visible.

I tried to search for info on how to turn on the tracing for this extension point and came across following relevant ones:

org.eclipse.ui/debug/contributions=true
org.eclipse.ui/experimental/menus=true

But, despite adding these to .options file, I could never get to see it working..

Can someone help me how do I debug this and in case someone has more knowledge in this space?

Thanks,
Jay
Re: logging for org.eclipse.ui.menus extension and for the platform's handling of menus added by thi [message #505000 is a reply to message #504989] Thu, 24 December 2009 10:12 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 24/12/09 7:19 AM, Jaitirth Shirole wrote:
> I tried to search for info on how to turn on the tracing for this
> extension point and came across following relevant ones:
>
> org.eclipse.ui/debug/contributions=true
> org.eclipse.ui/experimental/menus=true
>

Check this:
http://wiki.eclipse.org/Platform_Command_Framework#Tracing_O ption

- Prakash
Platform UI Team, IBM

Blog <http://blog.eclipse-tips.com>
Twitter <http://www.twitter.com/Eclipse_Tips>
Previous Topic:Setting new text for toggle command hides other command on view toolbar
Next Topic:How to highlight / paint a line which has custom marker?
Goto Forum:
  


Current Time: Tue Apr 23 15:49:00 GMT 2024

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

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

Back to the top