|Re: Eclipse Jobs to populate an SWT table [message #641162 is a reply to message #641147]
||Wed, 24 November 2010 07:42
| Daniel KrÃ¼gler
Registered: July 2009
On 11/24/2010 13:29, Saurabh wrote:|
> I have an SWT table in my view. When the user clicks the search button,
> I am supposed to Query the server for the objects of my interest and
> then populate the SWT table with the query result.
> However, i want to query the server results in chunks of 100 objects.
> How can i use eclipse jobs to query from the server in chunks?
Assuming you are using a non-UI job (which I would recommend here), you
could invoke Display.asyncExec after each successful chunk retrieval to
refresh your table content.
HTH & Greetings from Bremen
Powered by FUDForum
. Page generated in 0.01520 seconds