Changeset 3006 in josm
- Timestamp:
- 2010-02-17T21:47:34+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/progress/ProgressMonitor.java
r2512 r3006 3 3 4 4 /** 5 * Typical usecase is: 5 * Typical use case is: 6 6 * <pre> 7 7 * monitor.beginTask() … … 22 22 * If task consists of multiple tasks then {@link #createSubTaskMonitor(int, boolean)} may be used. It 23 23 * will create new ProgressMonitor, then can be passed to the subtask. Subtask doesn't know whether 24 * it runs standalon oor as a part of other task. Progressbar will be updated so that total progress is24 * it runs standalone or as a part of other task. Progressbar will be updated so that total progress is 25 25 * shown, not just progress of the subtask 26 26 * 27 * All ProgressMonitor implemen enatations should be thread safe.27 * All ProgressMonitor implementations should be thread safe. 28 28 * 29 29 */ … … 45 45 46 46 /** 47 * Starts this progress monitor. Must be called ex catly once47 * Starts this progress monitor. Must be called exactly once 48 48 * @param title 49 49 * @param ticks … … 53 53 * Finish this progress monitor, close the dialog or inform the parent progress monitor 54 54 * that it can continue with other tasks. Must be called at least once (if called multiply times 55 * then futher calls are ignored) 55 * then further calls are ignored) 56 56 */ 57 57 void finishTask(); … … 87 87 88 88 /** 89 * Subtask that will show progress runing back and f orworth89 * Subtask that will show progress running back and forth 90 90 * @param title Can be null, in that case task title is not changed 91 91 */ … … 97 97 void subTask(String title); 98 98 /** 99 * Shows additonal text 99 * Shows additional text 100 100 */ 101 101 void setCustomText(String text);
Note:
See TracChangeset
for help on using the changeset viewer.