Changeset 16799 in osm


Ignore:
Timestamp:
2009-08-03T12:05:48+02:00 (15 years ago)
Author:
guggis
Message:

Updated to JOSM release 1893

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

Legend:

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

    r16409 r16799  
    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="1755"/>
     46                <attribute name="Plugin-Mainversion" value="1893"/>
    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/RoutingLayer.java

    r16294 r16799  
    4848import org.openstreetmap.josm.data.osm.Node;
    4949import org.openstreetmap.josm.data.osm.Way;
    50 import org.openstreetmap.josm.data.osm.WaySegment;
    5150import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    5251import org.openstreetmap.josm.gui.MapView;
     
    184183    public Component[] getMenuEntries() {
    185184        Collection<Component> components = new ArrayList<Component>();
    186         components.add(new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)));
     185        components.add(new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)));
    187186//        components.add(new JMenuItem(new LayerListDialog.ShowHideMarkerText(this)));
    188         components.add(new JMenuItem(new LayerListDialog.DeleteLayerAction(this)));
     187        components.add(new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)));
    189188        components.add(new JSeparator());
    190189        components.add(new JMenuItem(new RenameLayerAction(getAssociatedFile(), this)));
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java

    r16409 r16799  
    161161    public void addLayer() {
    162162        OsmDataLayer osmLayer = Main.map.mapView.getEditLayer();
    163         RoutingLayer layer = new RoutingLayer(tr("Routing") + " [" + osmLayer.name + "]", osmLayer);
     163        RoutingLayer layer = new RoutingLayer(tr("Routing") + " [" + osmLayer.getName() + "]", osmLayer);
    164164        layers.add(layer);
    165165        Main.main.addLayer(layer);
Note: See TracChangeset for help on using the changeset viewer.