Beispiel #1
0
 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());
     }
   }
 }
Beispiel #2
0
 private void showPageAndEntity() {
   showPageAndEntity(historyToken.getPage(), historyToken.getEntityId());
 }