X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureImportSettings.java;h=597338ec7b82fb40ea367ae00d8d463ff57d2cfc;hb=34ce5193c8766085422c32544246d92f12d0c975;hp=cbd59b1f9e7d79d9f03adbf3da3a546f963fd3a1;hpb=a08e9842574394b84f2e79b060d55b6305afab33;p=jalview.git diff --git a/src/jalview/structure/StructureImportSettings.java b/src/jalview/structure/StructureImportSettings.java index cbd59b1..597338e 100644 --- a/src/jalview/structure/StructureImportSettings.java +++ b/src/jalview/structure/StructureImportSettings.java @@ -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; + } + }