Databinding: Superclass Properties not listed in dialog

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: Superclass Properties not listed in dialog

Postby bursascha » Sun Aug 31, 2008 11:09 pm

Using bean classes the binding dialog correctly shows a beans base class properties (some refreshing propblems exist, but after close/open editor it works).

But using bean interfaces the binding dialog does only show properties of the concrete bean interface.
Properties inhertied from the bean's super interface are not listed.

public interface A
{
void setA(String a);
String getA();
}

public interface B extends A
{
void setB(String b);
String getB();
}

public MyComp extends Composite
{
...
private B m_b;
}
--> Selecting m_b in binding dialog only property B is listed. Property A is not listed!
bursascha
 
Posts: 1
Joined: Sun Aug 31, 2008 10:47 pm

Re: Databinding: Superclass Properties not listed in dialog

Postby Eric Clayberg » Mon Sep 01, 2008 3:28 pm

Give this a try in the latest build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
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