Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Setting CellEditor for a Color property field
Setting CellEditor for a Color property field [message #616410] Wed, 29 August 2007 05:21
Eclipse UserFriend
Originally posted by:

Hi All,
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.

<event:Add featureName="eStructuralFeatures">
<addedEObjects xsi:type="ecore:EReference"
name="backgroundColor" unsettable="true" >
xsi:type=" "
cellEditorClassname="MyPlugin/com.editor.CustomCellEditor"/ >

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,
Rashmi H.R
Previous Topic:Setting CellEditor for a Color property field
Next Topic:VE for XSWT
Goto Forum:

Current Time: Wed May 23 05:39:13 GMT 2018

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

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

Back to the top