summaries.add( summary );
}
final ExperimentSummaryModel tableModel = new ExperimentSummaryModel( columnIdentifiers, summaries );
final GenericBean bean = new GenericBean();
final String propertyName = org.mcisb.beacon.spottedexperiment.PropertyNames.EXPERIMENT_ID;
final String title = ResourceBundle.getBundle( "org.mcisb.beacon.ui.pedro.db.messages" ).getString( "ExperimentImportPlugin.title" ); //$NON-NLS-1$ //$NON-NLS-2$
final JDialog dialog = new JDialog();
dialog.setModal( true );
final JTable table = new JTable( tableModel );
table.setRowSorter( new TableRowSorter( tableModel ) );
table.setSelectionMode( ListSelectionModel.SINGLE_SELECTION );
table.getColumnModel().getColumn(0).setMinWidth(0);
table.getColumnModel().getColumn(0).setMaxWidth(0);
table.getColumnModel().getColumn(0).setPreferredWidth(0);
new TableApp( dialog, title, new TablePanel( title, table, columnIdentifiers.indexOf( "id" ), false ), bean, propertyName ).show(); //$NON-NLS-1$
return (String)CollectionUtils.getFirst( (Collection)bean.getProperty( propertyName ) );
}