From: Ben Soares Date: Thu, 8 Dec 2022 17:08:49 +0000 (+0000) Subject: JAL-629 stray code deleted X-Git-Tag: Release_2_11_4_0~508 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4d4e95690af1676f81cc520ba7618c3e69ba99ba;p=jalview.git JAL-629 stray code deleted --- diff --git a/src/jalview/bin/Commands.java b/src/jalview/bin/Commands.java index f01b2b3..4239ec7 100644 --- a/src/jalview/bin/Commands.java +++ b/src/jalview/bin/Commands.java @@ -16,7 +16,6 @@ import jalview.bin.ArgParser.Arg; import jalview.bin.ArgParser.ArgValues; import jalview.datamodel.AlignmentAnnotation; import jalview.gui.AlignFrame; -import jalview.gui.AlignViewport; import jalview.gui.Desktop; import jalview.io.AppletFormatAdapter; import jalview.io.DataSourceType; @@ -335,22 +334,4 @@ public class Commands } } } - - private void testMethod() - { - Desktop Jalview = Desktop.instance; - jalview.bin.Cache.setProperty("SVG_RENDERING", "Text"); - for (AlignFrame af : Jalview.getAlignFrames()) - { - String title = af.getTitle(); - System.out.println("Title: " + af.getTitle()); - AlignViewport view = af.getCurrentView(); - view.setShowText(false); - view.setShowAnnotation(false); - af.deselectAllSequenceMenuItem_actionPerformed(null); - af.repaint(); - af.createPNG(new File(title + ".png")); - af.createSVG(new File(title + ".svg")); - } - } }