Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Databinding + TableViewer + nested lists of objects
Databinding + TableViewer + nested lists of objects [message #554976] Wed, 25 August 2010 03:28 Go to next message
Andrew  is currently offline Andrew Friend
Messages: 43
Registered: December 2009
Member
Hi,
I've got a List of objects A in my model. Each object A contains List of objects B. Each object B contains List of objects C.

I'd like to display in my table viewer list of all objects C. If any of top level elements was removed (for example removed object A) then table viewer should update too.

How can I do that ? Thx.
Re: Databinding + TableViewer + nested lists of objects [message #555534 is a reply to message #554976] Fri, 27 August 2010 05:12 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
On 08/24/2010 09:28 PM, Andrew wrote:
> Hi,
> I've got a List of objects A in my model. Each object A contains List of
> objects B. Each object B contains List of objects C.
>
> I'd like to display in my table viewer list of all objects C. If any of
> top level elements was removed (for example removed object A) then table
> viewer should update too.
>
> How can I do that ? Thx.

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=263714

Matthew
Re: Databinding + TableViewer + nested lists of objects [message #555618 is a reply to message #555534] Fri, 27 August 2010 11:45 Go to previous messageGo to next message
Andrew  is currently offline Andrew Friend
Messages: 43
Registered: December 2009
Member
Ok, thx for you link. I tried to use your patch but without success. Can you give me working example which is based on this patch? Thx.

[Updated on: Mon, 30 August 2010 03:18]

Report message to a moderator

Re: Databinding + TableViewer + nested lists of objects [message #556601 is a reply to message #555618] Thu, 02 September 2010 04:09 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
On 08/27/2010 05:45 AM, Andrew wrote:
> Ok, thx for you link. If I understand you there is no native methods to
> do that. Only with your patch ?

Correct, this is not done yet, and the patch is only preliminary at this
point.

Matthew
Previous Topic:JFace Databinding firePropertyChange never ends
Next Topic:[Databinding] Binding to single entry in List<String>
Goto Forum:
  


Current Time: Sat Apr 20 16:36:42 GMT 2024

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

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

Back to the top