this.tabLayout.addSelectionHandler(new SelectionHandler<Integer>() {
@Override
public void onSelection(SelectionEvent<Integer> event) {
LogFilePanel panel = selectedLogFilePanel();
if (panel != null) {
circuit.dispatch(new ActivateLogFile(panel.getName()));
panel.resizeEditor();
}
}
});