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 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 14:44 Go to previous message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 554
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:Catch drop events into WB editor from other views
Goto Forum:
  


Current Time: Wed Sep 17 11:44:36 GMT 2014

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

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