use of com.vaadin.client.CustomScheduler in project flow by vaadin.
the class GwtPolymerModelTest method gwtSetUp.
@Override
protected void gwtSetUp() throws Exception {
super.gwtSetUp();
node = createNode();
modelNode = createAndAttachModelNode(MODEL_PROPERTY_NAME);
nextId = node.getId() + 1;
element = createHtmlElement();
initPolymer(element);
initScheduler(new CustomScheduler());
node.setDomNode(element);
}
use of com.vaadin.client.CustomScheduler in project flow by vaadin.
the class GwtAtmoshperePushConnectionTest method gwtSetUp.
@Override
protected void gwtSetUp() throws Exception {
super.gwtSetUp();
initScheduler(new CustomScheduler());
registry = new Registry() {
{
set(ConstantPool.class, new ConstantPool());
set(StateTree.class, new StateTree(this));
set(URIResolver.class, new URIResolver(this));
set(UILifecycle.class, new UILifecycle());
set(ApplicationConfiguration.class, new ApplicationConfiguration());
set(MessageHandler.class, new MessageHandler(this));
set(PushConfiguration.class, new PushConfiguration(this) {
@Override
public JsMap<String, String> getParameters() {
return JsCollections.map();
}
});
set(ConnectionStateHandler.class, new DefaultConnectionStateHandler(this));
}
};
}
Aggregations