flag indicating if results should be associated immediately
[jalview.git] / src / jalview / gui / WebserviceInfo.java
index 4d0c634..bd06547 100755 (executable)
@@ -76,6 +76,24 @@ public class WebserviceInfo extends GWebserviceInfo
 
   private boolean viewResultsImmediatly = true;
 
+  /**
+   * Get 
+   * @param flag to indicate if results will be shown in a new window as soon as they are available.
+   */
+  public boolean isViewResultsImmediatly()
+  {
+    return viewResultsImmediatly;
+  }
+
+  /**
+   * Set
+   * @param flag to indicate if results will be shown in a new window as soon as they are available.
+   */
+  public void setViewResultsImmediatly(boolean viewResultsImmediatly)
+  {
+    this.viewResultsImmediatly = viewResultsImmediatly;
+  }
+
   // tabbed or not
   public synchronized int addJobPane()
   {