Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » TableViewer and reveal with SWT.VIRTUAL
TableViewer and reveal with SWT.VIRTUAL [message #303003] Fri, 05 May 2006 03:11 Go to next message
Eclipse UserFriend
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 #303133 is a reply to message #303003] Tue, 09 May 2006 11:59 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: TableViewer and reveal with SWT.VIRTUAL [message #303425 is a reply to message #303133] Mon, 15 May 2006 11:12 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Re: Launch an Eclipse VIew
Next Topic:Accessing field editors on a FieldEditorPreferencePage
Goto Forum:
  


Current Time: Tue Jul 15 23:38:42 EDT 2025

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

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

Back to the top