JAL-629 refactoring TFType. Remove i18n identification of annotation.
[jalview.git] / src / jalview / datamodel / AlignmentAnnotation.java
index 636088b..3f9c2d9 100755 (executable)
@@ -34,6 +34,7 @@ import java.util.Map.Entry;
 import jalview.analysis.Rna;
 import jalview.analysis.SecStrConsensus.SimpleBP;
 import jalview.analysis.WUSSParseException;
+import jalview.structure.StructureImportSettings;
 
 /**
  * DOCUMENT ME!
@@ -96,22 +97,17 @@ public class AlignmentAnnotation
    */
   private long invalidrnastruc = -2;
 
-  public static enum TFType
-  {
-    DEFAULT, PLDDT, DOSE;
-  }
-
   /**
    * the type of temperature factor plot (if it is one)
    */
-  private TFType tfType = TFType.DEFAULT;
+  private StructureImportSettings.TFType tfType = StructureImportSettings.TFType.DEFAULT;
 
-  public void setTFType(TFType t)
+  public void setTFType(StructureImportSettings.TFType t)
   {
     tfType = t;
   }
 
-  public TFType getTFType()
+  public StructureImportSettings.TFType getTFType()
   {
     return tfType;
   }