Thursday, January 16, 2014

Re: Error repainting a FlowPanel on an onDrop event widget

I have the solution.
I put the method that repaint de FlowPanel in the onDragStop event.

addDragStopHandler(new DragStopEvent.DragStopEventHandler() {
           
            @Override
            public void onDragStop(DragStopEvent event) {
               
                GWT.log("AreesPanel#onDragStop");
                DRGUtils.loadArbre(eventBus);
            }
        });

Thanks,

David Martínez

El dijous 16 de gener de 2014 11:50:57 UTC+1, David Martínez va escriure:
The event onDragStop don't arrive to execute.

El dijous 16 de gener de 2014 11:45:51 UTC+1, David Martínez va escriure:
Hi,

Now I implemented the dragStart and dragStop in the DraggableWidget<DockPanel> but the error continue:

addDragStopHandler(new DragStopEvent.DragStopEventHandler() {
           
            @Override
            public void onDragStop(DragStopEvent event) {
               
                GWT.log("AreesPanel#onDragStop");
            }
        });
       
        addDragStartHandler(new DragStartEvent.DragStartEventHandler() {
           
            @Override
            public void onDragStart(DragStartEvent event) {
               
                GWT.log("AreesPanel#onDragStart");
            }
        });

Any solution?

David Martínez

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate