public method to indicate if there are progress bars active on this alignment window
authorjprocter <Jim Procter>
Mon, 12 Nov 2007 16:31:34 +0000 (16:31 +0000)
committerjprocter <Jim Procter>
Mon, 12 Nov 2007 16:31:34 +0000 (16:31 +0000)
src/jalview/gui/AlignFrame.java

index a714ce6..289ffbc 100755 (executable)
@@ -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
   */