Changeset 25260 in osm


Ignore:
Timestamp:
2011-02-08T20:00:15+01:00 (14 years ago)
Author:
stoecker
Message:

adapt to josm 3872

Location:
applications/editors/josm/plugins/pdfimport
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pdfimport/build.xml

    r25192 r25260  
    3535        <property name="commit.message" value="Initial pdfimport version" />
    3636        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    37         <property name="plugin.main.version" value="3835" />
     37        <property name="plugin.main.version" value="3872" />
    3838
    3939
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/FilePlacement.java

    r24191 r25260  
    1111import org.openstreetmap.josm.data.coor.LatLon;
    1212import org.openstreetmap.josm.data.projection.Projection;
     13import org.openstreetmap.josm.data.projection.Projections;
    1314
    1415public class FilePlacement {
     
    6566
    6667                if (className != null) {
    67                         for(Projection proj: Projection.allProjections){
     68                        for(Projection proj: Projections.getProjections()){
    6869                                if (proj.getClass().getCanonicalName().equals(className)){
    6970                                        projection = proj;
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java

    r24654 r25260  
    4141import org.openstreetmap.josm.data.osm.OsmPrimitive;
    4242import org.openstreetmap.josm.data.projection.Projection;
     43import org.openstreetmap.josm.data.projection.Projections;
    4344import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    4445import org.openstreetmap.josm.gui.progress.ProgressMonitor;
     
    208209                this.projectionCombo = new JComboBox();
    209210                this.projectionCombo.addItem("Select projection...");
    210                 for (Projection p: Projection.allProjections) {
     211                for (Projection p: Projections.getProjections()) {
    211212                        this.projectionCombo.addItem(p);
    212213                }
Note: See TracChangeset for help on using the changeset viewer.