{
JalviewFileChooser chooser = new JalviewFileChooser(jalview.bin.Cache.
getProperty( "LAST_DIRECTORY"),
- new String[]
- { "fa, fasta, fastq", "aln", "pfam", "msf", "pir", "blc","amsa","jar" },
- new String[]
- { "Fasta", "Clustal", "PFAM", "MSF", "PIR", "BLC", "AMSA", "Jalview" },
+ jalview.io.AppletFormatAdapter.WRITABLE_EXTENSIONS,
+ jalview.io.AppletFormatAdapter.WRITABLE_FNAMES,
currentFileFormat,
false);
String output = f.formatSequences(
format,
(Alignment) viewport.alignment, // class cast exceptions will occur in the distant future
- omitHidden, f.getCacheSuffixDefault(format));
+ omitHidden, f.getCacheSuffixDefault(format), viewport.colSel);
if (output == null)
{
cap.setText(new FormatAdapter().formatSequences(
e.getActionCommand(),
viewport.alignment,
- omitHidden));
+ omitHidden, viewport.colSel));
}
/**