On 13 oct, 19:36, masterGaurav <[email protected]> wrote: > Hi, > > I am implementing Drag-n-Drop functionality in GWT, for which I need > to handle ondragstart and onselectstart events. > However, I could not find these two events in the > com.google.gwt.user.client.Event class. > > There are three parts to my posting: > - How can I handle these events without touching the existing code?
Events need some refactoring to be "extensible" (no longer depend on the Event constants and sinkEvents/unsinkEvents bitfield). It is possible to handle "new" events > - Is there any specific reason for not having these events? Time probably (to add them, with tests, etc.) and the fact that they're not supported by all browsers. > - How can I submit a patch to GWT, if applicable. It would be a > fairly simple and straight-forward code to implement. > I did look > athttp://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches > but failed to understand point #6. How can I "svn add" without > appropriate permissions. "svn add" works on your working copy; you only need permissions for the "svn commit" (which you'll replace by a "svn diff" and uploading the patch to gwt-code-reviews.appspot.com, or Rietveld's upload.py) > Any and advice is solicited :) I've written before (including in a Wave, with much details) about how events could be refactored. I started working on a patch earlier this summer but never finished it. If you want to contribute to such an effort rather than add new Event constants et al. I think Joel Webber (the G-man who'd commit the thing eventually) would be pleased to review it ;-) -- 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.
