Ignore:
Timestamp:
2018-03-25T03:40:41+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 13558/13559

Location:
applications/editors/josm/plugins/seachartedit/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java

    r33920 r34098  
    2727import org.openstreetmap.josm.data.coor.LatLon;
    2828import org.openstreetmap.josm.data.osm.DataSet;
    29 import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
     29import org.openstreetmap.josm.data.osm.UploadPolicy;
    3030import org.openstreetmap.josm.data.osm.Node;
    3131import org.openstreetmap.josm.data.osm.OsmPrimitive;
  • applications/editors/josm/plugins/seachartedit/src/scedit/SCeditAction.java

    r33920 r34098  
    168168    @Override
    169169    public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) {
    170         if (e.getPreviousEditLayer() != null) {
    171             e.getPreviousEditLayer().data.removeDataSetListener(dataSetListener);
     170        if (e.getPreviousDataLayer() != null) {
     171            e.getPreviousDataLayer().getDataSet().removeDataSetListener(dataSetListener);
    172172        }
    173173        OsmDataLayer newLayer = getLayerManager().getEditLayer();
    174174        if (newLayer != null) {
    175             newLayer.data.addDataSetListener(dataSetListener);
    176             data = newLayer.data;
     175            newLayer.getDataSet().addDataSetListener(dataSetListener);
     176            data = newLayer.getDataSet();
    177177            makeMap();
    178178        } else {
Note: See TracChangeset for help on using the changeset viewer.