From: tcofoegbu Date: Mon, 15 Jun 2015 09:31:04 +0000 (+0100) Subject: clean up X-Git-Tag: Release_2_10_0~609^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b7940b625391851ce4c07839e0db161b66c9091f;p=jalview.git clean up --- diff --git a/src/jalview/io/JSONFile.java b/src/jalview/io/JSONFile.java index 39d713d..ff129a4 100644 --- a/src/jalview/io/JSONFile.java +++ b/src/jalview/io/JSONFile.java @@ -38,7 +38,6 @@ import jalview.api.ComplexAlignFile; import jalview.api.FeatureRenderer; import jalview.api.FeaturesDisplayedI; import jalview.datamodel.AlignmentAnnotation; -import jalview.datamodel.AlignmentI; import jalview.datamodel.Annotation; import jalview.datamodel.ColumnSelection; import jalview.datamodel.HiddenSequences; @@ -46,7 +45,6 @@ import jalview.datamodel.Sequence; import jalview.datamodel.SequenceFeature; import jalview.datamodel.SequenceGroup; import jalview.datamodel.SequenceI; -import jalview.gui.AlignViewport; import jalview.json.binding.v1.AlignmentAnnotationPojo; import jalview.json.binding.v1.AlignmentPojo; import jalview.json.binding.v1.AlignmentPojo.JalviewBioJsColorSchemeMapper; @@ -592,14 +590,6 @@ public class JSONFile extends AlignFile implements ComplexAlignFile return jalviewColor; } - public AlignViewportI getViewport(AlignmentI al) - { - AlignViewportI viewport = new AlignViewport(al, getColumnSelection()); - viewport.setGlobalColourScheme(getColourScheme()); - viewport.setShowSequenceFeatures(isShowSeqFeatures()); - return viewport; - } - public String getGlobalColorScheme() { return globalColorScheme;