Changeset 28089 in osm


Ignore:
Timestamp:
2012-03-15T16:56:10+01:00 (13 years ago)
Author:
simon04
Message:

adapt reverter plugin due to core changes (in r5085)

Location:
applications/editors/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetHandler.java

    r27303 r28089  
    44
    55import org.openstreetmap.josm.Main;
     6import org.openstreetmap.josm.io.remotecontrol.PermissionPrefWithDefault;
    67import org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler;
    78
     
    2728
    2829    @Override
     30    public String[] getMandatoryParams() {
     31        return new String[] {"id"};
     32    }
     33
     34    @Override
     35    public PermissionPrefWithDefault getPermissionPref() {
     36        return null;
     37    }
     38
     39    @Override
    2940    public String getPermissionMessage() {
    3041        return tr("Remote Control has been asked to revert a changeset.");
Note: See TracChangeset for help on using the changeset viewer.