Adding a binding-name

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

Adding a binding-name

Postby Sandy » Tue May 05, 2009 11:53 pm

Hello,

how could I add a binging name like:
JTableBinding<MyObject, List<Sperre>, JTable> jTableBinding = SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy.READ_WRITE, mylist, table, "bindingname");

I could not find this in the designer.

Many thanks,
Sandy
________________________________________________________
Sorry for typos and bad English.
You may correct me if you like to.
Sandy
 
Posts: 12
Joined: Tue May 05, 2009 11:38 pm

Re: Adding a binding-name

Postby Eric Clayberg » Wed May 06, 2009 6:47 pm

We are looking into this as a new feature.
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: Adding a binding-name

Postby Eric Clayberg » Thu May 07, 2009 6:11 am

This new feature is now available in the latest Swing Designer 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

Re: Adding a binding-name

Postby Sandy » Mon May 11, 2009 12:39 am

This is great,

many thanks!
________________________________________________________
Sorry for typos and bad English.
You may correct me if you like to.
Sandy
 
Posts: 12
Joined: Tue May 05, 2009 11:38 pm

Re: Adding a binding-name

Postby Eric Clayberg » Mon May 11, 2009 11:03 am

Sandy wrote:This is great,
many thanks!

Once you try it, let us know what you think.
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: Adding a binding-name

Postby Sandy » Mon May 18, 2009 1:24 am

Hi,

adding the value in the source works fine, great!

Using the Designer-GUI I get an error because I use a model-class form outsind the project (actually I did not know if this *was* the reason, but I had some trouble because of that before). The beginnig of the error is:

WindowBuilder internal error

WindowBuilder encountered unexpected internal error. Please contact support.

com.instantiations.designer.core.utils.ast.ASTParser$ParseException: The public type xxx must be defined in its own file Source: |xxx|

Bye,
Sandy
________________________________________________________
Sorry for typos and bad English.
You may correct me if you like to.
Sandy
 
Posts: 12
Joined: Tue May 05, 2009 11:38 pm

Re: Adding a binding-name

Postby Eric Clayberg » Mon May 18, 2009 3:02 am

Please send us a test case and your complete Eclipse ".log" file.
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: Adding a binding-name

Postby Konstantin.Scheglov » Mon May 18, 2009 9:18 am

Update to the latest build, problem with "Public type xxx must be defined" was fixed today.
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Re: Adding a binding-name

Postby Sandy » Mon May 18, 2009 11:57 pm

Hi,

yes, its fixed, you are great!

Sandy
Sandy
 
Posts: 12
Joined: Tue May 05, 2009 11:38 pm

Re: Adding a binding-name

Postby Eric Clayberg » Tue May 19, 2009 2:38 am

Glad that worked.
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