Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » HELP!!! Disable menu item
HELP!!! Disable menu item [message #253217] Wed, 16 June 2004 11:15
Eclipse UserFriend
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 Apr 30 02:04:26 EDT 2025

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

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

Back to the top