Thank you all for your clarifications!

So there are *no particular reasons for not using a static EventBus* but I 
agree with Jens that using a static EventBus, hides the fact that a 
particular View requires an EvenBus. So I'll use the instance version of 
the EventBus instead of its static version.

On Monday, November 7, 2011 2:36:32 PM UTC+1, objectuser wrote:
>
> Not that it's really what you asked (I agree with the replies you've 
> received), but if you're using the idiom shown in some of the Google 
> presentations/samples/vids, instead of direct references to the EventBus 
> instance (which is a class and not an interface ... I don't know why), 


Indeed, EventBus is an abstract class. I suppose GWT devs haven't used an 
interfaces because EventBus implementes some functionality in two of its 
methods. 

-- 
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/-/tsmBZkTZkGEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to