From c208aa6850c2f9c1d8e92b587e82bac322e97511 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 7 May 2018 17:35:18 +0100 Subject: [PATCH] JAL-2321 allow JmolParser to be configured before parsing data --- src/jalview/ext/jmol/JmolParser.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/jalview/ext/jmol/JmolParser.java b/src/jalview/ext/jmol/JmolParser.java index dc3d0ee..975846d 100644 --- a/src/jalview/ext/jmol/JmolParser.java +++ b/src/jalview/ext/jmol/JmolParser.java @@ -28,7 +28,6 @@ import jalview.io.DataSourceType; import jalview.io.FileParse; import jalview.io.StructureFile; import jalview.schemes.ResidueProperties; -import jalview.structure.StructureImportSettings; import jalview.util.Format; import jalview.util.MessageManager; @@ -60,6 +59,12 @@ public class JmolParser extends StructureFile implements JmolStatusListener { Viewer viewer = null; + public JmolParser(boolean immediate, String inFile, + DataSourceType sourceType) throws IOException + { + super(immediate, inFile, sourceType); + } + public JmolParser(String inFile, DataSourceType sourceType) throws IOException { -- 1.7.10.2