JAL-690 JAL-1503 update file types/extensions in Jalview file browser
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 3 Jun 2014 15:25:24 +0000 (16:25 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 3 Jun 2014 15:25:24 +0000 (16:25 +0100)
src/jalview/io/JalviewFileView.java

index 0dcc7c2..03d7c59 100755 (executable)
@@ -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)