Changeset 29854 in osm for applications/editors/josm/plugins/openstreetbugs
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/openstreetbugs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the openstreetbugs plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="openstreetbugs" default="dist" basedir="."> 28 3 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 29 <property name="plugin.main.version" value=" 4980"/>4 <property name="plugin.main.version" value="6162"/> 30 5 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 6 <property name="plugin.dist.dir" value="../../dist"/> 32 7 <property name="plugin.build.dir" value="build"/> 33 8 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 34 <property name="ant.build.javac.target" value="1. 5"/>9 <property name="ant.build.javac.target" value="1.6"/> 35 10 <target name="init"> 36 11 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java
r23191 r29854 30 30 import static org.openstreetmap.josm.tools.I18n.tr; 31 31 32 import java.awt.geom.Point2D;33 32 import java.util.concurrent.TimeUnit; 34 33 35 34 import org.openstreetmap.josm.Main; 35 import org.openstreetmap.josm.data.coor.EastNorth; 36 36 37 37 public class OsbDownloadLoop extends Thread { … … 47 47 private OsbPlugin plugin; 48 48 49 private Point2DlastCenter;49 private EastNorth lastCenter; 50 50 51 51 public OsbDownloadLoop() { … … 70 70 // zoomed the map 71 71 if(Main.map != null && Main.map.mapView != null) { 72 Point2DcurrentCenter = Main.map.mapView.getCenter();72 EastNorth currentCenter = Main.map.mapView.getCenter(); 73 73 if(currentCenter != null && !currentCenter.equals(lastCenter)) { 74 74 resetCountdown();
Note:
See TracChangeset
for help on using the changeset viewer.