1 package ca.uhn.hl7v2.testpanel.util;
2
3 public interface IProgressCallback {
4
5 void activityStarted();
6
7 void activityStopped();
8
9 void progressUpdate(double theProgress) throws OperationCancelRequestedException;
10
11 /**
12 * Thrown if the UI is requesting a cancel
13 */
14 public class OperationCancelRequestedException extends Exception
15 {
16 /**
17 * Constructor
18 */
19 public OperationCancelRequestedException() {
20 super();
21 }
22 }
23
24 }