Changeset 220 in josm for src/org/openstreetmap/josm


Ignore:
Timestamp:
2007-04-27T20:45:40+02:00 (17 years ago)
Author:
framm
Message:

Patch by Damian Sulewski <Damian.Sulewski@…> that adds an extra property to OsmPrimitive so that plugins (e.g. mappaint) can flag whether or not an object is shown without having to keep an extra hash table of all objects.

File:
1 edited

Legend:

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

    r203 r220  
    5454         */
    5555        public boolean deleted = false;
     56
     57        /**
     58         * <code>true</code>, if the object has been shown. This property is not used
     59         * internally by JOSM, but can be used by plugins that take over the object
     60         * rendering.
     61         */
     62        public volatile boolean shown = false;
    5663
    5764        /**
Note: See TracChangeset for help on using the changeset viewer.