Changeset 34098 in osm for applications/editors


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
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/build.xml

    r33675 r34098  
    44    <property name="commit.message" value="Changed constructor for Plugin"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="12900"/>
     6    <property name="plugin.main.version" value="13559"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java

    r33690 r34098  
    2323import org.apache.commons.text.WordUtils;
    2424import org.openstreetmap.josm.data.osm.DataSet;
    25 import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
     25import org.openstreetmap.josm.data.osm.UploadPolicy;
    2626import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2727import org.openstreetmap.josm.data.osm.Way;
  • applications/editors/josm/plugins/canvec_helper/build.xml

    r33906 r34098  
    44    <property name="commit.message" value="JOSM/Canvec_helper: fixed a crash caused by osm directory being renamed to OSM"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="13007"/>
     6    <property name="plugin.main.version" value="13559"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java

    r33906 r34098  
    1818import org.openstreetmap.josm.data.Bounds;
    1919import org.openstreetmap.josm.data.coor.LatLon;
    20 import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
     20import org.openstreetmap.josm.data.osm.UploadPolicy;
    2121import org.openstreetmap.josm.gui.MainApplication;
    2222import org.openstreetmap.josm.gui.MapView;
  • applications/editors/josm/plugins/o5m/build.xml

    r34095 r34098  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="12671"/>
     7    <property name="plugin.main.version" value="13559"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/o5m/src/org/openstreetmap/josm/plugins/o5m/io/O5mReader.java

    r33566 r34098  
    2525import org.openstreetmap.josm.data.osm.User;
    2626import org.openstreetmap.josm.data.osm.Way;
    27 import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
     27import org.openstreetmap.josm.data.osm.UploadPolicy;
    2828import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    2929import org.openstreetmap.josm.gui.progress.ProgressMonitor;
  • applications/editors/josm/plugins/pbf/build.xml

    r34009 r34098  
    33
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="12671"/>
     5    <property name="plugin.main.version" value="13559"/>
    66
    77    <property name="plugin.author" value="Don-vip"/>
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java

    r33568 r34098  
    1717import org.openstreetmap.josm.data.coor.LatLon;
    1818import org.openstreetmap.josm.data.osm.DataSet;
    19 import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
     19import org.openstreetmap.josm.data.osm.UploadPolicy;
    2020import org.openstreetmap.josm.data.osm.Node;
    2121import org.openstreetmap.josm.data.osm.OsmPrimitive;
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java

    r33165 r34098  
    507507     */
    508508    public void writeLayer(OsmDataLayer layer) {
    509         writeData(layer.data);
     509        writeData(layer.getDataSet());
    510510    }
    511511
  • applications/editors/josm/plugins/poly/build.xml

    r33570 r34098  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="12671"/>
     7    <property name="plugin.main.version" value="13559"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/poly/src/poly/PolyExporter.java

    r33570 r34098  
    3939        if (layer instanceof OsmDataLayer) {
    4040            try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), "UTF8"))) {
    41                 DataSet ds = ((OsmDataLayer) layer).data;
     41                DataSet ds = ((OsmDataLayer) layer).getDataSet();
    4242                Map<Way, Boolean> ways = new TreeMap<>();
    4343                String polygonName = file.getName();
  • applications/editors/josm/plugins/poly/src/poly/PolyImporter.java

    r33570 r34098  
    2020import org.openstreetmap.josm.data.osm.RelationMember;
    2121import org.openstreetmap.josm.data.osm.Way;
    22 import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
     22import org.openstreetmap.josm.data.osm.UploadPolicy;
    2323import org.openstreetmap.josm.gui.io.importexport.OsmImporter;
    2424import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
  • applications/editors/josm/plugins/seachart/build.xml

    r34097 r34098  
    44    <property name="commit.message" value="[Seachart] Publish new release"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="13243"/>
     6    <property name="plugin.main.version" value="13558"/>
    77
    88    <property name="plugin.author" value="Malcolm Herring"/>
  • applications/editors/josm/plugins/seachart/src/seachart/SeachartAction.java

    r33724 r34098  
    77import javax.swing.SwingUtilities;
    88
    9 import org.openstreetmap.josm.gui.MainApplication;
    109import org.openstreetmap.josm.actions.JosmAction;
    1110import org.openstreetmap.josm.data.Bounds;
     
    2726import org.openstreetmap.josm.data.osm.event.TagsChangedEvent;
    2827import org.openstreetmap.josm.data.osm.event.WayNodesChangedEvent;
     28import org.openstreetmap.josm.gui.MainApplication;
    2929import org.openstreetmap.josm.gui.layer.LayerManager.LayerAddEvent;
    3030import org.openstreetmap.josm.gui.layer.LayerManager.LayerChangeListener;
     
    145145    @Override
    146146    public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) {
    147         OsmDataLayer oldLayer = e.getPreviousEditLayer();
     147        OsmDataLayer oldLayer = e.getPreviousDataLayer();
    148148        if (oldLayer != null) {
    149             oldLayer.data.removeDataSetListener(dataSetListener);
     149            oldLayer.getDataSet().removeDataSetListener(dataSetListener);
    150150        }
    151151        OsmDataLayer newLayer = MainApplication.getLayerManager().getEditLayer();
    152152        if (newLayer != null) {
    153             newLayer.data.addDataSetListener(dataSetListener);
    154             data = newLayer.data;
     153            newLayer.getDataSet().addDataSetListener(dataSetListener);
     154            data = newLayer.getDataSet();
    155155            makeChart();
    156156        } else {
  • applications/editors/josm/plugins/seachartedit/build.xml

    r34097 r34098  
    44    <property name="commit.message" value="New release"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="12643"/>
     6    <property name="plugin.main.version" value="13559"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
  • 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.