JAL-3878 Add full name getter to ActionI
[jalview.git] / src / jalview / gui / IProgressIndicator.java
index c250aca..d13338e 100644 (file)
@@ -57,10 +57,24 @@ public interface IProgressIndicator
   boolean operationInProgress();
 
   /**
-   * Remove progress bar with a given id from the panel.
+   * Adds a progress bar for the given id if it doesn't exist displaying the
+   * provided message. Subsequent calls do nothing.
    * 
    * @param id
+   *          progress bar identifier
+   * @param message
+   *          displayed message
+   */
+  void addProgressBar(long id, String message);
+
+  /**
+   * Removes a progress bar for the given id if it exists. Subsequent calls do
+   * nothing.
+   * 
+   * @param id
+   *          id of the progress bar to be removed
    */
   void removeProgressBar(long id);
 
+
 }