JAL-2321 allow JmolParser to be configured before parsing data
authorJim Procter <jprocter@issues.jalview.org>
Mon, 7 May 2018 16:35:18 +0000 (17:35 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 7 May 2018 16:35:18 +0000 (17:35 +0100)
src/jalview/ext/jmol/JmolParser.java

index dc3d0ee..975846d 100644 (file)
@@ -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
   {