Changeset 24882 in osm for applications
- Timestamp:
- 2010-12-26T20:03:49+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/reverter/src/reverter
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetAction.java
r23192 r24882 12 12 import org.openstreetmap.josm.actions.JosmAction; 13 13 import org.openstreetmap.josm.command.Command; 14 import org.openstreetmap.josm.command.SequenceCommand;15 14 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 16 15 import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor; … … 18 17 import org.openstreetmap.josm.io.OsmTransferException; 19 18 import org.openstreetmap.josm.tools.Shortcut; 19 20 20 import reverter.ChangesetReverter.RevertType; 21 21 … … 96 96 if (!checkAndDownloadMissing()) return; 97 97 List<Command> cmds = rev.getCommands(); 98 Command cmd = new SequenceCommand(tr(revertType == RevertType.FULL ? "Revert changeset #{0}" :98 Command cmd = new RevertChangesetCommand(tr(revertType == RevertType.FULL ? "Revert changeset #{0}" : 99 99 "Partially revert changeset #{0}",changesetId),cmds); 100 100 Main.main.undoRedo.add(cmd);
Note:
See TracChangeset
for help on using the changeset viewer.