return extJSDoc.getTabComboBox();
}
public void itemStateChanged(ItemEvent e)
{
TabBase tab = (TabBase)e.getItem();
Element tabPanelElem = extJSDoc.getTabPanelElement();
int state = e.getStateChange();
boolean selected = (state == ItemEvent.SELECTED);
if (selected)
{
DocumentFragment frag = extJSDoc.loadDocumentFragment(tab.getFragmentName());
tabPanelElem.appendChild(frag);
tab.render();
}
else
{
tab.remove();
ItsNatDOMUtil.removeAllChildren(tabPanelElem);
}
}