- Timestamp:
- 2016-09-04T18:01:25+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
r10824 r10959 388 388 @Override 389 389 public void destroy() { 390 super.destroy(); 390 391 SystemOfMeasurement.removeSoMChangeListener(drawHelper); 391 392 } -
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r10824 r10959 221 221 AbstractProperty<Color> colorProperty = getColorProperty(); 222 222 if (colorProperty != null) { 223 colorProperty.add WeakListener(invalidateListener);223 colorProperty.addListener(invalidateListener); 224 224 } 225 225 } … … 285 285 public void destroy() { 286 286 // Override in subclasses if needed 287 removeColorPropertyListener(); 287 288 } 288 289 … … 651 652 return v.getBounds(); 652 653 } 654 655 @Override 656 public String toString() { 657 return getClass().getSimpleName() + " [name=" + name + ", associatedFile=" + associatedFile + ']'; 658 } 653 659 } -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r10879 r10959 934 934 @Override 935 935 public void destroy() { 936 super.destroy(); 936 937 DataSet.removeSelectionListener(this); 937 938 }
Note:
See TracChangeset
for help on using the changeset viewer.