From f4a19df4f13209eeff28e1c2ad1a770310dc3b98 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 3 Jun 2014 16:25:24 +0100 Subject: [PATCH] JAL-690 JAL-1503 update file types/extensions in Jalview file browser --- src/jalview/io/JalviewFileView.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/jalview/io/JalviewFileView.java b/src/jalview/io/JalviewFileView.java index 0dcc7c2..03d7c59 100755 --- a/src/jalview/io/JalviewFileView.java +++ b/src/jalview/io/JalviewFileView.java @@ -30,15 +30,23 @@ public class JalviewFileView extends FileView static { + // TODO: these names should come from the FormatAdapter lists for readable/writable extensions + alignSuffix.put("amsa", "AMSA file"); alignSuffix.put("fasta", "Fasta file"); alignSuffix.put("fa", "Fasta file"); alignSuffix.put("fastq", "Fasta file"); + alignSuffix.put("mfa", "Fasta file"); alignSuffix.put("blc", "BLC file"); alignSuffix.put("msf", "MSF file"); alignSuffix.put("pfam", "PFAM file"); alignSuffix.put("aln", "Clustal file"); alignSuffix.put("pir", "PIR file"); - alignSuffix.put("jar", "Jalview file"); + alignSuffix.put("jar", "Jalview Project file (old)"); + alignSuffix.put("jvp", "Jalview Project file"); + alignSuffix.put("amsa", "AMSA file"); + alignSuffix.put("sto", "Stockholm File"); + alignSuffix.put("stk", "Stockholm File"); + alignSuffix.put("sto", "Stockholm File"); } public String getTypeDescription(File f) -- 1.7.10.2