Widget selectTabContent = null;
if ( getTab( getSelectedTabIndex() ) != null ) {
selectTabContent = getTab( getSelectedTabIndex() ).getContent();
}
List<FileItem> selectedItems = SolutionBrowserPanel.getInstance().getFilesListPanel().getSelectedFileItems();
EventBusUtil.EVENT_BUS.fireEvent( new SolutionBrowserSelectEvent( selectTabContent, selectedItems ) );
Window.setTitle( Messages.getString( "productName" ) + " - " + selectedTab.getLabelText() ); //$NON-NLS-1$ //$NON-NLS-2$
// first turn off all tabs that should be
for ( int i = 0; i < getTabCount(); i++ ) {