Changeset 13558 in josm


Ignore:
Timestamp:
2018-03-25T01:39:26+01:00 (6 years ago)
Author:
Don-vip
Message:

add a getDataSet() accessor in OsmDataLayer to avoid public field data

File:
1 edited

Legend:

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

    r13497 r13558  
    415415
    416416    /**
     417     * Returns the {@link DataSet} behind this layer.
     418     * @return the {@link DataSet} behind this layer.
     419     * @since 13558
     420     */
     421    public DataSet getDataSet() {
     422        return data;
     423    }
     424
     425    /**
    417426     * Return the image provider to get the base icon
    418427     * @return image provider class which can be modified
Note: See TracChangeset for help on using the changeset viewer.