method-property in wbp-compoennt.xml

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

method-property in wbp-compoennt.xml

Postby George » Tue May 24, 2011 3:14 am

I have a method in my costum component MyButton. i want to appear this method in property i do this in wbp-component.xml

<method-property title="Service" method="Selectservice(java.lang.String)">
<editor id="ServiceList"></editor>

it appear and work fine but the editor dont appear with the default String editor knowing that my costum editor it work in other the problem in the defintion of editor in method-property.

thinks for your help.
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: method-property in wbp-compoennt.xml

Postby Konstantin.Scheglov » Tue May 24, 2011 5:10 am

Yes, "method-property" creates complex property with sub-properties for each parameter, with type-based editors for them.
You probably want "method-single-property" which creates single property and allows setting editor for it.
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests