From 9f55824dd20f0ffcf10d4a751140198e910e5393 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 28 Jun 2018 16:48:06 +0100 Subject: [PATCH] JAL-3048 todo and JAL-3026 disable VCF support --- src/jalview/gui/AlignFrame.java | 1 + src/jalview/jbgui/GAlignFrame.java | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 2587866..a40044a 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -5633,6 +5633,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, @Override protected void loadVcf_actionPerformed() { + // TODO: JAL-3048 - No VCF support in JsJalview JalviewFileChooser chooser = new JalviewFileChooser( Cache.getProperty("LAST_DIRECTORY")); chooser.setFileView(new JalviewFileView()); diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 1cf482d..a64030b 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -1722,7 +1722,13 @@ public class GAlignFrame extends JInternalFrame fileMenu.add(exportAnnotations); fileMenu.add(loadTreeMenuItem); fileMenu.add(associatedData); - fileMenu.add(loadVcf); + /* + * No VCF import in Jalview-JS + * @j2sNative + */ + { + fileMenu.add(loadVcf); + } fileMenu.addSeparator(); fileMenu.add(closeMenuItem); -- 1.7.10.2