예제 #1
0
 protected void switchView(AbstractPage page, String mainMenuActive, String subMenuActive) {
   currentPage = page;
   mainWindow.setMainNavigation(mainMenuActive);
   mainWindow.switchView(page);
   if (subMenuActive != null && page.getToolBar() != null) {
     page.getToolBar()
         .setActiveEntry(
             subMenuActive); // Must be set AFTER adding page to window (toolbar will be created in
                             // atach())
   }
 }
예제 #2
0
 public void showPopupWindow(Window window) {
   mainWindow.addWindow(window);
 }
예제 #3
0
 public void showDefaultPage() {
   mainWindow.showDefaultContent();
   showInboxPage();
 }
예제 #4
0
 public void showLoginPage() {
   if (!mainWindow.isShowingLoginPage()) {
     mainWindow.showLoginPage();
   }
 }