Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to redraw the status line
How to redraw the status line [message #797462] Mon, 13 February 2012 09:19 Go to next message
Eclipse UserFriend
Hi,

I have a contribution item in the status line that has an "visibleWhen" element in order to be visible only when a property is true. The thing is when this property is enabled there is no way to repaint the toolbar... I can see the element only if I minimize and restore my app...

Is there any way to refresh it??

Thanks in advance
Re: How to redraw the status line [message #797679 is a reply to message #797462] Mon, 13 February 2012 14:46 Go to previous messageGo to next message
Eclipse UserFriend
I found the way to do it... you must do a layout of the Shell from a part of the Eclipse Workbench.

getShell().layout(true,true);


to force everything get repainted.

[Updated on: Mon, 13 February 2012 14:46] by Moderator

Re: How to redraw the status line [message #797824 is a reply to message #797679] Mon, 13 February 2012 18:17 Go to previous message
Eclipse UserFriend
Well it seems only works well sometimes... I don't know why :S
Previous Topic:How to show Splash Screen when using Java Web Start?
Next Topic:ControlDecoration as overlay?
Goto Forum:
  


Current Time: Wed Jul 02 08:19:31 EDT 2025

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

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

Back to the top