Ignore:
Timestamp:
2005-12-03T14:14:35+01:00 (20 years ago)
Author:
imi
Message:
  • Removed edit layer, combine action, save gpx (integrated in normal save)
  • Simplified and unified shortkeys
  • many small code simplifications
  • added undo
  • broken checkin!
File:
1 edited

Legend:

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

    r23 r30  
    1111 * one atomic action on a specific dataset, such as move or delete.
    1212 *
     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 *
    1317 * @author imi
    1418 */
     
    2125
    2226        /**
     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        /**
    2334         * Give a description of the command as component to draw
    2435         */
     
    2637       
    2738        /**
    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.
    3141         *
    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
    3545         */
    3646        void fillModifiedData(Collection<OsmPrimitive> modified,
Note: See TracChangeset for help on using the changeset viewer.