Changeset 16409 in osm


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

updated

Location:
applications/editors/josm/plugins
Files:
8 edited

Legend:

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

    r16382 r16409  
    3535        <ant antfile="build.xml" target="dist" dir="terracer"/>
    3636        <ant antfile="build.xml" target="dist" dir="usertools"/>
    37         <ant antfile="build.xml" target="dist" dir="utilsplugin"/>
    38         <ant antfile="build.xml" target="dist" dir="validator"/>
     37<!--        <ant antfile="build.xml" target="dist" dir="utilsplugin"/>
     38-->        <ant antfile="build.xml" target="dist" dir="validator"/>
    3939        <ant antfile="build.xml" target="dist" dir="waydownloader"/>
    4040        <ant antfile="build.xml" target="dist" dir="wmsplugin"/>
  • applications/editors/josm/plugins/routing/build.xml

    r16294 r16409  
    4444                <attribute name="Plugin-Description" value="Provides routing capabilities."/>
    4545                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/>
    46                 <attribute name="Plugin-Mainversion" value="1725"/>
     46                <attribute name="Plugin-Mainversion" value="1755"/>
    4747                <attribute name="Plugin-Stage" value="50"/>
    4848                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java

    r15707 r16409  
    160160
    161161    public void addLayer() {
    162         OsmDataLayer osmLayer = Main.main.editLayer();
     162        OsmDataLayer osmLayer = Main.map.mapView.getEditLayer();
    163163        RoutingLayer layer = new RoutingLayer(tr("Routing") + " [" + osmLayer.name + "]", osmLayer);
    164164        layers.add(layer);
  • 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        }
  • applications/editors/josm/plugins/validator/build.xml

    r16294 r16409  
    2626                <attribute name="Plugin-Description" value="An OSM data validator. It checks for problems in data, and provides fixes for the common ones. Spellcheck integrated for tag names."/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Validator"/>
    28                 <attribute name="Plugin-Mainversion" value="1725"/>
     28                <attribute name="Plugin-Mainversion" value="1755"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ErrorLayer.java

    r13497 r16409  
    132132     */
    133133    public void layerRemoved(Layer oldLayer) {
    134         if (oldLayer == Main.map.mapView.editLayer) {
     134        if (oldLayer == Main.map.mapView.getEditLayer()) {
    135135            Main.map.mapView.removeLayer(this);
    136136        } else if (oldLayer == this) {
Note: See TracChangeset for help on using the changeset viewer.