Changeset 24026 in osm for applications/editors/josm
- Timestamp:
- 2010-11-02T19:14:17+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r24023 r24026 142 142 for (IAddressEditContainerListener listener : shadowListeners) { 143 143 listener.containerChanged(this); 144 } 145 } 146 147 /** 148 * Notifies clients that an entity within the address container changed. 149 */ 150 protected void fireEntityChanged(INodeEntity entity) { 151 if (entity == null) throw new RuntimeException("Entity must not be null"); 152 153 List<IAddressEditContainerListener> shadowListeners = 154 new ArrayList<IAddressEditContainerListener>(listeners); 155 156 for (IAddressEditContainerListener listener : shadowListeners) { 157 listener.entityChanged(entity); 144 158 } 145 159 } … … 643 657 @Override 644 658 public void entityChanged(INodeEntity entity) { 645 invalidate();659 fireEntityChanged(entity); 646 660 } 647 661 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressNode.java
r24023 r24026 374 374 public void setGuessedValue(String tag, String value) { 375 375 guessedValues.put(tag, value); 376 fireEntityChanged(this); 376 377 } 377 378 … … 406 407 */ 407 408 public void setDerivedValue(String tag, String value) { 408 derivedValues.put(tag, value); 409 derivedValues.put(tag, value); 409 410 } 410 411
Note:
See TracChangeset
for help on using the changeset viewer.