Skip to main content



      Home
Home » Eclipse Projects » JFace » TableViewer SWT.VIRTUAL or not ?(Make the selection not change)
TableViewer SWT.VIRTUAL or not ? [message #990242] Tue, 11 December 2012 09:49 Go to next message
Eclipse UserFriend
Hello everyone,

I have a problem and I'm asking for help.

I have a TableViewer which is updated really fast in a MasterDetailsBlock.

A selection on an item in the TableViewer displays informations in a detail page.
The point is when the TableViewer is SWT.VIRTUAL the selection appears to be on the table index and whenever an item is added the selection changes because it stays on the same index.

I need to make the selection blocked on the item I've just selected.
In order to do that I tried to make my TableViewer not SWT.VIRTUAL and it worked but I have a lot of data and my application suffers a lot !

Is there a way to make the selection not change with SWT.VIRTUAL option ?
Re: TableViewer SWT.VIRTUAL or not ? [message #990831 is a reply to message #990242] Fri, 14 December 2012 06:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

as I posted on http://stackoverflow.com/questions/13761052/tableviewer-selection-changing, you have to use SWT.FULL_SELECTION style
when creating TableViewer.

I would really appreciate if somebody from JFace team or whoever understand it, explain it to use.
Re: TableViewer SWT.VIRTUAL or not ? [message #990841 is a reply to message #990831] Fri, 14 December 2012 07:00 Go to previous message
Eclipse UserFriend
As I also replied on the other forum the SWT.FULL_SELECTION style is not resolving my problem.
My TableViewer was SWT.FULL_SELECTION all the time.

But I join you when you're asking for some JFace expert help =)
Previous Topic:TableViewer with SWT.VIRTUAL style and reveal
Next Topic:Prevent Dialog from Closing
Goto Forum:
  


Current Time: Wed Jul 23 10:15:51 EDT 2025

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

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

Back to the top