From: jprocter Date: Fri, 1 Aug 2008 13:16:39 +0000 (+0000) Subject: interface for windows that display progress bars X-Git-Tag: Release_2_4~73 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b9d84d8a7aa2557c51307addf9e80139f07bb14b;p=jalview.git interface for windows that display progress bars --- diff --git a/src/jalview/gui/IProgressIndicator.java b/src/jalview/gui/IProgressIndicator.java new file mode 100644 index 0000000..4acaba9 --- /dev/null +++ b/src/jalview/gui/IProgressIndicator.java @@ -0,0 +1,18 @@ +package jalview.gui; + +/** + * Visual progress indicator interface. + * @author JimP + * + */ +public interface IProgressIndicator +{ + /** + * Visual indication of some operation taking place. + * On first call with a particular ID an indicator with the given message is added. The indicator is removed with a second call with same ID. + * @param message - displayed message for operation + * @param id - unique handle for this indicator + */ + public abstract void setProgressBar(String message, long id); + +} \ No newline at end of file