Changeset 29222 in osm for applications/editors/josm/plugins/globalsat
- Timestamp:
- 2013-01-31T14:39:51+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/globalsat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.