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
by George » Tue May 24, 2011 3:14 am
Hello,
I have a method in my costum component MyButton. i want to appear this method in property tab.so i do this in wbp-component.xml
<method-property title="Service" method="Selectservice(java.lang.String)">
<editor id="ServiceList"></editor>
</method-property>
it appear and work fine but the editor dont work.it appear with the default String editor knowing that my costum editor it work in other property.so the problem in the defintion of editor in method-property.
thinks for your help.
-
George
-
- Posts: 29
- Joined: Wed Apr 06, 2011 4:25 am
by 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.
-
Konstantin.Scheglov
- Moderator
-
- 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