A more complete implementation of the event handlers has been added to
the gwt-incubator
gen2.event 
package<http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/trunk/src/com/google/gwt/gen2/event>.


The next step is to declare the design final, take the code from prototype
to production and submit it to GWT trunk for inclusion in GWT 1.6, so this
may be the last time any of you get a chance to holler if you don't like the
system.   The up-to-date design doc is
here.<http://code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEventSystem?ts=1222099520&updated=ProposedEventSystem>

For those of you who have been following the discussion already, the main
changes are summarized below. Note, the design doc contains the actual
design, this list is only for the convenience of those who have been closely
following this thread:

   1. Added a default Widget.onBrowserEvent
   2. subscribeTo mechanism replaced by addAndSinkHandler mechanism
   3. For each event type(ClickEvent used as an example)
      - ClickEvent.Source --> HasClickEvents
      - ClickEvent.fireEvent(Handler) --> ClickEvent.KEY.fire(Event,Handler)




-- 
"There are only 10 types of people in the world: Those who understand
binary, and those who don't"

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to