IndexedPropertyDescriptor [message #134330] |
Wed, 20 December 2006 11:22 |
Eclipse User |
|
|
|
Originally posted by: gremic.post.sk
Hi,
I have been working with custom components extending Swing objects. I had
a problem with displaying custom String[] properties with VE.
Properties as: private String[] ids;
coldn't be changed in Properties view meaningfully.
What's wrong? In ComboBoxBeanInfo nothing from
PropertyDescriptor Ids = new IndexedPropertyDescriptor("Ids",beanClass,
"getIds","setIds","getId","setId");
PropertyDescriptor Ids = new PropertyDescriptor("Ids",beanClass,
"getIds","setIds");
works.
Thanks.
|
|
|
Re: IndexedPropertyDescriptor [message #134464 is a reply to message #134330] |
Fri, 29 December 2006 00:02 |
Jeff Myers Messages: 489 Registered: July 2009 |
Senior Member |
|
|
Gremic,
The VE does not currently support working with IndexedProperties. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49718
- Jeff
Gremic wrote:
> Hi,
>
> I have been working with custom components extending Swing objects. I
> had a problem with displaying custom String[] properties with VE.
> Properties as: private String[] ids;
>
> coldn't be changed in Properties view meaningfully. What's wrong? In
> ComboBoxBeanInfo nothing from
> PropertyDescriptor Ids = new IndexedPropertyDescriptor("Ids",beanClass,
> "getIds","setIds","getId","setId");
> PropertyDescriptor Ids = new PropertyDescriptor("Ids",beanClass,
> "getIds","setIds");
>
> works.
>
> Thanks.
|
|
|
Re: IndexedPropertyDescriptor [message #614961 is a reply to message #134330] |
Fri, 29 December 2006 00:02 |
Jeff Myers Messages: 489 Registered: July 2009 |
Senior Member |
|
|
Gremic,
The VE does not currently support working with IndexedProperties. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49718
- Jeff
Gremic wrote:
> Hi,
>
> I have been working with custom components extending Swing objects. I
> had a problem with displaying custom String[] properties with VE.
> Properties as: private String[] ids;
>
> coldn't be changed in Properties view meaningfully. What's wrong? In
> ComboBoxBeanInfo nothing from
> PropertyDescriptor Ids = new IndexedPropertyDescriptor("Ids",beanClass,
> "getIds","setIds","getId","setId");
> PropertyDescriptor Ids = new PropertyDescriptor("Ids",beanClass,
> "getIds","setIds");
>
> works.
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03077 seconds