public final static boolean __SNAPSHOT_RELEASE = false; // TODO remove me
public final static boolean __SYNTH_LF = false; // TODO remove me
public final static String PRG_NAME = "Archaeopteryx";
- final static String VERSION = "0.968 beta BG";
- final static String PRG_DATE = "2012.01.03";
+ final static String VERSION = "0.969 beta BG";
+ final static String PRG_DATE = "2012.01.11";
final static String DEFAULT_CONFIGURATION_FILE_NAME = "_aptx_configuration_file";
final static String[] DEFAULT_FONT_CHOICES = { "Verdana", "Tahoma",
"Arial", "Helvetica", "Dialog", "Lucida Sans", "SansSerif", "Sans-serif", "Sans" };
_tools_menu.add( _collapse_species_specific_subtrees = new JMenuItem( "Collapse Species-Specific Subtrees" ) );
customizeJMenuItem( _collapse_species_specific_subtrees );
_tools_menu
- .add( _collapse_below_threshold = new JMenuItem( "Collapse Branches with Confidence Below Threshold" ) );
+ .add( _collapse_below_threshold = new JMenuItem( "Collapse Branches with Confidence Below Threshold into Multifurcations" ) );
customizeJMenuItem( _collapse_below_threshold );
_collapse_below_threshold
- .setToolTipText( "To permanently collapse branches without at least one support value above a given threshold" );
+ .setToolTipText( "To collapse branches with confidence values below a threshold into multifurcations (in the case of multiple confidences per branch: without at least one confidence value above a threshold)" );
_tools_menu.addSeparator();
_tools_menu
.add( _move_node_names_to_tax_sn_jmi = new JMenuItem( "Transfer Node Names to Taxonomic Scientific Names" ) );
phy.hashIDs();
phy.recalculateNumberOfExternalDescendants( true );
getCurrentTreePanel().resetNodeIdToDistToLeafMap();
+ getCurrentTreePanel().updateSetOfCollapsedExternalNodes( phy );
+ getCurrentTreePanel().calculateLongestExtNodeInfo();
+ getCurrentTreePanel().setNodeInPreorderToNull();
+ getCurrentTreePanel().recalculateMaxDistanceToRoot();
+ getCurrentTreePanel().resetPreferredSize();
getCurrentTreePanel().setEdited( true );
getCurrentTreePanel().repaint();
+ repaint();
}
if ( to_be_removed.size() > 0 ) {
JOptionPane.showMessageDialog( this, "Collapsed " + to_be_removed.size()