Changeset 22547 in osm for applications/editors/josm/plugins/imagewaypoint/src/org/insignificant
- Timestamp:
- 2010-08-03T08:11:51+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointLayer.java
r18595 r22547 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Component;6 5 import java.awt.Graphics2D; 7 6 import java.awt.Rectangle; … … 10 9 import java.awt.event.MouseListener; 11 10 11 import javax.swing.Action; 12 12 import javax.swing.Icon; 13 13 … … 51 51 } 52 52 53 private static final class ImageChangeListener implements 54 IImageChangeListener { 55 private final ImageWayPointLayer layer; 56 57 public ImageChangeListener(final ImageWayPointLayer layer) { 58 this.layer = layer; 59 } 60 53 private static final class ImageChangeListener implements IImageChangeListener { 61 54 public final void onAvailableImageEntriesChanged( 62 55 final ImageEntries entries) { … … 80 73 Main.map.mapView.addMouseListener(this.layerMouseListener); 81 74 82 this.imageChangeListener = new ImageChangeListener( this);75 this.imageChangeListener = new ImageChangeListener(); 83 76 ImageEntries.getInstance().addListener(this.imageChangeListener); 84 77 } … … 95 88 96 89 @Override 97 public final Component[] getMenuEntries() {98 return new Component[0];90 public final Action[] getMenuEntries() { 91 return new Action[0]; 99 92 } 100 93
Note:
See TracChangeset
for help on using the changeset viewer.