|Setting CellEditor for a Color property field [message #140040]
||Wed, 29 August 2007 01:21
Originally posted by: rashmi_h_r.rediffmail.com|
I am trying to set a cellEditor to a color property 'backgroundColor'
in one of my custom widget, which extends from the Swing component JLabel.
I have declared the property field and it corresponding getter, setter
methods in my custom class and corresponding descriptors in the bean info
class of the custom widget.
But still when I try to assign a cell editor through an override file, I
am getting the following warning as follows.
>backgroundColor" did not have a type set. Typically due to override
file creating feature but property not found on introspection/reflection.
The declaration in the override file is as follows.
name="backgroundColor" unsettable="true" >
xsi:type=" org.eclipse.ve.internal.cde.decorators:BasePropertyDecorator "
I am using Eclipse 3.2 and V.E 1.2.I am not understanding where i am going
wrong and Why V.E is throwing a warning even after the corresponding
property and the bean setter and getter methods exists. When I remove the
override file, the custom widget works fine and the default color editor
is attached to it by V.E. Please help me resolve this issue.
Any help in this regard is greatly appreciated.
Thank You and Best Regards,
Powered by FUDForum
. Page generated in 0.01789 seconds