Changeset 21477 in osm for applications/editors


Ignore:
Timestamp:
2010-05-28T08:00:04+02:00 (14 years ago)
Author:
jttt
Message:

Adapt to latest JOSM

Location:
applications/editors/josm/plugins/wms-turbo-challenge2
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wms-turbo-challenge2/build.xml

    r21187 r21477  
    6666                <attribute name="Plugin-Description" value="Drive a race car from point A to point B over aerial imagery, leave cacti behind."/>
    6767                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMS_Racer"/>
    68                 <attribute name="Plugin-Mainversion" value="3096"/>
     68                <attribute name="Plugin-Mainversion" value="3252"/>
    6969                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    7070            </manifest>
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java

    r19990 r21477  
    1616package wmsturbochallenge;
    1717
    18 import org.openstreetmap.josm.gui.MapView;
     18import java.awt.Graphics;
     19import java.awt.Graphics2D;
     20import java.awt.Point;
     21import java.awt.image.BufferedImage;
     22
    1923import org.openstreetmap.josm.data.ProjectionBounds;
    2024import org.openstreetmap.josm.data.coor.EastNorth;
    21 
    22 import java.awt.Point;
    23 import java.awt.Graphics;
    24 import java.awt.Graphics2D;
    25 import java.awt.image.BufferedImage;
     25import org.openstreetmap.josm.gui.MapView;
    2626
    2727class fake_map_view extends MapView {
     
    3737
    3838        public fake_map_view(MapView parent, double scale) {
     39                super(null); //TODO MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view
    3940                this.parent = parent;
    4041                this.scale = scale;
Note: See TracChangeset for help on using the changeset viewer.