OSDN Git Service

lejos_NXJ_win32_0_5_0beta.zip
[nxt-jsp/lejos_nxj.git] / nxtOSEK / lejos_nxj / src / java / jtools / js / common / ToolProgressMonitor.java
1 package js.common;
2
3 /**
4  * Listener for progress of long running operations.
5  */
6 public interface ToolProgressMonitor
7 {
8    /**
9     * Notification change of operation.
10     * 
11     * @param message human readable description of current operation
12     */
13    public void operation (String message);
14
15    /**
16     * Notification about some progress information.
17     * 
18     * @param message human readable message about progress
19     */
20    public void log (String message);
21
22    /**
23     * Notification about progress.
24     * 
25     * @param int progress progress (0-1000)
26     */
27    public void progress (int progress);
28
29    /**
30     * Is tool canceled?.
31     */
32    public boolean isCanceled ();
33    
34         /**
35          * Be verbose?
36          */
37         public void setVerbose(boolean verbose);
38         
39
40 }