Sorry the MyTree class does implement the interface as well :

class MyTree extends Composite implements IsDnDContainer {
  ......
}


On Mar 22, 11:07 am, shahid <[email protected]> wrote:
> I have written a custom tree using GWT 2.0.4 and am trying to
> implement Drag and Drop for it. I have created an interface as
> follows :
>
> public interface IsDnDContainer extends MouseUpHandler,
> MouseMoveHandler {
>   ....
>
> }
>
> and then I have the tree as follows :
>
> class MyTree extends Composite {
>
>         public MyTree() {
>
>         }
>
>         @Override
>         public void onMouseMove(MouseMoveEvent event) {
>                 DraggableTreeAnchor draggedItem = (DraggableTreeAnchor)
> this.getDraggedObject();
>         }
>
> }
>
> but the event never fires.
>
> What am I missing here ?

-- 
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