Skip to main content



      Home
Home » Archived » Visual Editor (VE) » custom editor for array of strings
custom editor for array of strings [message #121208] Thu, 30 March 2006 03:33 Go to next message
Eclipse UserFriend
Originally posted by: johannes.testori.shark-soft.com

hi all,

is there an easy way to create a custom editor to add an array (or list)
of strings to a component.
what i would like to do is to let the user add items to a combobox without
writing sourcecode.
maybe someone has already successfully tried to do this?

kind regards,
hannes
Re: custom editor for array of strings [message #124020 is a reply to message #121208] Thu, 27 April 2006 12:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Hannes.

Did you find a way of doing this?
I am having problems with getting PropertyEditors to be found
for array valued properties, and would be grateful if you could let me know
how to
do this if you find out.
I will post here if I manage to solve it myself.





"Hannes" <johannes.testori@shark-soft.com> wrote in message
news:0b6f243b54ae11833f46edeee29b7440$1@www.eclipse.org...
> hi all,
>
> is there an easy way to create a custom editor to add an array (or list)
> of strings to a component.
> what i would like to do is to let the user add items to a combobox without
> writing sourcecode.
> maybe someone has already successfully tried to do this?
>
> kind regards,
> hannes
>
Re: custom editor for array of strings [message #124070 is a reply to message #124020] Thu, 27 April 2006 13:03 Go to previous messageGo to next message
Eclipse UserFriend
I have fixed it in my case.

Try clearing the bean info caches

remove the .cache folder in

..metadata\.plugins\org.eclipse.jem.beaninfo
and
..metadata\.plugins\org.eclipse.core.resources\.projects\<your
project>\org.eclipse.jem.beaninfo

and restart eclipse.
Re: custom editor for array of strings [message #124082 is a reply to message #124070] Fri, 28 April 2006 02:22 Go to previous message
Eclipse UserFriend
Originally posted by: johannes.testori.shark-soft.com

hi darren,
i didn't investigate further because i had no time for this. good to hear
that you managed to do this.
could you give me a hint how to do this? do i only have to create a
beaninfo-class?
kind regards, hannes
Re: custom editor for array of strings [message #612777 is a reply to message #121208] Thu, 27 April 2006 12:45 Go to previous message
Eclipse UserFriend
Hi Hannes.

Did you find a way of doing this?
I am having problems with getting PropertyEditors to be found
for array valued properties, and would be grateful if you could let me know
how to
do this if you find out.
I will post here if I manage to solve it myself.





"Hannes" <johannes.testori@shark-soft.com> wrote in message
news:0b6f243b54ae11833f46edeee29b7440$1@www.eclipse.org...
> hi all,
>
> is there an easy way to create a custom editor to add an array (or list)
> of strings to a component.
> what i would like to do is to let the user add items to a combobox without
> writing sourcecode.
> maybe someone has already successfully tried to do this?
>
> kind regards,
> hannes
>
Re: custom editor for array of strings [message #612783 is a reply to message #124020] Thu, 27 April 2006 13:03 Go to previous message
Eclipse UserFriend
I have fixed it in my case.

Try clearing the bean info caches

remove the .cache folder in

..metadata\.plugins\org.eclipse.jem.beaninfo
and
..metadata\.plugins\org.eclipse.core.resources\.projects\<your
project>\org.eclipse.jem.beaninfo

and restart eclipse.
Re: custom editor for array of strings [message #612784 is a reply to message #124070] Fri, 28 April 2006 02:22 Go to previous message
Eclipse UserFriend
Originally posted by: johannes.testori.shark-soft.com

hi darren,
i didn't investigate further because i had no time for this. good to hear
that you managed to do this.
could you give me a hint how to do this? do i only have to create a
beaninfo-class?
kind regards, hannes
Previous Topic:Not finding property editors for array properties
Next Topic:Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
Goto Forum:
  


Current Time: Wed Jun 18 21:34:59 EDT 2025

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

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

Back to the top