Databinding for TreeViewer

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Databinding for TreeViewer

Postby niklasskeppstedt » Mon Feb 04, 2008 6:56 am

Hi (Eric?),
We have discussed this before but I need some refreshing...
We have a lot of UI's using JFace TreeViewers and after designing UI's with TableViewers and databinding which works excellent I am now wondering if databinding support for TreeViewers is something you work on or have plans for? I have searched for solutions and the only thing I have come up with is org.eclipse.jface.internal.databinding.provisional.viewers.UnorderedTreeContentProvider but it doesnt seem to be class for me to use(internal).

Best regards,

Niklas Skeppstedt,
Cognos, an IBM Company
Posts: 3
Joined: Mon Feb 04, 2008 6:50 am

Re: Databinding for TreeViewer

Postby Eric Clayberg » Mon Feb 04, 2008 7:25 am

The current Eclipse DataBinding API does not support TreeViewers.

If and when TreeViewer support is added to Eclipse, we will add the correspondings upport to SWT Designer.

You should look at the PhoneBookUsingTreeViewer example provided in our DataBinding example project for one approach to using a TreeViewer in conjunction with the DB API.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests