// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.archaeopteryx;
InferenceManager _inference_manager;
final ProcessPool _process_pool;
private String _previous_node_annotation_ref;
- private String _ext_node_data_buffer = "";
MainFrame() {
_process_pool = ProcessPool.createInstance();
* @return current external node data as String
*/
public String getCurrentExternalNodesDataBuffer() {
- return _ext_node_data_buffer;
+ return getCurrentTreePanel().getCurrentExternalNodesDataBufferAsString();
+ }
+
+ public int getCurrentExternalNodesDataBufferChangeCounter() {
+ return getCurrentTreePanel().getCurrentExternalNodesDataBufferChangeCounter();
+ }
+
+ public int getCurrentExternalNodesDataBufferLength() {
+ return getCurrentTreePanel().getCurrentExternalNodesDataBufferAsString().length();
}
public InferenceManager getInferenceManager() {
sb.append( "Website: " + Constants.PHYLOXML_WEB_SITE + "\n" );
sb.append( "Version: " + ForesterConstants.PHYLO_XML_VERSION + "\n" );
sb.append( "\n" );
- sb.append( "For more information: http://www.phylosoft.org/archaeopteryx/\n" );
+ sb.append( "For more information: https://sites.google.com/site/cmzmasek/home/software/archaeopteryx\n" );
sb.append( "Email: " + Constants.AUTHOR_EMAIL + "\n\n" );
TextFrame.instantiate( sb.toString(), "Help", _textframes );
}
_configuration = configuration;
}
- void setCurrentExternalNodesDataBuffer( final String s ) {
- if ( !ForesterUtil.isEmpty( s ) ) {
- _ext_node_data_buffer = s.trim();
- }
- else {
- _ext_node_data_buffer = "";
- }
- }
-
void setInferenceManager( final InferenceManager i ) {
_inference_manager = i;
}