X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Farchaeopteryx%2Ftools%2FGoAnnotation.java;h=702f30c38e02aa50c63e137e296d7cb0320b8edf;hb=713d694ab9ab4e0701fd756af1ea2a892f96ade9;hp=6ca6a2f1eda073192ed6404777fdd0ded4d9639c;hpb=0f295917c869b17a9322af3e738e3527ba9b31d4;p=jalview.git diff --git a/forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java b/forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java index 6ca6a2f..702f30c 100644 --- a/forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java +++ b/forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java @@ -21,7 +21,7 @@ // 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.tools; @@ -43,7 +43,7 @@ import org.forester.phylogeny.data.Sequence; import org.forester.phylogeny.iterators.PhylogenyNodeIterator; import org.forester.util.ForesterUtil; -public class GoAnnotation implements Runnable { +public class GoAnnotation extends RunnableProcess { private static final String SYMBOL = "Symbol"; private static final String ASPECT = "Aspect"; @@ -62,7 +62,7 @@ public class GoAnnotation implements Runnable { } private void annotate() { - _mf.getMainPanel().getCurrentTreePanel().setWaitCursor(); + start( _mf, "GO annotate" ); for( final PhylogenyNodeIterator iter = _phy.iteratorPostorder(); iter.hasNext(); ) { final PhylogenyNode node = iter.next(); if ( ( node.getNodeData().getSequences() != null ) && !node.getNodeData().getSequences().isEmpty() ) { @@ -125,6 +125,7 @@ public class GoAnnotation implements Runnable { } } } + end( _mf ); _treepanel.repaint(); _treepanel.setEdited( true ); }