Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » varargs as properties
varargs as properties [message #875880] Wed, 23 May 2012 13:47 Go to next message
Michael Kornatzki is currently offline Michael KornatzkiFriend
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 14:44 Go to previous message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
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.
Previous Topic:WindowBuilder in Eclipse SDK 4.1.2
Next Topic:CodeMaps updates for WindowBuilder
Goto Forum:
  


Current Time: Fri Apr 26 10:52:04 GMT 2024

Powered by FUDForum. Page generated in 0.03108 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top