blob: 749a8343c85cb07f179047b36456c5d063ba6625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
@VaadinApache2LicenseForJavaFiles@
*/
package com.vaadin.terminal.gwt.client;
import com.google.gwt.core.client.RunAsyncCallback;
/** A helper class used by WidgetMap implementation. Used by the generated code. */
abstract class WidgetLoader implements RunAsyncCallback {
@Override
public void onFailure(Throwable reason) {
ApplicationConfiguration.endDependencyLoading();
}
@Override
public void onSuccess() {
addInstantiator();
ApplicationConfiguration.endDependencyLoading();
}
abstract void addInstantiator();
}
|