Using Interfaces in Viewer databinding

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

Using Interfaces in Viewer databinding

Postby urferr » Fri May 23, 2008 2:08 am

I would like to choose an interface in the data binding dialog of a viewer for the class attribute of "Element of input prooperty collection". Unfortunately SWTDesigner does only list classes.

Is there a special reason that interfaces are not listed?

If you first choose a class and later on replace the classby an interface in the initDataBindings method, everything is still working fine. Even if the databinding editor is opened again, the interface is displayed and i can choose other properties to be bound. The interface name is not lost if the initDataBindings method is regenerated the next time.
Posts: 2
Joined: Fri May 23, 2008 1:58 am

Re: Using Interfaces in Viewer databinding

Postby Eric Clayberg » Sat May 24, 2008 7:31 am

We have added support for this in the latest SWT Designer build.
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