blob: 51dac20132f877187f4c6e5ec09c8378e6e6f0ea (
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 java.util.HashMap;
abstract class WidgetMap {
protected static HashMap<Class, WidgetInstantiator> instmap = new HashMap<Class, WidgetInstantiator>();
public Paintable instantiate(Class<? extends Paintable> classType) {
return instmap.get(classType).get();
}
public abstract Class<? extends Paintable> getImplementationByServerSideClassName(
String fullyqualifiedName);
public abstract Class<? extends Paintable>[] getDeferredLoadedWidgets();
public abstract void ensureInstantiator(Class<? extends Paintable> classType);
}
|