Ignore:
Timestamp:
2014-10-04T17:54:40+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10588 - DownloadGpsTask ignores the ProgressMonitor argument given in its constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java

    r6830 r7597  
    3232    /**
    3333     * Create the runnable object with a given message for the user.
     34     * @param title message for the user
    3435     */
    3536    public PleaseWaitRunnable(String title) {
    3637        this(title, false);
    3738    }
     39
    3840    /**
    3941     * Create the runnable object with a given message for the user.
     
    6567    }
    6668
     69    /**
     70     * Create the runnable object with a given message for the user
     71     *
     72     * @param title message for the user
     73     * @param progressMonitor progress monitor
     74     * @param ignoreException If true, exception will be propagated to calling code. If false then
     75     * exception will be thrown directly in EDT. When this runnable is executed using executor framework
     76     * then use false unless you read result of task (because exception will get lost if you don't)
     77     * @throws IllegalArgumentException thrown if parent is null
     78     */
    6779    public PleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
    6880        this.title = title;
     
    175187    protected abstract void finish();
    176188
     189    /**
     190     * Relies the progress monitor.
     191     * @return the progress monitor
     192     */
    177193    public ProgressMonitor getProgressMonitor() {
    178194        return progressMonitor;
Note: See TracChangeset for help on using the changeset viewer.