Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » HELP!!! Disable menu item
HELP!!! Disable menu item [message #253217] Wed, 16 June 2004 15:15
Bruno Vais is currently offline Bruno VaisFriend
Messages: 11
Registered: July 2009
Junior Member
How can I enable/disable a menu item added by my plugin?
At creation time the plugin gets a setActiveEditor (IAction action,
IEditorPart targetEditor) and here I need to subscribe either to mouse
events (for mouseDown)or to menu events (for menuAboutToShow) so I can
later receive one of them when the user invokes the context menu in the
editor. How can I do that?
Am I at least on the right track?

Thank you.
Previous Topic:Need JFace Dialog assistance
Next Topic:Syntax highlighting / Code Completion in JSPs (3.0 RC2)
Goto Forum:
  


Current Time: Wed Jul 17 14:53:56 GMT 2024

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

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

Back to the top