public void updateProteinProcessedCound( final int newCount, final String status ) { // update status setStatus( status ); // update current element and progress bar updateProteinProcessedCound( newCount ); }
public void updateProteinProcessedCound( final int newCount, final String status ) { // update status setStatus( status ); // update current element and progress bar updateProteinProcessedCound( newCount ); }
public void updateProteinProcessedCound( final int newCount, final String status ) { // update status setStatus( status ); // update current element and progress bar updateProteinProcessedCound( newCount ); }
/** * D E M O */ public void testIt( Monitor monitor ) { for ( int i = 0; i <= max; i++ ) { try { Thread.sleep( 3 ); } catch ( InterruptedException e ) { e.printStackTrace(); } monitor.updateProteinProcessedCound( i, "processing: " + i ); } monitor.setStatus( "Test finished." ); }
/** * D E M O */ public void testIt( Monitor monitor ) { for ( int i = 0; i <= max; i++ ) { try { Thread.sleep( 3 ); } catch ( InterruptedException e ) { e.printStackTrace(); } monitor.updateProteinProcessedCound( i, "processing: " + i ); } monitor.setStatus( "Test finished." ); }
/** * D E M O */ public void testIt( Monitor monitor ) { for ( int i = 0; i <= max; i++ ) { try { Thread.sleep( 3 ); } catch ( InterruptedException e ) { e.printStackTrace(); } monitor.updateProteinProcessedCound( i, "processing: " + i ); } monitor.setStatus( "Test finished." ); }
if ( displayProgressBar ) { monitor = new Monitor( keys.size(), "Protein update" ); monitor.setStatus( "Waiting for the checker to start..." ); monitor.show(); taxid = proteinInteractor.getOrganism().getTaxId(); monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" ); if ( displayProgressBar ) { monitor = new Monitor( interactions.size(), "Interaction checking" ); monitor.setStatus( "Waiting for the checker to start..." ); monitor.show(); name = "no shortlabel specified"; monitor.setStatus( "Checking " + name ); monitor.updateProteinProcessedCound( ++current ); monitor.setStatus( "finished..." ); monitor.hide();
if ( displayProgressBar ) { monitor = new Monitor( keys.size(), "Protein update" ); monitor.setStatus( "Waiting for the checker to start..." ); monitor.show(); taxid = proteinInteractor.getOrganism().getTaxId(); monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" ); if ( displayProgressBar ) { monitor = new Monitor( interactions.size(), "Interaction checking" ); monitor.setStatus( "Waiting for the checker to start..." ); monitor.show(); name = "no shortlabel specified"; monitor.setStatus( "Checking " + name ); monitor.updateProteinProcessedCound( ++current ); monitor.setStatus( "finished..." ); monitor.hide();
if ( displayProgressBar ) { monitor = new Monitor( keys.size(), "Protein update" ); monitor.setStatus( "Waiting for the checker to start..." ); monitor.show(); taxid = proteinInteractor.getOrganism().getTaxId(); monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" ); if ( displayProgressBar ) { monitor = new Monitor( interactions.size(), "Interaction checking" ); monitor.setStatus( "Waiting for the checker to start..." ); monitor.show(); name = "no shortlabel specified"; monitor.setStatus( "Checking " + name ); monitor.updateProteinProcessedCound( ++current ); monitor.setStatus( "finished..." ); monitor.hide();
monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );
monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );
monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );