Changeset 29222 in osm
- Timestamp:
- 2013-01-31T14:39:51+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/DirectDownload/build.xml
r27352 r29222 32 32 <property name="commit.message" value="Commit message"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value=" 4549"/>34 <property name="plugin.main.version" value="5679"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DirectDownload.java
r26509 r29222 65 65 GpxReader r = new GpxReader(is); 66 66 boolean parsedProperly = r.parse(true); 67 GpxLayer gpxLayer = new GpxLayer(r. data, track.filename, true);67 GpxLayer gpxLayer = new GpxLayer(r.getGpxData(), track.filename, true); 68 68 69 if (r. data.hasRoutePoints() || r.data.hasTrackPoints()) {69 if (r.getGpxData().hasRoutePoints() || r.getGpxData().hasTrackPoints()) { 70 70 Main.main.addLayer(gpxLayer); 71 71 } 72 72 73 if (Main.pref.getBoolean("marker.makeautomarkers", true) && !r. data.waypoints.isEmpty()) {74 MarkerLayer ml = new MarkerLayer(r. data, tr("Markers from {0}", track.filename), null, gpxLayer);73 if (Main.pref.getBoolean("marker.makeautomarkers", true) && !r.getGpxData().waypoints.isEmpty()) { 74 MarkerLayer ml = new MarkerLayer(r.getGpxData(), tr("Markers from {0}", track.filename), null, gpxLayer); 75 75 if (ml.data.size() > 0) { 76 76 Main.main.addLayer(ml); -
applications/editors/josm/plugins/dataimport/build.xml
r26605 r29222 31 31 <property name="commit.message" value="Changed constructor signature, updated build.xml"/> 32 32 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 33 <property name="plugin.main.version" value=" 4394"/>33 <property name="plugin.main.version" value="5681"/> 34 34 <!-- 35 35 ************************************************ -
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/SingleSegmentGpxTrack.java
r23191 r29222 8 8 import org.openstreetmap.josm.data.gpx.GpxTrack; 9 9 import org.openstreetmap.josm.data.gpx.GpxTrackSegment; 10 import org.openstreetmap.josm.data.gpx.WithAttributes; 10 11 11 public class SingleSegmentGpxTrack implements GpxTrack { 12 public class SingleSegmentGpxTrack extends WithAttributes implements GpxTrack { 12 13 13 private final Map<String, Object> attributes;14 14 private final GpxTrackSegment trackSegment; 15 15 16 16 public SingleSegmentGpxTrack(GpxTrackSegment trackSegment, Map<String, Object> attributes) { 17 this.attr ibutes= Collections.unmodifiableMap(attributes);17 this.attr = Collections.unmodifiableMap(attributes); 18 18 this.trackSegment = trackSegment; 19 19 } … … 21 21 22 22 public Map<String, Object> getAttributes() { 23 return attr ibutes;23 return attr; 24 24 } 25 25 -
applications/editors/josm/plugins/globalsat/build.xml
r27852 r29222 32 32 <property name="commit.message" value="Changed constructor signature of plugin main class"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4980"/> 34 <property name="plugin.main.version" value="5681"/> 35 <!-- 36 ************************************************ 37 ** should not be necessary to change the following properties 38 --> 35 39 <property name="josm" location="../../core/dist/josm-custom.jar"/> 36 40 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/SingleSegmentGpxTrack.java
r23191 r29222 8 8 import org.openstreetmap.josm.data.gpx.GpxTrack; 9 9 import org.openstreetmap.josm.data.gpx.GpxTrackSegment; 10 import org.openstreetmap.josm.data.gpx.WithAttributes; 10 11 11 public class SingleSegmentGpxTrack implements GpxTrack { 12 public class SingleSegmentGpxTrack extends WithAttributes implements GpxTrack { 12 13 13 private final Map<String, Object> attributes;14 14 private final GpxTrackSegment trackSegment; 15 15 16 16 public SingleSegmentGpxTrack(GpxTrackSegment trackSegment, Map<String, Object> attributes) { 17 this.attr ibutes= Collections.unmodifiableMap(attributes);17 this.attr = Collections.unmodifiableMap(attributes); 18 18 this.trackSegment = trackSegment; 19 19 } 20 20 21 22 21 public Map<String, Object> getAttributes() { 23 return attr ibutes;22 return attr; 24 23 } 25 24 -
applications/editors/josm/plugins/gpxfilter/build.xml
r27852 r29222 32 32 <property name="commit.message" value="GPXFilter: moved to Alt-Shift-X"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value=" 4980"/>34 <property name="plugin.main.version" value="5679"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/gpxfilter/src/gpxfilter/GpxGrabber.java
r23541 r29222 48 48 GpxReader reader = new GpxReader(in); 49 49 reader.parse(false); 50 GpxData result = reader. data;50 GpxData result = reader.getGpxData(); 51 51 in.close(); 52 52 result.fromServer = true; -
applications/editors/josm/plugins/livegps/build.xml
r27852 r29222 27 27 <project name="livegps" default="dist" basedir="."> 28 28 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 29 <property name="plugin.main.version" value="4980"/> 29 <property name="plugin.main.version" value="5681"/> 30 <!-- 31 ************************************************ 32 ** should not be necessary to change the following properties 33 --> 30 34 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 35 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/livegps/src/livegps/SingleSegmentGpxTrack.java
r23191 r29222 8 8 import org.openstreetmap.josm.data.gpx.GpxTrack; 9 9 import org.openstreetmap.josm.data.gpx.GpxTrackSegment; 10 import org.openstreetmap.josm.data.gpx.WithAttributes; 10 11 11 public class SingleSegmentGpxTrack implements GpxTrack { 12 public class SingleSegmentGpxTrack extends WithAttributes implements GpxTrack { 12 13 13 private final Map<String, Object> attributes;14 14 private final GpxTrackSegment trackSegment; 15 15 16 16 public SingleSegmentGpxTrack(GpxTrackSegment trackSegment, Map<String, Object> attributes) { 17 this.attr ibutes= Collections.unmodifiableMap(attributes);17 this.attr = Collections.unmodifiableMap(attributes); 18 18 this.trackSegment = trackSegment; 19 19 } … … 21 21 22 22 public Map<String, Object> getAttributes() { 23 return attr ibutes;23 return attr; 24 24 } 25 25 -
applications/editors/josm/plugins/openvisible/build.xml
r27852 r29222 32 32 <property name="commit.message" value="Changed the constructor signature of the plugin main class; updated build.xml"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4980"/> 34 <property name="plugin.main.version" value="5679"/> 35 <!-- 36 ************************************************ 37 ** should not be necessary to change the following properties 38 --> 35 39 <property name="josm" location="../../core/dist/josm-custom.jar"/> 36 40 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java
r27852 r29222 129 129 throw new IllegalStateException(); 130 130 } 131 r. data.storageFile = file;132 GpxLayer gpxLayer = new GpxLayer(r. data, fn);131 r.getGpxData().storageFile = file; 132 GpxLayer gpxLayer = new GpxLayer(r.getGpxData(), fn); 133 133 Main.main.addLayer(gpxLayer); 134 Main.main.addLayer(new MarkerLayer(r. data, tr("Markers from {0}", fn), file, gpxLayer));134 Main.main.addLayer(new MarkerLayer(r.getGpxData(), tr("Markers from {0}", fn), file, gpxLayer)); 135 135 136 136 } else { -
applications/editors/josm/plugins/public_transport/build.xml
r28318 r29222 17 17 <project name="public_transport" default="dist" basedir="."> 18 18 <property name="josm.basedir" location="../.."/> 19 <property name="plugin.main.version" value="5679"/> 19 20 <!-- 20 21 ************************************************ 21 22 ** should not be necessary to change the following properties 22 23 --> 23 <property name="plugin.main.version" value="5053"/>24 24 <property name="josm" location="${josm.basedir}/core/dist/josm-custom.jar"/> 25 25 <property name="plugin.build.dir" value="build"/> -
applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterAction.java
r26509 r29222 209 209 final GpxReader r = new GpxReader(is); 210 210 final boolean parsedProperly = r.parse(true); 211 data = r. data;211 data = r.getGpxData(); 212 212 213 213 if (!parsedProperly)
Note:
See TracChangeset
for help on using the changeset viewer.