Changeset 4844 in osm for applications/editors/josm/plugins
- Timestamp:
- 2007-10-07T13:38:17+02:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java
r4843 r4844 180 180 } 181 181 } 182 183 public void visit(Relation r) {} 182 184 183 185 /** -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/Test.java
r4843 r4844 131 131 132 132 public void visit(Way w) {} 133 134 public void visit(Relation r) {} 133 135 134 136 /** -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java
r4843 r4844 307 307 } 308 308 } 309 310 public void visit(Relation r) 311 { 312 /* No idea how to draw a relation. */ 313 } 309 314 310 315 /** -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/AgregatePrimitivesVisitor.java
r4843 r4844 55 55 } 56 56 57 public void visit(Relation r) { 58 // Relations can be cyclic so don't visit them twice. 59 if (!aggregatedData.contains(r)) { 60 aggregatedData.add(r); 61 for (RelationMember m : r.members) { 62 m.member.visit(this); 63 } 64 } 65 } 66 57 67 /** 58 68 * A comparator that orders nodes first, ways last.
Note:
See TracChangeset
for help on using the changeset viewer.