Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Custom property editor SWT(Custom property editor to design a plastic interface)
Custom property editor SWT [message #1734452] Wed, 08 June 2016 13:21
Duong Vu Thai is currently offline Duong Vu ThaiFriend
Messages: 1
Registered: June 2016
Junior Member
Hi,

I'm trying to create a simple custom property editor. I want to use my own object MyProp(int, int, int, String) as input of a method in a custom composite setMyProp(MyProp[ ]) and when I click at "..." (design tab) of myprop, it should open my new shell and I can type my data there.

Here's my plugin.xml:
<plugin>
	<extension point="org.eclipse.wb.core.propertyEditors">
		<editor
			class="org.eclipse.wb.internal.swt.model.property.editor.geometry.MyPropPropertyEditor"
			type="duong.windowbuilder.composites.MyProp"/>
	</extension>
</plugin>


I tried with configurableEditor, but it can not find configurable editor with my id if I write it in *.wbp-component.xml

Hope somebody can help me or show me steps to do it! Maybe I miss some important things.

Thanks.
Previous Topic:Version for Mars 4.5.2
Next Topic:Window Builder not working fine ubuntu
Goto Forum:
  


Current Time: Thu Nov 15 02:57:06 GMT 2018

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

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

Back to the top