public void onValueChange(ValueChangeEvent<String> event) {
String token = event.getValue();
if (token != null) {
Presenter presenter = null;
if (token.equals("ricordoapp")) {
presenter = new RicordoMainPresenter(rpcService, eventBus, new RicordoMainView());
}
else if (token.equals(QUERY_PAGE)) {
presenter = new QueryPresenter(rpcService, eventBus, new QueryView());
}
if (presenter != null) {
presenter.go(container);
}
}
}