git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-629 refactoring TFType. Remove i18n identification of annotation.
[jalview.git]
/
src
/
jalview
/
structure
/
StructureImportSettings.java
diff --git
a/src/jalview/structure/StructureImportSettings.java
b/src/jalview/structure/StructureImportSettings.java
index
cbd59b1
..
597338e
100644
(file)
--- a/
src/jalview/structure/StructureImportSettings.java
+++ b/
src/jalview/structure/StructureImportSettings.java
@@
-59,6
+59,11
@@
public class StructureImportSettings
JMOL_PARSER, JALVIEW_PARSER
}
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
/**
* 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 StructureParser defaultPDBFileParser = StructureParser.JMOL_PARSER;
+ private static TFType temperatureFactorType;
+
public static void addSettings(boolean addAlignmentAnnotations,
boolean processSecStr, boolean externalSecStr)
{
public static void addSettings(boolean addAlignmentAnnotations,
boolean processSecStr, boolean externalSecStr)
{
@@
-85,6
+92,11
@@
public class StructureImportSettings
return visibleChainAnnotation;
}
return visibleChainAnnotation;
}
+ public static void setTemperatureFactorType(TFType t)
+ {
+ StructureImportSettings.temperatureFactorType = t;
+ }
+
public static void setVisibleChainAnnotation(
boolean visibleChainAnnotation)
{
public static void setVisibleChainAnnotation(
boolean visibleChainAnnotation)
{
@@
-152,4
+164,9
@@
public class StructureImportSettings
.valueOf(defaultPDBFileParser.toUpperCase(Locale.ROOT));
}
.valueOf(defaultPDBFileParser.toUpperCase(Locale.ROOT));
}
+ public static TFType getTemperatureFactorType()
+ {
+ return temperatureFactorType;
+ }
+
}
}