Hi! I have a DragAndDropWrapper with a DropHandler but need a ListenerClickEvent also…How could I? I tried putting several Listener but none are detected …
I tried the following and have not worked:
DragAndDropWrapper layoutWrapper=new DragAndDropWrapper();
layoutWrapper.addListener(new CustomComponent.Listener() {
public void componentEvent(Event event) {
System.out.println("CustomComponent");
}
});
layoutWrapper.addListener(new ComponentContainer.ComponentDetachListener() {
public void componentDetachedFromContainer(ComponentDetachEvent event) {
System.out.println("ComponentContainer");
}
});
layoutWrapper.addListener(new ComponentContainer.ComponentAttachListener() {
public void componentAttachedToContainer(ComponentAttachEvent event) {
System.out.println("Attach Listener");
}
});
Thanks!