Ignore:
Timestamp:
2011-01-13T23:27:42+01:00 (14 years ago)
Author:
pieren
Message:

Move the grabber single instance from CadastrePlugin singleton to each WMSLayer instance to allow several municipalities grabbing in parallel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java

    r25033 r25045  
    4646    private int lambertZone = -1;
    4747
     48    public CadastreGrabber grabber = new CadastreGrabber();
     49
    4850    protected static final Icon icon = new ImageIcon(Toolkit.getDefaultToolkit().createImage(
    4951            CadastrePlugin.class.getResource("/images/cadastre_small.png")));
     
    126128    }
    127129
    128     public void grab(CadastreGrabber grabber, Bounds b) throws IOException {
     130    public void grab(Bounds b) throws IOException {
    129131        grabThread.setCancelled(false);
    130132        grabThread.setGrabber(grabber);
Note: See TracChangeset for help on using the changeset viewer.