JAL-2847 needed methods made public
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Sun, 26 Nov 2017 23:06:29 +0000 (23:06 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Sun, 26 Nov 2017 23:06:29 +0000 (23:06 +0000)
forester/java/src/org/forester/archaeopteryx/AptxUtil.java
forester/java/src/org/forester/archaeopteryx/ControlPanel.java
forester/java/src/org/forester/archaeopteryx/MainFrame.java
forester/java/src/org/forester/archaeopteryx/TreePanel.java

index 2f20136..a2cf351 100644 (file)
@@ -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() ) {
index a8bd500..ade8408 100644 (file)
@@ -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;
     }
 
index 95a42b8..e15becb 100644 (file)
@@ -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 );
         }
index c1f5392..6321315 100644 (file)
@@ -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<Long, Short>                  _nodeid_dist_to_leaf                               = new HashMap<Long, Short>();
     final private Arc2D                   _arc                                               = new Arc2D.Double();