Jens,

Excellent example -- thank you.

The key points I needed were:
  1) I must define my handler as an interface, not a class (I finally did 
figure that one out -- whoops!)
  2) I don't need to subclass GwtEvent.Type<>
  3) I can define everything inside a single Event subclass, nice clean and 
neat single source file.

Your post is the first concise example I've seen for using the 
EventBus. Your example will quickly become the first result when googling 
for 'SimpleEventBus example' (if not already). The javadocs really need to 
include this kind of example.

-broc

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

Reply via email to