- Timestamp:
- 2006-01-20T11:39:44+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/shell/GShellProgressMonitor.java
r8243 r11076 50 50 import java.awt.Component; 51 51 import java.util.ArrayList; 52 import javax.swing.JProgressBar;52 import org.greenstone.gatherer.gui.GProgressBar; 53 53 54 54 /** When implemented, this interface allows another class to monitor the progress of a <strong>GShell</strong> process. Specifically implementing classes should be designed to take the textual output from the process and then translate that message into some quanitive measure of progress which can then be shown on the progress bar. … … 56 56 public interface GShellProgressMonitor { 57 57 /** Method to register a new progress bar with this monitor. 58 * @param progress_bar The new <strong> JProgressBar</strong>.58 * @param progress_bar The new <strong>GProgressBar</strong>. 59 59 */ 60 public void addProgressBar( JProgressBar progress_bar);60 public void addProgressBar(GProgressBar progress_bar); 61 61 62 62 /** Determine the script exit value according to the progress monitor. This gets around a problem where several script failures actually result with a successful exit value. … … 65 65 public int exitValue(); 66 66 67 public JProgressBar getSharedProgress();67 public GProgressBar getSharedProgress(); 68 68 69 /** Method to retrieve whatever control is being used as the progress indicator. Usually a <strong> JProgressBar</strong> but there may be others implemented later.69 /** Method to retrieve whatever control is being used as the progress indicator. Usually a <strong>GProgressBar</strong> but there may be others implemented later. 70 70 * @return A <strong>Component</strong> on which the progress of the process is being displayed. 71 71 */
Note:
See TracChangeset
for help on using the changeset viewer.