Custom Frame Properties and Events

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

Custom Frame Properties and Events

Postby alexsmr » Fri Mar 19, 2004 8:14 am

Hello,

Say, I've created new custom control that extends Composite. It is nice to be able to reuse it with other controls. But, using JavaBean convention I guess is not enough to see properties and events right away in Inspector window. Do I have create BeanInfo for that?

Thanks,
Alex.
alexsmr
 
Posts: 7
Joined: Fri Mar 19, 2004 8:04 am

Re: Custom Frame Properties and Events

Postby Eric Clayberg » Wed Mar 24, 2004 8:34 pm

alexsmr wrote:Say, I've created new custom control that extends Composite. It is nice to be able to reuse it with other controls. But, using JavaBean convention I guess is not enough to see properties and events right away in Inspector window. Do I have create BeanInfo for that?

SWT widgets do not yet support BeanInfo. In Designer 2.0.0, custom int, boolean and String properties are recognized for custom composites.
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 1 guest