> If you don't want to be bothered too much, just substitute all > instances of HandlerManager with SimpleEventBus and you're done.
I dunno--per my comment in a proposed patch to SimpleEventBus, I find using "EventBus" in all the places I used HandlerManager to be odd. I used HandlerManager inside of objects to handle object-specific events (much like it's used in Widget for Widget-specific events). To me, this usage isn't an event bus...event bus == app-wide stuff. Having an "app-wide" EventBus field inside of a Widget (or Property or whatever) leads to confusion: this is /the/ app-wide event bus, or just /a/ object-specific event bus. IMO, keeping the two classes separate makes more sense to me. The satisfy two separate roles in an app. That their internals are fairly similar is an implementation detail. (re: dmen, I enjoyed your message. :-) - Stephen -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
