JAL-629 refactoring TFType. Remove i18n identification of annotation.
[jalview.git] / src / jalview / structure / StructureImportSettings.java
index cbd59b1..597338e 100644 (file)
@@ -59,6 +59,11 @@ public class StructureImportSettings
     JMOL_PARSER, JALVIEW_PARSER
   }
 
+  public static enum TFType
+  {
+    DEFAULT, PLDDT, DOSE;
+  }
+
   /**
    * Determines the default file format for structure files to be downloaded
    * from the PDB sequence fetcher. Possible options include: PDB|mmCIF
@@ -71,6 +76,8 @@ public class StructureImportSettings
    */
   private static StructureParser defaultPDBFileParser = StructureParser.JMOL_PARSER;
 
+  private static TFType temperatureFactorType;
+
   public static void addSettings(boolean addAlignmentAnnotations,
           boolean processSecStr, boolean externalSecStr)
   {
@@ -85,6 +92,11 @@ public class StructureImportSettings
     return visibleChainAnnotation;
   }
 
+  public static void setTemperatureFactorType(TFType t)
+  {
+    StructureImportSettings.temperatureFactorType = t;
+  }
+
   public static void setVisibleChainAnnotation(
           boolean visibleChainAnnotation)
   {
@@ -152,4 +164,9 @@ public class StructureImportSettings
             .valueOf(defaultPDBFileParser.toUpperCase(Locale.ROOT));
   }
 
+  public static TFType getTemperatureFactorType()
+  {
+    return temperatureFactorType;
+  }
+
 }