Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Custom property editor(Unable to add custom property editor using configurableEditor)
Custom property editor [message #1781276] Mon, 05 February 2018 12:27 Go to next message
santhi kumari is currently offline santhi kumariFriend
Messages: 1
Registered: February 2018
Junior Member
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

Re: Custom property editor [message #1795272 is a reply to message #1781276] Wed, 19 September 2018 15:08 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 432
Registered: July 2009
Senior Member

Did you export your class in the runtime tab of the manifest?
Previous Topic:Where to find Design Tab
Next Topic:WindowBuilder reverse engineering
Goto Forum:
  


Current Time: Tue Nov 20 08:38:56 GMT 2018

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

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

Back to the top