Plugins/User-Extensions for Swing-Designer

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

Plugins/User-Extensions for Swing-Designer

Postby Guest » Mon Mar 07, 2005 3:30 am

Is it possible to extend the functionality of Swing-Designer
via a plugin-interface or some kind of API?

Thanks,
Lophiomys
Guest
 

Re: Plugins/User-Extensions for Swing-Designer

Postby Eric Clayberg » Mon Mar 07, 2005 4:46 am

Anonymous wrote:Is it possible to extend the functionality of Swing-Designer via a plugin-interface or some kind of API?

No...or at least not yet. We ae considering adding a plugin interface.

What sort of functionality did you want to add?
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

Postby lophiomys » Wed Mar 09, 2005 8:39 am

I am thinking of some kind of data binding features and GUI object interfacing,
same which I used (and participated to develop) on an other GUI-IDE for Win32.

I would want to extend the Gui-Object palette to accept and recognise
special visual objects (propably extending JComponent), which would
offer a design time view, and then also to display some extra properties/events
applicalbe to all objects of this kin, with some control about code generation,
in order to integrate an setup these components within a RT-framework.

Kind Regards,
Lophiomys
lophiomys
 
Posts: 8
Joined: Mon Mar 07, 2005 3:21 am

Postby Eric Clayberg » Wed Mar 09, 2005 9:32 am

lophiomys wrote:I am thinking of some kind of data binding features and GUI object interfacing, same which I used (and participated to develop) on an other GUI-IDE for Win32. I would want to extend the Gui-Object palette to accept and recognise special visual objects (propably extending JComponent), which would offer a design time view, and then also to display some extra properties/events applicalbe to all objects of this kin, with some control about code generation, in order to integrate an setup these components within a RT-framework.

Have you tried doing this through the standard Java BeanInfo interface (which Designer uses for Swing widgets)?

You can add special data-aware components to the palette that would expose custom properties for handling the data binding.

Custom properties, editors and code generation are supported in Designer via the BeanInfo interface.
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

Postby lophiomys » Wed Mar 09, 2005 11:02 am

Eric,
Thanks for the info,
I'll have a look at it.
Cheers
lophiomys
 
Posts: 8
Joined: Mon Mar 07, 2005 3:21 am

Postby Eric Clayberg » Wed Mar 09, 2005 11:40 am

lophiomys wrote:Thanks for the info,
I'll have a look at it.

Here are a couple of simple classes implementing a custom button with a couple of custom BeanInfo properties (see below).

Just copy these into one of your projects and open the TestCustomPropertyEditors in Designer.

Image
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