public void onEvent(Event event) throws Exception {
if (tabbox.getSelectedTab().getLabel() != tab.getLabel())
setSelectedTab(tab);
protectSheet.setChecked(getDesktopWorkbenchContext().getWorkbookCtrl().isSheetProtect());
MouseEvent evt = (MouseEvent)event;
sheetContextMenu.open(evt.getPageX(), evt.getPageY());
}});
tab.setParent(tabs);
if (seldIndex == tab.getIndex()) {
setSelectedTabDirectly(tab);
}