Changeset 86 in josm for src/org/openstreetmap/josm/command/SequenceCommand.java
- Timestamp:
- 2006-04-21T14:31:51+02:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/command/SequenceCommand.java
r31 r86 10 10 * @author imi 11 11 */ 12 public class SequenceCommand implements Command {12 public class SequenceCommand extends Command { 13 13 14 14 /** … … 26 26 } 27 27 28 public void executeCommand() { 28 @Override public void executeCommand() { 29 29 for (Command c : sequenz) 30 30 c.executeCommand(); 31 31 } 32 32 33 public void undoCommand() { 33 @Override public void undoCommand() { 34 34 for (int i = sequenz.length-1; i >= 0; --i) 35 35 sequenz[i].undoCommand(); 36 36 } 37 37 38 public void fillModifiedData(Collection<OsmPrimitive> modified, 39 Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) { 38 @Override public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) { 40 39 for (Command c : sequenz) 41 40 c.fillModifiedData(modified, deleted, added);
Note:
See TracChangeset
for help on using the changeset viewer.
