Пример #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();
   }
 }