Changeset 16630 in osm


Ignore:
Timestamp:
2009-07-21T22:12:17+02:00 (15 years ago)
Author:
jttt
Message:

Make it work without Main.ds

Location:
applications/editors/josm/plugins/graphview
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/graphview/.classpath

    r16520 r16630  
    22<classpath>
    33        <classpathentry kind="src" path="src"/>
    4         <classpathentry combineaccessrules="false" kind="src" path="/josm"/>
    5         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 5"/>
     4        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 6"/>
     5        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    66        <classpathentry kind="output" path="build"/>
    77</classpath>
  • applications/editors/josm/plugins/graphview/.project

    r16520 r16630  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<projectDescription>
    3         <name>validator</name>
     3        <name>JOSM-graphview</name>
    44        <comment></comment>
    55        <projects>
  • applications/editors/josm/plugins/graphview/build.xml

    r16605 r16630  
    5757                <attribute name="Plugin-Description" value="Visualizes routing information as a routing graph."/>
    5858                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Graphview"/>
    59                 <attribute name="Plugin-Mainversion" value="1788"/>
     59                <attribute name="Plugin-Mainversion" value="1815"/>
    6060                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    6161            </manifest>
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/data/JOSMDataSource.java

    r16520 r16630  
    5050
    5151        public Iterable<Node> getNodes() {
    52                 return new FilteredOsmPrimitiveIterable<Node>(Main.ds.nodes);
     52                return new FilteredOsmPrimitiveIterable<Node>(Main.main.getCurrentDataSet().nodes);
    5353        }
    5454
    5555        public Iterable<Relation> getRelations() {
    56                 return new FilteredRelationIterable(Main.ds.relations);
     56                return new FilteredRelationIterable(Main.main.getCurrentDataSet().relations);
    5757        }
    5858
    5959        public Iterable<Way> getWays() {
    60                 return new FilteredOsmPrimitiveIterable<Way>(Main.ds.ways);
     60                return new FilteredOsmPrimitiveIterable<Way>(Main.main.getCurrentDataSet().ways);
    6161        }
    6262
Note: See TracChangeset for help on using the changeset viewer.