143144145146147148149150151
} @Override public void closeAllTabsRequested() { for (int i=model.getTabModels().size()-1; i>=0; i--) { TabModel tm = model.getTabModels().get(i); if (tm.closable) model.remove(tm.component); } }
151152153154155156157158159
} @Override public void closeOtherTabsRequested(TabModel tm) { for (int i=model.getTabModels().size()-1; i>=0; i--) { TabModel tm2 = model.getTabModels().get(i); if (tm2.closable && tm2 != tm) model.remove(tm2.component); } }