Saturday, January 28, 2017

Re: Drag and Drop in GWT

I'm not aware of any GWT wrappers but the JavaScript is pretty simple (so easy if you are happy with js interop). 

https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API

gwt_dnd is pretty good but even if you have to do the js interop yourself I think the complexity will be similar.

If you don't find off the shelf wrappers I'd be up for helping to come up with something. We have a large gwt_dnd based app that I'd like to move.

On Friday, January 27, 2017 at 11:40:17 PM UTC, Asier wrote:

Hi.

I'm very interested in this approach, but I don't know how to do this. Could you point me to some example application?

Regards.

El 27/01/2017 11:51, salk31 <sal...@gmail.com> escribió:
I'd suggest at least looking into using "native" drag and drop support. I imagine it is much lighter and it supports dragging between windows etc... I think gwt-dnd was created before this was available.

On Monday, January 23, 2017 at 4:54:29 PM UTC, Ani wrote:
HI
 I am working on a Diagram editor with GWT. The requirement is to be able to drag from a palette and draw and connect different shapes.
So using a Canvas component for the drawing part.
 Does GWT have an in built Drag and Drop Framework?

Any help is appreciated

Regards
Ani

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment