Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Propagating changes from ContentProvider to JFace View
Propagating changes from ContentProvider to JFace View [message #460717] Mon, 05 September 2005 09:59 Go to next message
Andreas is currently offline AndreasFriend
Messages: 29
Registered: July 2009
Junior Member
Hi everybody,

iŽve read through a lot of documentation by now, but i canŽt get my
programm working the way i want.

I have a TableViewer which should display data from a model.
For this Table Viewer I have set a ContentProvider, which implements the
Interface IStructuredContentProvider (the conent Provider is in a seperate

The ContentProvider is connected through a PropertyChangeEvent, with the
underlying data model, which i want to represent in the TableViewer.

Now everytime the underlying data model fires a PropertyChangeEvent the
ContentProvider for the TableViewer should be updated and the TableViewer
should display the new model data.

I guess this is fairly basic, but none of the examples iŽve run into, so
far, showed how to do this.
How can i get this running?
In special: How can i update the TableViewer with the new data from the
Is this done automatically? I havenŽt seen any examples for this.

any help is appreciated
Re: Propagating changes from ContentProvider to JFace View [message #460719 is a reply to message #460717] Mon, 05 September 2005 12:23 Go to previous message
Eclipse UserFriend
Originally posted by:

"Andreas" <> wrote in message
> Hi everybody,
> i
Previous Topic:TableViewer
Next Topic:2 trees in sync with one scrollbar
Goto Forum:

Current Time: Sun Aug 25 04:32:28 GMT 2019

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

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

Back to the top