01: package org.swingml.task.monitoring;
02:
03: import org.swingml.task.*;
04:
05: /**
06: * @author CrossLogic
07: */
08: public class NullTaskMonitor implements ITaskMonitor {
09:
10: public NullTaskMonitor() {
11: }
12:
13: public void beginTask(ITask task) {
14: // do nothing
15: }
16:
17: public void endTask(ITask task) {
18: // do nothing
19: }
20:
21: public void progressMade(ITask task) {
22: // do nothing
23: }
24:
25: public void progressMade(ITask task, int ticks) {
26: // do nothing
27: }
28:
29: public void progressMade(ITask task, int ticks, String message) {
30: // do nothing
31: }
32:
33: public void progressMade(ITask task, String message) {
34: // do nothing
35: }
36:
37: public void setMessage(ITask task, String aMessage) {
38: // do nothing
39: }
40:
41: }
|