| varargs as properties [message #875880] |
Wed, 23 May 2012 09:47  |
Michael Kornatzki Messages: 1 Registered: May 2012 |
Junior Member |
|
|
Hi,
in my component i have the following setter:
setOrientedColumns(int... columns)
it is not possible to set the values in the property-editor.
Do i have something to enable or maybe can i configure something in the wbp-component.xml to get a property-editor for varargs?
cheers, michael
|
|
|
| Re: varargs as properties [message #875911 is a reply to message #875880] |
Wed, 23 May 2012 10:44  |
Konstantin Scheglov Messages: 547 Registered: July 2009 |
Senior Member |
|
|
There was no property editor for int[] in current version of WindowBuilder.
I've added it now to trunk.
It will generate "new int[] {}" though, because in WB we can not know if this is varargs or just array.
Konstantin Scheglov,
Google, Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.01509 seconds