|PropertyDescriptor with Combobox and String values [message #792899]
||Tue, 07 February 2012 09:50
| David Gonzalez
Registered: January 2011
first, I'm not sure if this is the place to ask this question. Sorry if I'm wrong here.
My problem is that I want to use a PropertyDescriptor in Eclipse Properties View that provides a Combobox. The only possibility is the ComboBoxPropertyDescriptor which looks like what I want but doesn't work for me. This PropertyDescriptor returns integer values for the position of the chosen value instead of the value itself. For my case I need the value chosen in the combobox because I don't have the possibility to use this index.
An other subclass of PropertyDescriptor is EnumeratedStringPropertyDescriptor and this class behaved exactly as I described before. It gives me the value of the selection I made. However, there is a problem: Discouraged access.
Why is this property descriptor not accessible?
Powered by FUDForum
. Page generated in 0.01550 seconds