Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Property set if not in the "override" file?
Property set if not in the "override" file? [message #616498] Wed, 12 September 2007 03:21
Eclipse UserFriend
Originally posted by:

hi ,
i kown set Bean's propertys in the "BeanInfo "file
now ,i want kown that set property if not in the "override" file.
i try this method ,it is following
eg :the property name is "value" setXXX() is "setValue(int a, int
b) " ,this propety not descripted in the BeanInfo
now , my override file is following ,the eType is int[ ] ,because
wirte the getMethod() no way,

<objectsToAttach name="value" eType="
java:/java.lang#int[]" unsettable="true" xmi:id="_eStructuralFeatures"
cellEditorClassname=" r "
xsi:type=" "/>

ValueEditor is extenads PropertyEditorSupport.
getJavaInitializationString() :

public String getJavaInitializationString() {
return "new int[]{" + value[0] + "," + value[1] + "}";

In accordance with the above method , log in the worksapce have exception :
MESSAGE IWAV0022E Unable to instantiate class "class".
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at iptorAdapter.createCellEditorInstance(AbstractPropertyDescri
at riptorAdapter.createPropertyEditor(DecoratedPropertyDescript
at criptor.createPropertyEditor(RuledWrapperedPropertyDescripto

if you kown please help me

Previous Topic:Unable to instantiate class "class".
Next Topic:Property set if not in the "override" file?
Goto Forum:

Current Time: Thu Nov 26 12:49:56 GMT 2015

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

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