editing not possibe if column class is set

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

editing not possibe if column class is set

Postby Sandy » Wed May 06, 2009 1:41 am

Hello,

there is a (strange?) behaviour in my bound table:

ELProperty<OBJ, Object> objEvalutionProperty = ELProperty.create("${from}");
jTableBinding.addColumnBinding(objEvalutionProperty).setColumnName("from");
//
ELProperty<OBJ, Object> objEvalutionProperty_1 = ELProperty.create("${to}");
jTableBinding.addColumnBinding(objEvalutionProperty_1).setColumnName("to").setColumnClass(Date.class);


The first cell is editable, the second is NOT. Date is a special Date-class of our own project.

No Problem with setColumnClass(String.class).

Again I could not choose Boolean.class in the desiger (see one posting below, I just want to know if it is the same with ELProperty).

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: editing not possibe if column class is set

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

Please send us a complete test case.
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