Ignore:
Timestamp:
2009-07-09T14:36:03+02:00 (16 years ago)
Author:
stoecker
Message:

updated

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

Legend:

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

    r16290 r16409  
    3737                <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions."/>
    3838                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Surveyor"/>
    39                 <attribute name="Plugin-Mainversion" value="1722"/>
     39                <attribute name="Plugin-Mainversion" value="1755"/>
    4040                <attribute name="Plugin-Requires" value="livegps"/>
    4141                <attribute name="Plugin-Stage" value="60"/>
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java

    r14406 r16409  
    3939    @Override
    4040    public void run() {
    41         if(Main.map == null || Main.map.mapView == null || Main.map.mapView.editLayer == null) {
     41        if(Main.map == null || Main.map.mapView == null || Main.map.mapView.getEditLayer() == null) {
    4242            return;
    4343        }
    44         OsmDataLayer layer = Main.map.mapView.editLayer;
     44        OsmDataLayer layer = Main.map.mapView.getEditLayer();
    4545        try {
    4646            DataSet dataset = layer.data;
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetNodeAction.java

    r13497 r16409  
    7070        node.put("created_by", "JOSM-surveyor-plugin");
    7171        synchronized(LiveGpsLock.class) {
    72             Main.main.editLayer().data.nodes.add(node);
     72            Main.map.mapView.getEditLayer().data.nodes.add(node);
    7373            Main.ds.setSelected(node);
    7474        }
Note: See TracChangeset for help on using the changeset viewer.