From b9d84d8a7aa2557c51307addf9e80139f07bb14b Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 1 Aug 2008 13:16:39 +0000 Subject: [PATCH] interface for windows that display progress bars --- src/jalview/gui/IProgressIndicator.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/jalview/gui/IProgressIndicator.java 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 -- 1.7.10.2