gwt /
gwt /
ccd24d5e4027088e993dcbfd68fbabd4bceb5c20 Adds dual key (type + source) handler binding to EventBus.
RequestFactory sets the class of a proxy type as the source for
EntityProxyChange events, so that subscribers can still listen for
events only of specific proxy types. It is no
longer necessary for a RequestFactory user to define their own change
event types.
Renames EntityProxyChange event to better follow convention.
Refactors HandlerManager.HandlerRegistry into a new public class,
SimpleEventBus. MultiFire, default source stamping, and event
recycling are left as features of HandlerManager. HandlerManager no
longer implements EventBus interface, in the interest of less
confusing API for EventBus users.
Note the new static register methods on our event types.
It seems better to keep clients from having to know about
our TYPE constants. This is also the only way to provide
foolproof type safe registration for the parameterized
proxy change events.
Review at http://gwt-code-reviews.appspot.com/841804
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8756 8db76d5a-ed1c-0410-87a9-c151d255dfc7
50 files changed