--- /dev/null
+package jalview.gui;\r
+\r
+public interface IProgressIndicatorHandler\r
+{\r
+ /**\r
+ * \r
+ * @return true if a cancel button can be shown \r
+ */\r
+ public boolean canCancel();\r
+ /**\r
+ * Callback to cancel activity if the cancel button is pressed.\r
+ * @param id\r
+ * @return true if activity was cancelled\r
+ */\r
+ public boolean cancelActivity(long id);\r
+}\r