Changeset 14716 in josm for trunk/src/org


Ignore:
Timestamp:
2019-01-21T10:27:52+01:00 (6 years ago)
Author:
GerdP
Message:

see #17201: Improve progress monitor: Let OsmImporter decide what task is following the parser

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/OsmImporter.java

    r14153 r14716  
    122122            throw new IllegalDataException(tr("Invalid dataset"));
    123123        }
     124        progressMonitor.indeterminateSubTask(tr("Creating data layer ..."));
    124125        OsmDataLayer layer = createLayer(dataSet, associatedFile, layerName);
    125126        Runnable postLayerTask = createPostLayerTask(dataSet, associatedFile, layerName, layer);
  • trunk/src/org/openstreetmap/josm/io/AbstractReader.java

    r14699 r14716  
    315315            callPostProcessors(progressMonitor);
    316316            progressMonitor.worked(1);
    317             progressMonitor.indeterminateSubTask(tr("Rendering data set..."));
    318317            // Make sure postprocessors did not change the read-only state
    319318            if (readOnly && !getDataSet().isLocked()) {
Note: See TracChangeset for help on using the changeset viewer.