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);
}