in progress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Thu, 3 Nov 2011 05:41:41 +0000 (05:41 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Thu, 3 Nov 2011 05:41:41 +0000 (05:41 +0000)
forester/java/src/org/forester/archaeopteryx/AptxUtil.java

index ca34d18..21a4ace 100644 (file)
@@ -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();