Hi,
I am trying to add click event to one of the widgets that use gwt-connector. Here is the code:
public class Diagrams extends Diagram implements HasClickHandlers{
    public Diagrams(AbsolutePanel boundaryPanel) {
        super(boundaryPanel);
    }
    @Override
    public HandlerRegistration addClickHandler(ClickHandler handler) {
        return addDomHandler(handler, ClickEvent.getType());
    }
    @Override
    public void fireEvent(GwtEvent<?> event) {
    }    
}
Here Diagram is a gwt-connector class. Here is the link to the Diagram class and also link to GWT-Connector.
Question:
- Am i doing anything wrong in the code while adding the clickhandler?
- I am getting error saying that addDomHandler is undefined for the type Diagrams. are there limitations for adding click handlers?
Any input will be of great help. Thank you.