Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to Display Data in a Table on an RCP-View
How to Display Data in a Table on an RCP-View [message #463527] Tue, 13 February 2007 06:28 Go to next message
Eclipse UserFriend
Hello,


I'm trying to display status data of my Application in a Table on an
RCP-View. Some I cannot quite figure out how to do it. I was hoping
someone here could maybe tell my the correct way to do this.

I'm using the tableviewer which works fine if I give the TableModel on
startup. Some if I want to update the model later using
viewer.setInput(model) I get an InvalidThreadAccess Exception form SWT.
So how can I update?

Thanks in advance for any help.

Christian Hager
Re: How to Display Data in a Table on an RCP-View [message #463529 is a reply to message #463527] Tue, 13 February 2007 06:31 Go to previous message
Eclipse UserFriend
Hi,

Your update is happening out of the GUI-Thread you need to synchronize
the update calls using Display#asyncExec()/Display#syncExec().

Tom


Christian Hager schrieb:
> Hello,
>
>
> I'm trying to display status data of my Application in a Table on an
> RCP-View. Some I cannot quite figure out how to do it. I was hoping
> someone here could maybe tell my the correct way to do this.
>
> I'm using the tableviewer which works fine if I give the TableModel on
> startup. Some if I want to update the model later using
> viewer.setInput(model) I get an InvalidThreadAccess Exception form SWT.
> So how can I update?
>
> Thanks in advance for any help.
>
> Christian Hager
Previous Topic:Sofware Updates of my application
Next Topic:logger starting
Goto Forum:
  


Current Time: Thu Mar 27 23:53:37 EDT 2025

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

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

Back to the top