From 718bd74aff29f5883486fc0ab8b54e1519ab51d0 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Sun, 26 Nov 2017 23:06:29 +0000 Subject: [PATCH] JAL-2847 needed methods made public --- forester/java/src/org/forester/archaeopteryx/AptxUtil.java | 2 +- forester/java/src/org/forester/archaeopteryx/ControlPanel.java | 4 ++-- forester/java/src/org/forester/archaeopteryx/MainFrame.java | 2 +- forester/java/src/org/forester/archaeopteryx/TreePanel.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java index 2f20136..a2cf351 100644 --- a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java +++ b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java @@ -845,7 +845,7 @@ public final class AptxUtil { } } - final static void lookAtSomeTreePropertiesForAptxControlSettings( final Phylogeny t, + public final static void lookAtSomeTreePropertiesForAptxControlSettings( final Phylogeny t, final ControlPanel cp, final Configuration configuration ) { if ( ( t != null ) && !t.isEmpty() ) { diff --git a/forester/java/src/org/forester/archaeopteryx/ControlPanel.java b/forester/java/src/org/forester/archaeopteryx/ControlPanel.java index a8bd500..ade8408 100644 --- a/forester/java/src/org/forester/archaeopteryx/ControlPanel.java +++ b/forester/java/src/org/forester/archaeopteryx/ControlPanel.java @@ -73,7 +73,7 @@ import org.forester.phylogeny.data.SequenceRelation.SEQUENCE_RELATION_TYPE; import org.forester.phylogeny.iterators.PhylogenyNodeIterator; import org.forester.util.ForesterUtil; -final class ControlPanel extends JPanel implements ActionListener { +public final class ControlPanel extends JPanel implements ActionListener { enum NodeClickAction { ADD_NEW_NODE, @@ -2079,7 +2079,7 @@ final class ControlPanel extends JPanel implements ActionListener { _click_to_combobox.setSelectedIndex( action ); } - void setColorBranches( final boolean color_branches ) { + public void setColorBranches( final boolean color_branches ) { _color_branches = color_branches; } diff --git a/forester/java/src/org/forester/archaeopteryx/MainFrame.java b/forester/java/src/org/forester/archaeopteryx/MainFrame.java index 95a42b8..e15becb 100644 --- a/forester/java/src/org/forester/archaeopteryx/MainFrame.java +++ b/forester/java/src/org/forester/archaeopteryx/MainFrame.java @@ -1129,7 +1129,7 @@ public abstract class MainFrame extends JInternalFrame implements ActionListener } } - void activateSaveAllIfNeeded() { + public void activateSaveAllIfNeeded() { if ( ( getMainPanel().getTabbedPane() != null ) && ( getMainPanel().getTabbedPane().getTabCount() > 1 ) ) { _save_all_item.setEnabled( true ); } diff --git a/forester/java/src/org/forester/archaeopteryx/TreePanel.java b/forester/java/src/org/forester/archaeopteryx/TreePanel.java index c1f5392..6321315 100644 --- a/forester/java/src/org/forester/archaeopteryx/TreePanel.java +++ b/forester/java/src/org/forester/archaeopteryx/TreePanel.java @@ -258,7 +258,7 @@ public final class TreePanel extends JPanel implements ActionListener, MouseWhee 2.0f }, 0f ); private static final double TWO_PI = 2 * Math.PI; - private final static int WIGGLE = 2; + private final static int WIGGLE = 3; private static final String SHOW_ONLY_THIS_CONF_TYPE = null; //TODO remove me HashMap _nodeid_dist_to_leaf = new HashMap(); final private Arc2D _arc = new Arc2D.Double(); -- 1.7.10.2