Changeset 2841


Ignore:
Timestamp:
06/04/07 15:03:52 (13 years ago)
Author:
melissa
Message:

Don't manually register the metadata window with ImageJ's window manager.

File:
1 edited

Legend:

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

    r2834 r2841  
    324324        } 
    325325 
     326        // NB: no need to register this with WindowManager; TextWindows are 
     327        // automatically registered 
    326328        TextWindow tw = new TextWindow("Metadata - " + currentFile, 
    327329          "Key\tValue", sb.toString(), 400, 400); 
    328330        tw.setVisible(true); 
    329         WindowManager.addWindow(tw); 
    330331      } 
    331332 
     
    474475          IJ.showProgress(1); 
    475476 
    476           showStack(stackB, currentFile, store, cCount[i], zCount[i], 
    477             tCount[i], sizeZ[i], sizeC[i], sizeT[i], fi, r, fs, options); 
    478           showStack(stackS, currentFile, store, cCount[i], zCount[i], 
    479             tCount[i], sizeZ[i], sizeC[i], sizeT[i], fi, r, fs, options); 
    480           showStack(stackF, currentFile, store, cCount[i], zCount[i], 
    481             tCount[i], sizeZ[i], sizeC[i], sizeT[i], fi, r, fs, options); 
    482           showStack(stackO, currentFile, store, cCount[i], zCount[i], 
    483             tCount[i], sizeZ[i], sizeC[i], sizeT[i], fi, r, fs, options); 
     477          String seriesName = store.getImageName(new Integer(i)); 
     478 
     479          showStack(stackB, currentFile + " - " + seriesName, store,  
     480            cCount[i], zCount[i], tCount[i], sizeZ[i], sizeC[i], sizeT[i],  
     481            fi, r, fs, options); 
     482          showStack(stackS, currentFile + " - " + seriesName, store,  
     483            cCount[i], zCount[i], tCount[i], sizeZ[i], sizeC[i], sizeT[i],  
     484            fi, r, fs, options); 
     485          showStack(stackF, currentFile + " - " + seriesName, store,  
     486            cCount[i], zCount[i], tCount[i], sizeZ[i], sizeC[i], sizeT[i],  
     487            fi, r, fs, options); 
     488          showStack(stackO, currentFile + " - " + seriesName, store,  
     489            cCount[i], zCount[i], tCount[i], sizeZ[i], sizeC[i], sizeT[i],  
     490            fi, r, fs, options); 
    484491 
    485492          long endTime = System.currentTimeMillis(); 
Note: See TracChangeset for help on using the changeset viewer.