Ignore:
Timestamp:
2009-10-04T12:07:16+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3650: Double-click on items in history dialog should open history
fixed #3649: History dialog does not show moved nodes
fixed #3383: changeset tags in history dialog (partial fix, there's now a link to the server page for browsing changesets)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryNode.java

    r2242 r2243  
    44import java.util.Date;
    55
     6import org.openstreetmap.josm.data.coor.LatLon;
    67import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    7 import org.openstreetmap.josm.data.coor.LatLon;
    88
    99
     
    1414 */
    1515public class HistoryNode extends HistoryOsmPrimitive {
    16     private LatLon coor;
    17     public HistoryNode(long id, long version, boolean visible, String user, long uid, long changesetId, Date timestamp,
    18     double lat, double lon) {
     16    /** the coordinates */
     17
     18    private LatLon coords;
     19
     20    public HistoryNode(long id, long version, boolean visible, String user, long uid, long changesetId, Date timestamp, LatLon coords) {
    1921        super(id, version, visible, user, uid, changesetId, timestamp);
    20         coor = new LatLon(lat, lon);
     22        setCoords(coords);
    2123    }
    2224
     
    2628    }
    2729
    28     public LatLon getCoordinate() {
    29         return coor;
     30    public LatLon getCoords() {
     31        return coords;
     32    }
     33
     34    public void setCoords(LatLon coords) {
     35        this.coords = coords;
    3036    }
    3137}
Note: See TracChangeset for help on using the changeset viewer.