You can add "final" to the method parameter: Activity.start(final 
AcceptsOneWidget panel, final EventBus eventBus).

Actually you should not inject an additional event bus into your activity 
(unless you really know what you are doing and you absolutely need it). You 
should always use the one that is provided by Activity.start() because this 
EventBus instance will be cleaned up automatically once your activity stops.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to