Changeset 3116 in josm for trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
- Timestamp:
- 11.03.2010 21:01:49 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r3102 r3116 58 58 // Number of open calls to beginUpdate 59 59 private int updateCount; 60 61 private int highlightUpdateCount; 62 63 /** 64 * This method can be used to detect changes in highlight state of primitives. If highlighting was changed 65 * then the method will return different number. 66 * @return 67 */ 68 public int getHighlightUpdateCount() { 69 return highlightUpdateCount; 70 } 60 71 61 72 /** … … 314 325 * Replies an unmodifiable collection of primitives currently selected 315 326 * in this dataset 316 * 327 * 317 328 * @return unmodifiable collection of primitives 318 329 */ … … 897 908 } 898 909 910 void fireHighlightingChanged(OsmPrimitive primitive) { 911 highlightUpdateCount++; 912 } 913 899 914 public void clenupDeletedPrimitives() { 900 915 if (cleanupDeleted(nodes.iterator())
Note: See TracChangeset
for help on using the changeset viewer.
