Mercurial > hg > graal-compiler
view visualizer/LogViewer/src/at/ssw/visualizer/logviewer/model/io/ProgressMonitor.java @ 5734:6a812002a918
Initial commit: LogViewer backend
author | Alexander Stipsits <stipsits_alexander@gmx.at> |
---|---|
date | Fri, 22 Jun 2012 23:13:34 +0200 |
parents | |
children |
line wrap: on
line source
package at.ssw.visualizer.logviewer.model.io; /** * * @author Alexander Stipsits */ public interface ProgressMonitor { /** * Triggered when some work has been done.<br><br> * <b>Attention</b>: This method runs on the same thread as the reading process. * If time-consuming tasks should be executed, please consider multithreading. * @param percentage Value in range between 0 and 1 to indicate how much work has been done. */ public void worked(float percentage); /** * Triggered when work is done completely.<br><br> * <b>Attention</b>: This method runs on the same thread as the reading process. * If time-consuming tasks should be executed, please consider multithreading. */ public void finished(); }