Changeset 22547 in osm for applications/editors/josm/plugins/imagewaypoint
- Timestamp:
- 2010-08-03T08:11:51+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/imagewaypoint
- Files:
-
- 2 edited
-
build.xml (modified) (3 diffs)
-
src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointLayer.java (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagewaypoint/build.xml
r19444 r22547 33 33 <property name="commit.message" value="Updated the constructor signature of the plugin main class" /> 34 34 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 35 <property name="plugin.main.version" value=" 2830" />35 <property name="plugin.main.version" value="3408" /> 36 36 37 37 <property name="josm" location="../../core/dist/josm-custom.jar"/> … … 91 91 92 92 <!-- 93 ************************** Publishing the plugin *********************************** 93 ************************** Publishing the plugin *********************************** 94 94 --> 95 95 <!-- 96 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 96 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 97 97 ** property ${coreversion.info.entry.revision} 98 98 ** … … 143 143 144 144 <!-- 145 ** commits the plugin.jar 145 ** commits the plugin.jar 146 146 --> 147 147 <target name="commit-dist"> 148 148 <echo> 149 149 ***** Properties of published ${plugin.jar} ***** 150 Commit message : '${commit.message}' 150 Commit message : '${commit.message}' 151 151 Plugin-Mainversion: ${plugin.main.version} 152 152 JOSM build version: ${coreversion.info.entry.revision} 153 153 Plugin-Version : ${version.entry.commit.revision} 154 ***** / Properties of published ${plugin.jar} ***** 155 154 ***** / Properties of published ${plugin.jar} ***** 155 156 156 Now commiting ${plugin.jar} ... 157 157 </echo> -
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.
