Changeset 3116 in josm for trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.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/OsmPrimitive.java
r3056 r3116 229 229 * If allowNegativeId is not set, then id will have to be 0 (in that case new unique id will be generated) or 230 230 * positive number. 231 * 231 * 232 232 * If id is not > 0 version is ignored and set to 0. 233 233 * … … 475 475 * show which ways/nodes will connect 476 476 */ 477 p ublicvolatile boolean highlighted = false;477 private volatile boolean highlighted = false; 478 478 479 479 private int timestamp; … … 1288 1288 return dataSet != null && dataSet.isSelected(this); 1289 1289 } 1290 1291 public void setHighlighted(boolean highlighted) { 1292 if (this.highlighted != highlighted) { 1293 this.highlighted = highlighted; 1294 if (dataSet != null) { 1295 dataSet.fireHighlightingChanged(this); 1296 } 1297 } 1298 } 1299 1300 public boolean isHighlighted() { 1301 return highlighted; 1302 } 1290 1303 }
Note: See TracChangeset
for help on using the changeset viewer.
