Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:19 Go to next message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

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 19:46 Go to previous messageGo to next message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

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 19:46]

Report message to a moderator

Re: How to redraw the status line [message #797824 is a reply to message #797679] Mon, 13 February 2012 23:17 Go to previous message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

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: Sun Nov 29 23:40:42 GMT 2020

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

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

Back to the top