Ignore:
Timestamp:
2005-10-27T00:38:03+02:00 (18 years ago)
Author:
imi
Message:
  • added commands to support undo later
  • added Edit-Layer concept
  • painting of deleted objects
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/data/osm/OsmPrimitive.java

    r22 r23  
    11package org.openstreetmap.josm.data.osm;
    22
    3 import java.util.Collection;
    43import java.util.Map;
    54
     
    2019         */
    2120        public Map<Key, String> keys;
    22        
     21
     22        /**
     23         * Unique identifier in OSM. This is used to reidentify objects in the server.
     24         * An id of 0 means an unknown id. The object has not been uploaded yet to
     25         * know what id it will get.
     26         */
     27        public long id = 0;
     28
    2329        /**
    2430         * If set to true, this object has been modified in the current session.
     
    3036         */
    3137        transient private boolean selected = false;
    32 
    33         /**
    34          * Return a list of all nodes, this osmPrimitive consists of. Does return
    35          * an empty list, if it is an primitive that cannot have nodes (e.g. Key)
    36          * TODO replace with visitor
    37          */
    38         abstract public Collection<Node> getAllNodes();
    3938
    4039        /**
Note: See TracChangeset for help on using the changeset viewer.