Changeset 30 in josm for src/org/openstreetmap/josm/command/Command.java
- Timestamp:
- 2005-12-03T14:14:35+01:00 (20 years ago)
- File:
-
- 1 edited
-
src/org/openstreetmap/josm/command/Command.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/command/Command.java
r23 r30 11 11 * one atomic action on a specific dataset, such as move or delete. 12 12 * 13 * Remember, that the command must be executable and undoable, even if the 14 * Main.main.ds has changed, so the command must save the dataset it operates on 15 * if necessary. 16 * 13 17 * @author imi 14 18 */ … … 21 25 22 26 /** 27 * Undoes the command. 28 * It can be assumed, that all objects are in the same state they were before. 29 * It can also be assumed that executeCommand was called exactly once before. 30 */ 31 void undoCommand(); 32 33 /** 23 34 * Give a description of the command as component to draw 24 35 */ … … 26 37 27 38 /** 28 * Fill in the changed data this command operates on (for sending to the server). 29 * Add to the lists, don't clear them. The lists can be <code>null</code> 30 * in which case they are ignored. 39 * Fill in the changed data this command operates on. 40 * Add to the lists, don't clear them. 31 41 * 32 * @param modified The modified primitives or <code>null</code>33 * @param deleted The deleted primitives or <code>null</code>34 * @param added The added primitives or <code>null</code>42 * @param modified The modified primitives 43 * @param deleted The deleted primitives 44 * @param added The added primitives 35 45 */ 36 46 void fillModifiedData(Collection<OsmPrimitive> modified,
Note:
See TracChangeset
for help on using the changeset viewer.
