Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » SWT.VIRTUAL style for tables in Riena(table performance for Riena table ridget(s) with large data set)
SWT.VIRTUAL style for tables in Riena [message #1067140] Sat, 06 July 2013 10:05 Go to next message
Michael Westphal is currently offline Michael WestphalFriend
Messages: 3
Registered: March 2012
Junior Member
we are actually using Riena table ridget in a Riena 5 application running with RAP 2.1 of Kepler release. Actually we are using paging for displaying data. But because all data is already in Java containers in memory we want to show all rows without paging. But then the performance is getting bad. Therefore we want to use SWT.VIRTUAL style for the table. Is this possible with Riena ridgets at all or have we to go back to JFace / SWT ?

Best regards
Re: SWT.VIRTUAL style for tables in Riena [message #1067349 is a reply to message #1067140] Mon, 08 July 2013 11:41 Go to previous messageGo to next message
Christian Campo is currently offline Christian CampoFriend
Messages: 593
Registered: July 2009
Senior Member
I checked my workspace and couldnt find a reference to SWT.VIRTUAL. So I think we never tried it.
Next step could be try it out and see for yourself. If that fails, you could still open a bug.
Not sure that we can fix it in a short period of time but I am interested to know what happens if you try.

Or of course you could submit with a patch if you find a solution (long shot since we dont know yet if there is a problem)

Re: SWT.VIRTUAL style for tables in Riena [message #1101486 is a reply to message #1067349] Wed, 04 September 2013 14:17 Go to previous messageGo to next message
Martin Ferlan is currently offline Martin FerlanFriend
Messages: 1
Registered: June 2013
Junior Member
Problem is not in SWT.VIRTUAL style itself, but when you want to use ILazyContentProvider with virtual table.

Using SWT.VIRTUAL style with ObservableListContentProvider does not achieve anything.
ILazyContentProvider provides the option to fetch the data when the data is needed instead of loading everything into memory

Setting content provider for the current implementation of AbstractTableRidget is placed inside

It would be nice to provide:
a) additional method in AbstractTableRidget to provide creating custom content provider:
public ObservableListContentProvider createContentProvider(final AbstractTableViewer viewer);

b) implementation of ILazyProvider that extends ObservableListContentProvider
c) implementation of AbstractTableRidget that can easily turn lazy loading on / off

Also, when using virtual table with lazyContentProvider on TableRidgetTableViewer without the actual need for feature in CheckboxTableViewer then sorting is slower (because of extra features in CheckboxTableViewer ).

Best regards,
Re: SWT.VIRTUAL style for tables in Riena [message #1699364 is a reply to message #1101486] Tue, 23 June 2015 16:39 Go to previous message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 89
Registered: January 2015

Is there some news here..?
Previous Topic:riena.core deadlocks itself?
Goto Forum:

Current Time: Tue Feb 09 13:55:17 GMT 2016

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

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