Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [menu] menu contributions not updated/shown if they have a visibleWhen expression
[menu] menu contributions not updated/shown if they have a visibleWhen expression [message #547342] Fri, 16 July 2010 11:31 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I am having problems getting menu contributions to be shown: they will not be shown once their visibleWhen expression should match.

Just add a menu contribution to the main coolbar and make its visibleWhen observe something that changes (e.g. active part id)...

Can someone confirm this behavior?

[Updated on: Fri, 16 July 2010 11:32]

Report message to a moderator

Re: [menu] menu contributions not updated/shown if they have a visibleWhen expression [message #547646 is a reply to message #547342] Mon, 19 July 2010 09:05 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Erdal,

could you please verify that your scenario works in RCP and open a bug
with a small RAP application to show the problem? Which RAP version are
you using? Thanks!

Regards,
Ben

Erdal Karaca wrote:
> I am having problems getting menu contributions: they will not be shown
> once their visibleWhen expression should match.
>
> Just add a menu contribution to the main coolbar and make its
> visibleWhen observe something that changes (e.g. active part id)...
>
> Can someone confirm this behavior?


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: [menu] menu contributions not updated/shown if they have a visibleWhen expression [message #547894 is a reply to message #547342] Tue, 20 July 2010 06:37 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I am using CVS head...

If I remove the visibleWhen expressions, the menu contributions show up in the main.toolbar.
Unfortunately, this does not seem to be reproducable outside my rap application...
Previous Topic:Discouraged access of RWTLifeCycle.setSessionDisplay(Display)
Next Topic:RAP & JFreeChart
Goto Forum:
  


Current Time: Thu Apr 18 15:02:58 GMT 2024

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

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

Back to the top