Home » Eclipse Projects » Rich Client Platform (RCP) » How to hide a menu button when user switches to Navigator from Editor
|Re: How to hide a menu button when user switches to Navigator from Editor [message #551335 is a reply to message #551176]
||Fri, 06 August 2010 04:56
| Prakash G.R.
Registered: July 2009
On 05/08/10 7:30 PM, geejay wrote:|
> I have set up a command, and a menu for that command, that displays when
> an editor of a certain type is opened. This works. When I open the
> editor, I see the enabled command, when I close the editor, the command
> When I click away from the editor and focus on another area of the
> workbench, I want the button to disappear or be disabled. This isn't
> happening at the moment.
> I am controlling the visibility through the visibleWhen on the menu, to
> an activeEditorId.
What you have done seems to be right. Please raise a bug with a sample
code to reproduce it: http://bit.ly/NewBugInPlatformUI
Platform UI Team, IBM
Current Time: Sat Mar 17 22:35:07 GMT 2018
Powered by FUDForum
. Page generated in 0.03090 seconds