else {
phy.addAsChild( node );
}
+ _nodes_in_preorder = null;
_phylogeny.externalNodesHaveChanged();
_phylogeny.hashIDs();
_phylogeny.recalculateNumberOfExternalDescendants( true );
_phylogeny.recalculateNumberOfExternalDescendants( true );
resetNodeIdToDistToLeafMap();
calculateLongestExtNodeInfo();
+ _nodes_in_preorder = null;
resetPreferredSize();
updateOvSizes();
_main_panel.adjustJScrollPane();
_phylogeny.recalculateNumberOfExternalDescendants( true );
resetNodeIdToDistToLeafMap();
calculateLongestExtNodeInfo();
+ _nodes_in_preorder = null;
resetPreferredSize();
_main_panel.adjustJScrollPane();
setArrowCursor();
errorMessageNoCutCopyPasteInUnrootedDisplay();
return;
}
+ _nodes_in_preorder = null;
setCutOrCopiedTree( _phylogeny.copy( node ) );
final List<PhylogenyNode> nodes = PhylogenyMethods.getAllDescendants( node );
final Set<Integer> node_ids = new HashSet<Integer>( nodes.size() );
if ( r != JOptionPane.OK_OPTION ) {
return;
}
+ _nodes_in_preorder = null;
setCopiedAndPastedNodes( null );
setCutOrCopiedTree( _phylogeny.copy( node ) );
_phylogeny.deleteSubtree( node, true );
}
node_ids.add( node.getId() );
getCopiedAndPastedNodes().addAll( node_ids );
+ _nodes_in_preorder = null;
_phylogeny.externalNodesHaveChanged();
_phylogeny.hashIDs();
_phylogeny.recalculateNumberOfExternalDescendants( true );