DOM.sinkEvents((com.google.gwt.user.client.Element) element, eventsToSink);
}
public static <T extends EventHandler> Widget setupPlainElementEventHandler(Composite component, Element element,
T handler, com.google.gwt.event.dom.client.DomEvent.Type<T> type) {
ElementWrapperWidget widget = ElementWrapperWidget.getWidget(element);
widget.addDomHandler(handler, type);
// TODO add to Composite as child.
return widget;
}