code: private void showTab() {
  		if (parentTab != null) {
  			tab = parentTab.getTab(this);
  			if (tab != null) {
  				// FIXME: this should be added by the constructor or by the panel that adds this
  				// tab
  				// tab.getComponent().addStyleName("example-queries-tab");
  				tab.setEnabled(true);
  
  				if (!(parentTab.getSelectedTab() instanceof ResultViewPanel)) {
  					parentTab.setSelectedTab(tab);
  				}
  			}
  		}
  
  	}
docs: Shows the tab and put into the foreground, if no query is executed yet.