Package org.mcisb.util

Examples of org.mcisb.util.GenericBean


       
        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 ) );
    }
View Full Code Here


      {
        deselectedSpots.add( selectedSpots.get( i ) );
      }
     
      final SpotTableModel model = new SpotTableModel( rows, cols, selectedSpots );     
      new TableApp( dialog, "Spot Tracker", new TablePanel( "Order spots by tracking", new SpotTable( model, deselectedSpots, numberOfRecordings ), 0, true ), new GenericBean(), null ).show(); //$NON-NLS-1$ //$NON-NLS-2$
    }
View Full Code Here

   * @param node
   * @param experiment
   */
  public FileExporterApp( final JDialog dialog, final Component parent, final RecordModelFactory recordModelFactory, final NavigationTreeNode node, boolean experiment )
  {
    super( dialog, new GenericBean() );
    this.parent = parent;
    this.recordModelFactory = recordModelFactory;
    this.node = node;
    this.experiment = experiment;
    init( resourceBundle.getString( "FileExporterApp.title" ), resourceBundle.getString( "FileExporterApp.error" ), new ResourceFactory().getImageIcon( resourceBundle.getString( "FileExporterApp.icon" ) ).getImage() ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
View Full Code Here

TOP

Related Classes of org.mcisb.util.GenericBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.