Changeset 3243


Ignore:
Timestamp:
10/08/07 12:27:44 (12 years ago)
Author:
curtis
Message:

Echo status message events to the ImageJ status bar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/Importer.java

    r3217 r3243  
    115115 
    116116    IJ.showStatus(""); 
     117    r.addStatusListener(new StatusEchoer()); 
    117118 
    118119    // -- Step 3: get parameter values -- 
     
    915916  } 
    916917 
     918  // -- Helper classes -- 
     919 
     920  /** Used to echo status messages to the ImageJ status bar. */ 
     921  private static class StatusEchoer implements StatusListener { 
     922    public void statusUpdated(StatusEvent e) { 
     923      IJ.showStatus(e.getStatusMessage()); 
     924    } 
     925  } 
     926 
    917927} 
Note: See TracChangeset for help on using the changeset viewer.