X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FIProgressIndicator.java;h=d13338e234decd6528a8c51c1ca16468e9654a36;hb=5e961ebc9a219d2e19341c0fc954f358699d3e20;hp=c250aca63e341febe8fe6ae1c6f4caec164bf5e4;hpb=c2b931a5a0ea81bdc93db1f0cf632b07717c5066;p=jalview.git diff --git a/src/jalview/gui/IProgressIndicator.java b/src/jalview/gui/IProgressIndicator.java index c250aca..d13338e 100644 --- a/src/jalview/gui/IProgressIndicator.java +++ b/src/jalview/gui/IProgressIndicator.java @@ -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); + }