use of edu.stanford.bmir.protege.web.client.place.WebProtegeActivityManager in project webprotege by protegeproject.
the class WebProtege method buildUI.
private void buildUI() {
BUNDLE.laf().ensureInjected();
BUNDLE.toolbar().ensureInjected();
BUNDLE.login().ensureInjected();
BUNDLE.style().ensureInjected();
BUNDLE.buttons().ensureInjected();
BUNDLE.discussion().ensureInjected();
BUNDLE.menu().ensureInjected();
BUNDLE.settings().ensureInjected();
BUNDLE.valueList().ensureInjected();
BUNDLE.tags().ensureInjected();
WidgetMapClientBundle.BUNDLE.style().ensureInjected();
ApplicationPresenter applicationPresenter = WebProtegeClientInjector.get().getApplicationPresenter();
applicationPresenter.start();
ApplicationView applicationView = applicationPresenter.getApplicationView();
RootLayoutPanel.get().add(applicationView);
WebProtegeActivityManager activityManager = WebProtegeClientInjector.get().getActivityManager();
activityManager.setDisplay(applicationView);
PlaceHistoryHandler placeHistoryHandler = WebProtegeClientInjector.get().getPlaceHistoryHandler();
placeHistoryHandler.handleCurrentHistory();
}
Aggregations