if (parentPage.equals(QUERY_PAGE)) {
History.newItem(QUERY_PAGE);
presenter = new QueryPresenter(rpcService, eventBus, new QueryView(), manQuery);
} else if (parentPage.equals(COMPOSITE_PAGE)) {
History.newItem(COMPOSITE_PAGE);
presenter = new CompositePresenter(rpcService, eventBus, new CompositeView(), manQuery);
} else if (parentPage.equals(VARANNOT_PAGE)){
History.newItem(VARANNOT_PAGE);
presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), manQuery, variableSearch);
}
presenter.go(container);