Changeset 34098 in osm for applications/editors
- Timestamp:
- 2018-03-25T03:40:41+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/build.xml
r33675 r34098 4 4 <property name="commit.message" value="Changed constructor for Plugin"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 2900"/>6 <property name="plugin.main.version" value="13559"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java
r33690 r34098 23 23 import org.apache.commons.text.WordUtils; 24 24 import org.openstreetmap.josm.data.osm.DataSet; 25 import org.openstreetmap.josm.data.osm. DataSet.UploadPolicy;25 import org.openstreetmap.josm.data.osm.UploadPolicy; 26 26 import org.openstreetmap.josm.data.osm.OsmPrimitive; 27 27 import org.openstreetmap.josm.data.osm.Way; -
applications/editors/josm/plugins/canvec_helper/build.xml
r33906 r34098 4 4 <property name="commit.message" value="JOSM/Canvec_helper: fixed a crash caused by osm directory being renamed to OSM"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="13 007"/>6 <property name="plugin.main.version" value="13559"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java
r33906 r34098 18 18 import org.openstreetmap.josm.data.Bounds; 19 19 import org.openstreetmap.josm.data.coor.LatLon; 20 import org.openstreetmap.josm.data.osm. DataSet.UploadPolicy;20 import org.openstreetmap.josm.data.osm.UploadPolicy; 21 21 import org.openstreetmap.josm.gui.MainApplication; 22 22 import org.openstreetmap.josm.gui.MapView; -
applications/editors/josm/plugins/o5m/build.xml
r34095 r34098 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 2671"/>7 <property name="plugin.main.version" value="13559"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/o5m/src/org/openstreetmap/josm/plugins/o5m/io/O5mReader.java
r33566 r34098 25 25 import org.openstreetmap.josm.data.osm.User; 26 26 import org.openstreetmap.josm.data.osm.Way; 27 import org.openstreetmap.josm.data.osm. DataSet.UploadPolicy;27 import org.openstreetmap.josm.data.osm.UploadPolicy; 28 28 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 29 29 import org.openstreetmap.josm.gui.progress.ProgressMonitor; -
applications/editors/josm/plugins/pbf/build.xml
r34009 r34098 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value="1 2671"/>5 <property name="plugin.main.version" value="13559"/> 6 6 7 7 <property name="plugin.author" value="Don-vip"/> -
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java
r33568 r34098 17 17 import org.openstreetmap.josm.data.coor.LatLon; 18 18 import org.openstreetmap.josm.data.osm.DataSet; 19 import org.openstreetmap.josm.data.osm. DataSet.UploadPolicy;19 import org.openstreetmap.josm.data.osm.UploadPolicy; 20 20 import org.openstreetmap.josm.data.osm.Node; 21 21 import org.openstreetmap.josm.data.osm.OsmPrimitive; -
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java
r33165 r34098 507 507 */ 508 508 public void writeLayer(OsmDataLayer layer) { 509 writeData(layer. data);509 writeData(layer.getDataSet()); 510 510 } 511 511 -
applications/editors/josm/plugins/poly/build.xml
r33570 r34098 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 2671"/>7 <property name="plugin.main.version" value="13559"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/poly/src/poly/PolyExporter.java
r33570 r34098 39 39 if (layer instanceof OsmDataLayer) { 40 40 try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), "UTF8"))) { 41 DataSet ds = ((OsmDataLayer) layer). data;41 DataSet ds = ((OsmDataLayer) layer).getDataSet(); 42 42 Map<Way, Boolean> ways = new TreeMap<>(); 43 43 String polygonName = file.getName(); -
applications/editors/josm/plugins/poly/src/poly/PolyImporter.java
r33570 r34098 20 20 import org.openstreetmap.josm.data.osm.RelationMember; 21 21 import org.openstreetmap.josm.data.osm.Way; 22 import org.openstreetmap.josm.data.osm. DataSet.UploadPolicy;22 import org.openstreetmap.josm.data.osm.UploadPolicy; 23 23 import org.openstreetmap.josm.gui.io.importexport.OsmImporter; 24 24 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; -
applications/editors/josm/plugins/seachart/build.xml
r34097 r34098 4 4 <property name="commit.message" value="[Seachart] Publish new release"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="13 243"/>6 <property name="plugin.main.version" value="13558"/> 7 7 8 8 <property name="plugin.author" value="Malcolm Herring"/> -
applications/editors/josm/plugins/seachart/src/seachart/SeachartAction.java
r33724 r34098 7 7 import javax.swing.SwingUtilities; 8 8 9 import org.openstreetmap.josm.gui.MainApplication;10 9 import org.openstreetmap.josm.actions.JosmAction; 11 10 import org.openstreetmap.josm.data.Bounds; … … 27 26 import org.openstreetmap.josm.data.osm.event.TagsChangedEvent; 28 27 import org.openstreetmap.josm.data.osm.event.WayNodesChangedEvent; 28 import org.openstreetmap.josm.gui.MainApplication; 29 29 import org.openstreetmap.josm.gui.layer.LayerManager.LayerAddEvent; 30 30 import org.openstreetmap.josm.gui.layer.LayerManager.LayerChangeListener; … … 145 145 @Override 146 146 public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) { 147 OsmDataLayer oldLayer = e.getPrevious EditLayer();147 OsmDataLayer oldLayer = e.getPreviousDataLayer(); 148 148 if (oldLayer != null) { 149 oldLayer. data.removeDataSetListener(dataSetListener);149 oldLayer.getDataSet().removeDataSetListener(dataSetListener); 150 150 } 151 151 OsmDataLayer newLayer = MainApplication.getLayerManager().getEditLayer(); 152 152 if (newLayer != null) { 153 newLayer. data.addDataSetListener(dataSetListener);154 data = newLayer. data;153 newLayer.getDataSet().addDataSetListener(dataSetListener); 154 data = newLayer.getDataSet(); 155 155 makeChart(); 156 156 } else { -
applications/editors/josm/plugins/seachartedit/build.xml
r34097 r34098 4 4 <property name="commit.message" value="New release"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 2643"/>6 <property name="plugin.main.version" value="13559"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java
r33920 r34098 27 27 import org.openstreetmap.josm.data.coor.LatLon; 28 28 import org.openstreetmap.josm.data.osm.DataSet; 29 import org.openstreetmap.josm.data.osm. DataSet.UploadPolicy;29 import org.openstreetmap.josm.data.osm.UploadPolicy; 30 30 import org.openstreetmap.josm.data.osm.Node; 31 31 import org.openstreetmap.josm.data.osm.OsmPrimitive; -
applications/editors/josm/plugins/seachartedit/src/scedit/SCeditAction.java
r33920 r34098 168 168 @Override 169 169 public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) { 170 if (e.getPrevious EditLayer() != null) {171 e.getPrevious EditLayer().data.removeDataSetListener(dataSetListener);170 if (e.getPreviousDataLayer() != null) { 171 e.getPreviousDataLayer().getDataSet().removeDataSetListener(dataSetListener); 172 172 } 173 173 OsmDataLayer newLayer = getLayerManager().getEditLayer(); 174 174 if (newLayer != null) { 175 newLayer. data.addDataSetListener(dataSetListener);176 data = newLayer. data;175 newLayer.getDataSet().addDataSetListener(dataSetListener); 176 data = newLayer.getDataSet(); 177 177 makeMap(); 178 178 } else {
Note:
See TracChangeset
for help on using the changeset viewer.