[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Making menus visible/not visible in the workbench per plugin

> From reading the help, I understood the visible
> property sets only the 
> *initial* setting of visibility.  I wanted the menu
> visibility to 
> dynamically change as a user closes/opens a
> perspective.  Regardless of 
> the visible setting, on testing it did not appear to
> have the behaviour I 
> wanted.   I was stuck in finding a way to link the
> visibility of a menu to 
> an action (that is, when I say action, I mean closing
> a perspective or 
> opening one).
> 
> Either way, I believe linking the visibility of a
> menu via a view and the 
> actionSetPartAssociation seems to do the trick for
> me.
> 



well, this is strange... setting visible false does the trick now... not sure why it didnt work before, i must have messed something up
thanks a lot for your help.
 

--
View in EZ forum: http://www.eclipsezone.com/eclipse/forums/m91978797.html