Skip to main content



      Home
Home » Archived » 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 06:05 Go to next message
Eclipse UserFriend
Hi,
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
Michael
Re: SWT.VIRTUAL style for tables in Riena [message #1067349 is a reply to message #1067140] Mon, 08 July 2013 07:41 Go to previous messageGo to next message
Eclipse UserFriend
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)

christian
Re: SWT.VIRTUAL style for tables in Riena [message #1101486 is a reply to message #1067349] Wed, 04 September 2013 10:17 Go to previous messageGo to next message
Eclipse UserFriend
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
configureViewer()
method.

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,
Martin
Re: SWT.VIRTUAL style for tables in Riena [message #1699364 is a reply to message #1101486] Tue, 23 June 2015 12:39 Go to previous messageGo to next message
Eclipse UserFriend
Is there some news here..?
Re: SWT.VIRTUAL style for tables in Riena [message #1725172 is a reply to message #1699364] Tue, 01 March 2016 06:07 Go to previous message
Eclipse UserFriend
no changes in the TableRidget yet for virtual table. TableViewers are currently part of the TableRidget and not easy to factor out.
Previous Topic:riena.core deadlocks itself?
Next Topic:news.eclipse.org is shutting down.
Goto Forum:
  


Current Time: Tue Jul 08 03:27:41 EDT 2025

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

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

Back to the top