On Feb 7, 6:47 pm, "[email protected]" <[email protected]> wrote:
> I am trying to implement support for the iPhone touch events in GWT.

(as many others)

> I've already done it with the old event listener mechanism (not very
> cleanly, but it's reasonable), and now I'm trying to update my library
> for GWT 2.0 and the new event handler system. 
> Seehttp://www.maryanovsky.com/sasha/maps/
>
> My question is whether it is at all possible to *cleanly* add support
> for new event types to GWT, and if so, how would I do that? Right now
> I seem to be running into the issue of DOM.eventGetTypeInt(typeName).

If you want it to do it "cleanly", I'd suggest not relying on the
"magic" of addDomHandler but rather just register handlers in widgets
using addHandler and "sinking" the native handlers yourself (in the
case of those events, you know you're in WebKit)

> On a related note - is it wise for the sunk events to be represented
> by an int bitfield? What happens when there are more than 32 event
> types you want to support?

See 
http://groups.google.com/group/google-web-toolkit-contributors/t/9ce04897a413eb78

> Would love to get a response from a GWT team engineer,

Ask on the GWT-Contributors list then ;-)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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