开发者

gwt : drag n drop tree

开发者 https://www.devze.com 2023-03-06 13:08 出处:网络
I need a tree 开发者_JAVA百科drag n drop component...but this component does not appear in gwt samples...

I need a tree 开发者_JAVA百科drag n drop component...but this component does not appear in gwt samples...

I do not understand if Vaadin, under LGPL licence mean that I will need to pay for my 'commercial' application ?

Can I develop my own drag n drop tree component in GWT (is it complex) ?

Tkx


In GWT 2.4 there will be drag and drop support I think. With this new feature you can add drag and drop support to almost every widget. Right now 2.4 is in bèta. At Google I/O there was a sessions about GWT and drag and drop. You can watch it here: http://www.youtube.com/watch?v=KEkR1ox_K10


Take a look a the dnd plugin of gwtquery. http://code.google.com/p/gwtquery-plugins/wiki/DragAndDropPluginForGWTDeveloppers You will found a example with a dnd tree.


You can use gwt-dnd to implement drag-and-drop in ordinary gwt Tree. This should be easy, all you need is provided by gwt-dnd and gwt Tree, just wire things together and add some logic (what can be dragged, how should it look, where can it be dropped and what happens then and so on).

0

精彩评论

暂无评论...
验证码 换一张
取 消