TableViewer and reveal with SWT.VIRTUAL [message #303003] |
Fri, 05 May 2006 03:11  |
Eclipse User |
|
|
|
Hi,
I'm having an annoying problem with a TableViewer. I wrote a little app
using a TableViewer with a ContentProvider. Using a dialog, the user puts
records into a remote database. When this occours, the app executes the
following steps :
first adds the record to the remote sql data base
second updates the view with TableViewer.add(Object)
third reveals the new element with TableViewer.reveal(Object).
All of this worked correctly until I added (due to database increase)
SWT.VIRTUAL to the table definition. After this the add method stopped
working. I changed it with TableViewer.refresh(), which works correctly,
but the TableViewer.reveal(Object) still doesnt work.
First of all, let me told you that I'm very inexperienced with java, swt
and jface, so maybe I'm doing something wrong. Anyway, I'm not able to
find a solution.
Can anyone help me, please?
Thanks in advance.
Fernando
|
|
|
|
Re: TableViewer and reveal with SWT.VIRTUAL [message #303425 is a reply to message #303133] |
Mon, 15 May 2006 11:12  |
Eclipse User |
|
|
|
Originally posted by: bokowski.ca.ibm.com
Please enter a bug against Platform/UI with details about your problem,
ideally a little code snippet that shows the problem.
Boris
"Fernando" <fnappo@tiscali.it> wrote in message
news:0940cc0e442826a6adec4f451361ef7a$1@www.eclipse.org...
> I tried the new Eclipse 3.2RC3, but I still have the same problem (insert,
> add and reveal method dont work correctly with a TableView using a
> virtual table. Or I'm not able to use them the correct way).
>
> Can anyone help me?
>
> Thank you.
>
> Fernando
>
|
|
|
Powered by
FUDForum. Page generated in 0.08248 seconds