From 4d4e95690af1676f81cc520ba7618c3e69ba99ba Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Thu, 8 Dec 2022 17:08:49 +0000 Subject: [PATCH] JAL-629 stray code deleted --- src/jalview/bin/Commands.java | 19 ------------------- 1 file changed, 19 deletions(-) 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")); - } - } } -- 1.7.10.2