Custom property editor [message #1781276] |
Mon, 05 February 2018 12:27  |
Eclipse User |
|
|
|
Hi,
In plugin.xml, I am adding below code
<extension
point="org.eclipse.wb.core.propertyEditors">
<configurableEditor id="componentEditor" class="FullyQualified name of my editor"/>
</extension>
In *wbp-component.xml
<property id="setRegion(com......)" >
<editor id="componentEditor"/>
</property>
But in designer view I get exception
Caused by: java.lang.IllegalArgumentException: Can not find configurable editor with id 'componentEditor'.
at org.eclipse.wb.internal.core.model.description.helpers.DescriptionPropertiesHelper.getConfigurableEditor(DescriptionPropertiesHelper.java:132)
at org.eclipse.wb.internal.core.model.description.rules.PropertyEditorRule.begin(PropertyEditorRule.java:48)
Request your suggestions.
Is there a sample custom editor code avilable for verifying?
Quick help would be appreciated.
Thanks
Santha
|
|
|
|
Powered by
FUDForum. Page generated in 0.04258 seconds