I have following problem.
I'm trying to export the HandlerRegistration interface. Since it is GWT's internal interface, it can be exported only by using ExportOverlay.
I have class looks like this:
@Export
@ExportPackage("_internal")
public class JsHandlerRegistration implements ExportOverlay<HandlerRegistration> {
@Export
public JsHandlerRegistration() {
}
public void removeHandler() {
}
}
In the beginning it was just removeHandler(){} there. But, then, after going through various comments made on gwt-exporter, I realized that I probably need an empty (default) constructor annotated with @Export. OK, I added that then. But, still no luck and I'm getting the following exception:
Referencing method 'com.ericsson.itk.framework.client.javascriptapi.exporters.JsHandlerRegistrationExporterImpl.___create()': unable to resolve method
And, yes, really, there is no ___create method in the generated JsHandlerRegistrationExporterImpl class.
I'm not sure if the fact that HandlerRegistration is an interface causes a problem or what. All the examples found are overlaying classes, and not interfaces.
I'm using 2.4.0-M2-SNAPSHOT.
Thanks.