Changeset 7211 for branches


Ignore:
Timestamp:
11/16/10 13:16:23 (10 years ago)
Author:
melissa
Message:

Fixed FileFilter construction method so that it unwraps WriterWrappers. Closes #598.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/components/bio-formats/src/loci/formats/gui/GUITools.java

    r7007 r7211  
    3838import loci.formats.ImageWriter; 
    3939import loci.formats.ReaderWrapper; 
     40import loci.formats.WriterWrapper; 
    4041 
    4142/** 
     
    7273      else if (handler instanceof FileStitcher) { 
    7374        handler = ((FileStitcher) handler).getReader(); 
     75      } 
     76      else if (handler instanceof WriterWrapper) { 
     77        handler = ((WriterWrapper) handler).getWriter(); 
    7478      } 
    7579      else break; 
Note: See TracChangeset for help on using the changeset viewer.