Ignore:
Timestamp:
2008-02-06T16:45:02+01:00 (18 years ago)
Author:
gabriel
Message:

wmsplugin: Move graber chooser out of WMSDownloadAction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSInfo.java

    r6776 r6780  
    1212        String name;
    1313        String url;
     14        Grabber grabber;
    1415        int prefid;
    1516       
     17        public WMSInfo(String name, String url, Grabber grabber, int prefid) {
     18                this.name=name; this.url=url; this.prefid=prefid;
     19                this.grabber = grabber;
     20        }
     21
    1622        public WMSInfo(String name, String url, int prefid) {
    17                 this.name=name; this.url=url; this.prefid=prefid;
     23                this(name, url, WMSPlugin.getGrabber(url), prefid);
    1824        }
    1925       
Note: See TracChangeset for help on using the changeset viewer.