public void onProjectChanged(String projectId) { if (projectId == null) { showUserMode(historyToken.getPage()); } else { try { showProject(projectId, historyToken.getPage(), historyToken.getEntityId()); } catch (Exception ex) { log.error("Opening project failed:", projectId, ex); showUserMode(historyToken.getPage()); } } }
private void showPageAndEntity() { showPageAndEntity(historyToken.getPage(), historyToken.getEntityId()); }