Friday, August 3, 2012

Re: which EventBus

That would be a good/quick fix for GWT 2.5 to deprecate the old 'start' method and fix the signature.

On my project we have a base Activity and that is exactly what I did, so we always have the right EventBus imported..

-Clint

On Thu, Aug 2, 2012 at 8:55 AM, Jens <jens.nehlmeier@gmail.com> wrote:
I  was mid way of re-factoring the code when I realised that the
Activity interface needs EventBus from
com.google.gwt.event.shared.EventBus :(

Simply don't import the old EventBus package in your activity. If you need to store the EventBus provided in the start() method in your activity then assign it to a variable that represents the new EventBus.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/hsJo-SBq_RkJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

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

No comments:

Post a Comment