Changeset 9477 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2016-01-16T01:18:11+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxImporter.java
r9461 r9477 42 42 private final Runnable postLayerTask; 43 43 44 /** 45 * Constructs a new {@code GpxImporterData}. 46 * @param gpxLayer The imported GPX layer. May be null if no GPX data. 47 * @param markerLayer The imported marker layer. May be null if no marker. 48 * @param postLayerTask The task to run after GPX and/or marker layer has been added to MapView. 49 */ 44 50 public GpxImporterData(GpxLayer gpxLayer, MarkerLayer markerLayer, Runnable postLayerTask) { 45 51 this.gpxLayer = gpxLayer; … … 48 54 } 49 55 56 /** 57 * Returns the imported GPX layer. May be null if no GPX data. 58 * @return the imported GPX layer. May be null if no GPX data. 59 */ 50 60 public GpxLayer getGpxLayer() { 51 61 return gpxLayer; 52 62 } 53 63 64 /** 65 * Returns the imported marker layer. May be null if no marker. 66 * @return the imported marker layer. May be null if no marker. 67 */ 54 68 public MarkerLayer getMarkerLayer() { 55 69 return markerLayer; 56 70 } 57 71 72 /** 73 * Returns the task to run after GPX and/or marker layer has been added to MapView. 74 * @return the task to run after GPX and/or marker layer has been added to MapView. 75 */ 58 76 public Runnable getPostLayerTask() { 59 77 return postLayerTask; … … 70 88 /** 71 89 * Returns a GPX file filter (*.gpx and *.gpx.gz files). 90 * @return a GPX file filter 72 91 */ 73 92 public static ExtensionFileFilter getFileFilter() {
Note:
See TracChangeset
for help on using the changeset viewer.
