//Don't use selected one. Title may change by context menu, when other tab is selected
settings.getTabArray().get(tabIndex).setTabTitle(event.getNewTitle());
LocalStorageHelper.storeSettings(settings);
}
});
addCloseClickHandler(new CloseClickHandler() {
@Override
public void onCloseClick(TabCloseClickEvent event) {
closePreProcess((QueryTab)event.getTab(), true);
closePostProcess((QueryTab)event.getTab());
view.getHistory().setHistoryCheckpoint();