Changeset 15497 in josm for trunk/src/org/openstreetmap/josm/data/gpx
- Timestamp:
- 2019-11-02T16:28:02+01:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/gpx
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r15496 r15497 1208 1208 * Creates a schema with prefix, URI and location. 1209 1209 * Does NOT try to determine prefix from URI! 1210 * @param prefix 1211 * @param uri 1212 * @param location 1210 * @param prefix XML namespace prefix 1211 * @param uri XML namespace URI 1212 * @param location XML namespace location 1213 1213 */ 1214 1214 public XMLNamespace(String prefix, String uri, String location) { -
trunk/src/org/openstreetmap/josm/data/gpx/GpxExtension.java
r15496 r15497 12 12 * @since 15496 13 13 */ 14 public class GpxExtension extends WithAttributes implements IWithAttributes,GpxConstants {14 public class GpxExtension extends WithAttributes implements GpxConstants { 15 15 private final String qualifiedName, prefix, key; 16 16 private IWithAttributes parent; … … 60 60 /** 61 61 * Finds the default prefix used by JOSM for the given namespaceURI as the document is free specify another one. 62 * @param namespaceURI 62 * @param namespaceURI namespace URI 63 63 * @return the prefix 64 64 */ -
trunk/src/org/openstreetmap/josm/data/gpx/GpxExtensionCollection.java
r15496 r15497 20 20 */ 21 21 public class GpxExtensionCollection extends ArrayList<GpxExtension> { 22 23 private static final long serialVersionUID = 1L; 22 24 23 25 private Stack<GpxExtension> childStack = new Stack<>(); -
trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java
r15496 r15497 95 95 96 96 private void setColorExtension(Color color) { 97 getExtensions().findAndRemove("gpxx", 97 getExtensions().findAndRemove("gpxx", "DisplayColor"); 98 98 if (color == null) { 99 getExtensions().findAndRemove("gpxd", 99 getExtensions().findAndRemove("gpxd", "color"); 100 100 } else { 101 101 getExtensions().addOrUpdate("gpxd", "color", String.format("#%02X%02X%02X", color.getRed(), color.getGreen(), color.getBlue())); -
trunk/src/org/openstreetmap/josm/data/gpx/IGpxTrack.java
r15496 r15497 42 42 /** 43 43 * Sets the color of this track. Not necessarily supported by all implementations. 44 * @param color 44 * @param color color of this track 45 45 * @since 15496 46 46 */
Note:
See TracChangeset
for help on using the changeset viewer.