use of org.vaadin.marcus.util.PageTitleUpdater in project vaadin-tips by marcushellberg.
the class AwesomeApp method setupNavigator.
private void setupNavigator() {
navigator = new Navigator(DemoUI.getCurrent(), content);
registerViews();
// Add view change listeners so we can do things like select the correct menu item and update the page title
navigator.addViewChangeListener(navBar);
navigator.addViewChangeListener(new PageTitleUpdater());
navigator.navigateTo(navigator.getState());
}
Aggregations