Ignore:
Timestamp:
2009-11-02T08:53:38+01:00 (15 years ago)
Author:
jttt
Message:

Replace Dataset.nodes with getNodes(), etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/data/JOSMDataSource.java

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