X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Fannotations%2FAnnotationRowBuilder.java;h=2dec59c2db8a2f89c667274add4a9d842b474285;hb=85299bc2db43c8b108169661ebc1c4d9b2d3d2e5;hp=c9b8f180ec88bc2cdeaf6c7034c7bec91dad16d9;hpb=80b889f0cca49103e1b20ed806755a0719789906;p=jalview.git diff --git a/src/jalview/datamodel/annotations/AnnotationRowBuilder.java b/src/jalview/datamodel/annotations/AnnotationRowBuilder.java index c9b8f18..2dec59c 100644 --- a/src/jalview/datamodel/annotations/AnnotationRowBuilder.java +++ b/src/jalview/datamodel/annotations/AnnotationRowBuilder.java @@ -1,7 +1,26 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.datamodel.annotations; import jalview.datamodel.Annotation; -import jalview.structure.StructureImportSettings; import jalview.structure.StructureImportSettings.TFType; public class AnnotationRowBuilder @@ -18,14 +37,15 @@ public class AnnotationRowBuilder /** * the type of temperature factor plot (if it is one) */ - private StructureImportSettings.TFType tfType = StructureImportSettings.TFType.DEFAULT; + // private TFType tfType = TFType.DEFAULT; + private TFType tfType = null; - public void setTFType(StructureImportSettings.TFType t) + public void setTFType(TFType t) { tfType = t; } - public StructureImportSettings.TFType getTFType() + public TFType getTFType() { return tfType; } @@ -97,8 +117,7 @@ public class AnnotationRowBuilder name = string; } - public AnnotationRowBuilder(String name, float min, float max, - StructureImportSettings.TFType tft) + public AnnotationRowBuilder(String name, float min, float max, TFType tft) { this(name, min, max); setTFType(tft);