JAL-629 add widgets to StructureChooser for tempfac choice and pae matrix file
[jalview.git] / src / jalview / structure / StructureImportSettings.java
index 597338e..a50101a 100644 (file)
@@ -24,6 +24,7 @@ import java.util.Locale;
 
 import jalview.datamodel.PDBEntry;
 import jalview.datamodel.PDBEntry.Type;
+import jalview.util.MessageManager;
 
 /**
  * bean holding settings for structure IO. TODO: tests for validation of values
@@ -62,6 +63,13 @@ public class StructureImportSettings
   public static enum TFType
   {
     DEFAULT, PLDDT, DOSE;
+
+    @Override
+    public String toString()
+    {
+      return MessageManager.getString(
+              "label.tftype_" + this.name().toLowerCase(Locale.ROOT));
+    }
   }
 
   /**