Examples of TabSession


Examples of net.sourceforge.ztail.ui.tabs.TabSession

  public void closeCurrentTabReq() {
    closeTab(TabPanelManager.instance().getActiveTab().getSession());
  }
 
  public void closeOthersTabReq() {
    TabSession session = TabPanelManager.instance().getActiveTab().getSession();
   
    for (TabSession sess : TabSessionService.instance().getAll()) {
      if (sess.equals(session)) continue;
     
      closeTab(sess);
View Full Code Here

Examples of net.sourceforge.ztail.ui.tabs.TabSession

    BookmarkController.instance().saveBookmarkReq(
        TabPanelManager.instance().getActiveTab().getSession());
  }
 
  public void togglePauseReq() {
    TabSession sess = TabPanelManager.instance().getActiveTab().getSession();
    sess.togglePauseState();
    BaseManager.instance().updateMenu(BaseManager.MENU_REFRESH_PAUSE_STATE);
  }
View Full Code Here

Examples of net.sourceforge.ztail.ui.tabs.TabSession

   
    tab.clearText();
  }
 
  private void openTab(ReaderSession rSess) {
    final TabSession tSess = new TabSession();
   
    TabItem tabItem = TabPanelManager.instance().createTab();
   
    tabItem.setSession(tSess);
    tabItem.setCloseAction(new UXDefaultAction() {
      public void doAction() {
        closeTab(tSess);
      }
    });
   
    tSess.bind(rSess);
    tSess.bind(tabItem);
   
    rSess.start();
    TabSessionService.instance().store(tSess);
    BaseManager.instance().updateMenu(BaseManager.MENU_REFRESH_CLOSE_ITEMS);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.