From: jprocter Date: Mon, 12 Nov 2007 16:31:34 +0000 (+0000) Subject: public method to indicate if there are progress bars active on this alignment window X-Git-Tag: Release_2_4~192 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=70d05102da9f6bd907db7222f3f8d4094678681d;p=jalview.git public method to indicate if there are progress bars active on this alignment window --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index a714ce6..289ffbc 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -587,10 +587,18 @@ public class AlignFrame validate(); } - - - - + /** + * + * @return true if any progress bars are still active + */ + public boolean operationInProgress() + { + if (progressBars!=null && progressBars.size()>0) + { + return true; + } + return false; + } /* Added so Castor Mapping file can obtain Jalview Version */