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 alex.d » Mon Mar 09, 2009 1:36 am
I have different return type (Request instead of void) in my ServiceAssync interface for several functions. Issue: every time i add new function to the interface, ServiceAssync is generated again replacing Request with void. Is it possible to avoid this?
-
alex.d
-
- Posts: 35
- Joined: Mon Jun 02, 2008 4:46 am
by Eric Clayberg » Wed Mar 18, 2009 4:16 am
alex.d wrote:I have different return type (Request instead of void) in my ServiceAssync interface for several functions. Issue: every time i add new function to the interface, ServiceAssync is generated again replacing Request with void. Is it possible to avoid this?
In the latest build, you can now add a
@wbp.gwt.Request JavaDoc tag to have the async method generated to return a
Request.
For example:
- Code: Select all
/**
* @wbp.gwt.Request
*/
int bar();
will generate:
- Code: Select all
Request bar(AsyncCallback<Integer> callback);
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to GWT Designer
Who is online
Users browsing this forum: No registered users and 2 guests