Ignore:
Timestamp:
2009-06-17T09:46:26+02:00 (15 years ago)
Author:
stoecker
Message:

fix build issues

File:
1 edited

Legend:

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

    r13784 r15961  
    1616    private static final long serialVersionUID = 1L;
    1717
    18         public WMSDownloadAction(String layerName) {
    19                 super(layerName, "wmsmenu", tr("Download WMS tile from {0}",layerName), null, false);
    20         }
    21        
    22         public void actionPerformed(ActionEvent e) {           
    23                 DownloadWMSTask.download(getLayer());
    24         }
     18    public WMSDownloadAction(String layerName) {
     19        super(layerName, "wmsmenu", tr("Download WMS tile from {0}",layerName), null, false);
     20    }
    2521
    26         public static WMSLayer getLayer() {
    27                 // check if we already have a layer created. if not, create; if yes, reuse.
     22    public void actionPerformed(ActionEvent e) {
     23        DownloadWMSTask.download(getLayer());
     24    }
     25
     26    public static WMSLayer getLayer() {
     27        // check if we already have a layer created. if not, create; if yes, reuse.
    2828        if (Main.map != null) {
    2929            Layer activeLayer = Main.map.mapView.getActiveLayer();
     
    4444        }
    4545        return null;
    46         }
     46    }
    4747};
    4848
Note: See TracChangeset for help on using the changeset viewer.