From: cmzmasek@gmail.com Date: Thu, 3 Nov 2011 05:41:41 +0000 (+0000) Subject: in progress X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=2c2737643b601a33ec1b2854ce29cdd5630808df;p=jalview.git in progress --- diff --git a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java index ca34d18..21a4ace 100644 --- a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java +++ b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java @@ -122,18 +122,18 @@ public final class AptxUtil { return false; } - public static void writePhylogenyToGraphicsFileNonInteractive( final File intree, - final File outfile, - final int width, - final int height, - final GraphicsExportType type, - final Configuration config ) throws IOException { + public static void writePhylogenyToGraphicsFile( final File intree, + final File outfile, + final int width, + final int height, + final GraphicsExportType type, + final Configuration config ) throws IOException { final PhylogenyParser parser = ParserUtils.createParserDependingOnFileType( intree, true ); Phylogeny[] phys = null; phys = PhylogenyMethods.readPhylogenies( parser, intree ); final MainFrameApplication mf = MainFrameApplication.createInstance( phys, config ); - AptxUtil.writePhylogenyToGraphicsFile( outfile, width, height, mf.getMainPanel().getCurrentTreePanel(), mf - .getMainPanel().getControlPanel(), type, mf.getOptions() ); + AptxUtil.writePhylogenyToGraphicsFileNonInteractive( outfile, width, height, mf.getMainPanel() + .getCurrentTreePanel(), mf.getMainPanel().getControlPanel(), type, mf.getOptions() ); mf.end(); } @@ -930,13 +930,13 @@ public final class AptxUtil { return msg; } - public final static void writePhylogenyToGraphicsFile( final File outfile, - final int width, - final int height, - final TreePanel tree_panel, - final ControlPanel ac, - final GraphicsExportType type, - final Options options ) throws IOException { + public final static void writePhylogenyToGraphicsFileNonInteractive( final File outfile, + final int width, + final int height, + final TreePanel tree_panel, + final ControlPanel ac, + final GraphicsExportType type, + final Options options ) throws IOException { tree_panel.setParametersForPainting( width, height, true ); tree_panel.resetPreferredSize(); tree_panel.repaint();