Ignore:
Timestamp:
2009-09-06T23:07:33+02:00 (15 years ago)
Author:
Gubaer
Message:

new: rewrite of CombineWay action
new: conflict resolution dialog for CombineWay, including conflicts for different relation memberships
cleanup: cleanup in OsmReader, reduces memory footprint and reduces parsing time
cleanup: made most of the public fields in OsmPrimitive @deprecated, added accessors and changed the code
cleanup: replaced usages of @deprecated constructors for ExtendedDialog
fixed #3208: Combine ways brokes relation order

WARNING: this changeset touches a lot of code all over the code base. "latest" might become slightly unstable in the next days. Also experience incompatibility issues with plugins in the next few days.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java

    r1997 r2070  
    7474    protected String decorateNameWithId(String name, OsmPrimitive primitive) {
    7575        if (Main.pref.getBoolean("osm-primitives.showid"))
    76             return name + tr(" [id: {0}]", primitive.id);
     76            return name + tr(" [id: {0}]", primitive.getId());
    7777        else
    7878            return name;
     
    9696            }
    9797            if (name == null) {
    98                 name = node.id == 0 ? tr("node") : ""+ node.id;
     98                name = node.getId() == 0 ? tr("node") : ""+ node.getId();
    9999            }
    100100            name += " (" + node.getCoor().latToString(CoordinateFormat.getDefaultFormat()) + ", " + node.getCoor().lonToString(CoordinateFormat.getDefaultFormat()) + ")";
     
    175175            }
    176176            if (nameTag == null) {
    177                 name += Long.toString(relation.id) + ", ";
     177                name += Long.toString(relation.getId()) + ", ";
    178178            } else {
    179179                name += "\"" + nameTag + "\", ";
     
    197197     */
    198198    public String format(Changeset changeset) {
    199         return tr("Changeset {0}",changeset.id);
     199        return tr("Changeset {0}",changeset.getId());
    200200    }
    201201}
Note: See TracChangeset for help on using the changeset viewer.