Skip to main content


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
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 11:41 Go to previous messageGo to next message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
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)

christian
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
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 16:39 Go to previous messageGo to next message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 114
Registered: January 2015
Senior Member

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 11:07 Go to previous message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
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: Thu Apr 18 11:01:27 GMT 2024

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

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

Back to the top