wbp-component.xml and custom property editor example

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

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

wbp-component.xml and custom property editor example

Postby murat_ar » Tue Jun 01, 2010 4:50 am

If a CustomWidget has a BeanInfo class that returns custom property editor, Window Builder 7.4 shows the custom property editor for a specific property. Is it possible to set user defined Custom Property Editor using only "wbp-component.xml"? Could you give an example for that?
murat_ar
 
Posts: 5
Joined: Tue Jun 01, 2010 4:16 am

Re: wbp-component.xml and custom property editor example

Postby Eric Clayberg » Tue Jun 01, 2010 6:16 am

murat_ar wrote:Is it possible to set user defined Custom Property Editor using only "wbp-component.xml"?

No.

Is there a problem with using the standard BeanInfo approach?
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

Re: wbp-component.xml and custom property editor example

Postby murat_ar » Wed Jun 02, 2010 1:58 am

There is no problem with BeanInfo. I just wanted to know if I can use only wbp-component.xml
murat_ar
 
Posts: 5
Joined: Tue Jun 01, 2010 4:16 am

Re: wbp-component.xml and custom property editor example

Postby Eric Clayberg » Thu Jun 03, 2010 10:11 am

murat_ar wrote:There is no problem with BeanInfo. I just wanted to know if I can use only wbp-component.xml

BeanInfo would be the best way to go here.
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 Swing Designer

Who is online

Users browsing this forum: Google [Bot] and 1 guest