Changeset 24090 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-11-06T18:36:38+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r24089 r24090 105 105 */ 106 106 public AddressEditContainer() { 107 NodeEntityBase.addChangedListener(this);107 OSMEntityBase.addChangedListener(this); 108 108 } 109 109 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressNode.java
r24089 r24090 22 22 * wrapper for a OSM node in order to simplify tag handling. 23 23 */ 24 public class AddressNode extends NodeEntityBase {24 public class AddressNode extends OSMEntityBase { 25 25 public static final String MISSING_TAG = "?"; 26 26 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMEntityBase.java
r24089 r24090 28 28 29 29 /** 30 * The class NodeEntityBase provides a base implementation for the {@link IOSMEntity} interface.30 * The class OSMEntityBase provides a base implementation for the {@link IOSMEntity} interface. 31 31 * 32 32 * The implementation comprises … … 37 37 * </ol> 38 38 */ 39 public class NodeEntityBase implements IOSMEntity, Comparable<IOSMEntity> {39 public class OSMEntityBase implements IOSMEntity, Comparable<IOSMEntity> { 40 40 public static final String ANONYMOUS = tr("No name"); 41 41 private static List<IAddressEditContainerListener> containerListeners = new ArrayList<IAddressEditContainerListener>(); … … 47 47 * @param osmObject 48 48 */ 49 public NodeEntityBase(OsmPrimitive osmObject) {49 public OSMEntityBase(OsmPrimitive osmObject) { 50 50 super(); 51 51 this.osmObject = osmObject; … … 189 189 @Override 190 190 public int compareTo(IOSMEntity o) { 191 if (o == null || !(o instanceof NodeEntityBase)) return -1;191 if (o == null || !(o instanceof OSMEntityBase)) return -1; 192 192 return this.getName().compareTo(o.getName()); 193 193 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/StreetNode.java
r24089 r24090 26 26 * @author Oliver Wieland <oliver.wieland@online.de> 27 27 */ 28 public class StreetNode extends NodeEntityBase {28 public class StreetNode extends OSMEntityBase { 29 29 private List<IOSMEntity> children; 30 30 private List<AddressNode> addresses; -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/StreetSegmentNode.java
r24089 r24090 26 26 */ 27 27 28 public class StreetSegmentNode extends NodeEntityBase {28 public class StreetSegmentNode extends OSMEntityBase { 29 29 30 30 public StreetSegmentNode(OsmPrimitive osmObject) {
Note:
See TracChangeset
for help on using the changeset viewer.