Ignore:
Timestamp:
2009-06-15T20:22:46+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed: bug in OsmApi.getOsmApi()
cleanup: exception handling in interfacing with OSM API
new: new action for updating individual elements with the their current state on the server (including new menu item in the file menu)
new: improved user feedback in case of conflicts
new: handles 410 Gone conflicts when uploading a changeset
new: undoable command for "purging" a primitive from the current dataset (necessary if the primitive is already deleted on the server and the user wants to remove it from its local dataset)
new: undoable command for "undeleting" an already deleted primitive on the server (kind of "cloning")
new: after a full upload, checks whether there are primitives in the local dataset which might be deleted on the server.
new: data structures for history data
new: history download support in io package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/CoordinateConflictResolveCommand.java

    r1654 r1670  
    3333    /** the merge decision */
    3434    private final MergeDecisionType decision;
    35 
    36 
    37     /**
    38      * replies a (localized) display name for the type of an OSM primitive
    39      *
    40      * @param primitive the primitive
    41      * @return a localized display name
    42      */
    43     protected String getPrimitiveTypeAsString(OsmPrimitive primitive) {
    44         if (primitive instanceof Node) return tr("node");
    45         if (primitive instanceof Way) return tr("way");
    46         if (primitive instanceof Relation) return tr("relation");
    47         return "";
    48     }
    4935
    5036    /**
Note: See TracChangeset for help on using the changeset viewer.