Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to refresh an SWT viewer in Eclipse RAP
How to refresh an SWT viewer in Eclipse RAP [message #510839] Thu, 28 January 2010 19:13 Go to next message
Simon Long is currently offline Simon LongFriend
Messages: 1
Registered: January 2010
Junior Member
I have data from a streaming data source constantly updating in a table. In pure SWT I could just refresh the table by calling refresh on its viewer in a UI thread with Display.asyncExec(....) but this does not work in RAP. What do I need to do ? Thanks in advance, Simon
Re: How to refresh an SWT viewer in Eclipse RAP [message #510945 is a reply to message #510839] Fri, 29 January 2010 09:27 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
see here for an explanation:
http://wiki.eclipse.org/RAP/FAQ#How_to_update_the_UI_from_a_ background_thread_in_RWT_standalone

HTH

--
Rüdiger Herrmann
http://eclipsesource.com

On 28.01.2010 20:13, Simon Long wrote:
> I have data from a streaming data source constantly updating in a table.
> In pure SWT I could just refresh the table by calling refresh on its
> viewer in a UI thread with Display.asyncExec(....) but this does not
> work in RAP. What do I need to do ? Thanks in advance, Simon
Previous Topic:Firefox 3.5.7 + flash content + RAP
Next Topic:set SWT.Table on foreground
Goto Forum:
  


Current Time: Thu Oct 03 20:21:59 GMT 2024

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

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

Back to the top