Changeset 30421 in osm for applications/editors/josm/plugins/utilsplugin2/src/org
- Timestamp:
- 2014-04-27T17:42:18+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/NodeWayUtils.java
r30419 r30421 3 3 4 4 import org.openstreetmap.josm.data.osm.Relation; 5 5 6 import java.util.ArrayList; 6 7 import java.util.Iterator; … … 11 12 12 13 import javax.swing.JOptionPane; 14 13 15 import org.openstreetmap.josm.Main; 14 16 import org.openstreetmap.josm.data.coor.EastNorth; … … 20 22 import org.openstreetmap.josm.gui.Notification; 21 23 import org.openstreetmap.josm.tools.Geometry; 24 22 25 import static org.openstreetmap.josm.tools.I18n.tr; 26 23 27 import org.openstreetmap.josm.tools.Pair; 24 28 … … 510 514 ArrayList<EastNorth> points = new ArrayList<EastNorth>(1000); 511 515 for (Way way: ways) { 512 for (EastNorth en: getWayPoints(way)) points.add(en); 516 for (EastNorth en: getWayPoints(way)) { 517 points.add(en); 518 } 513 519 points.add(null); // next segment indicator 514 520 } … … 528 534 return w.getNode(idx++).getEastNorth(); 529 535 } 536 @Override public void remove() { 537 throw new UnsupportedOperationException(); 538 } 530 539 }; 531 540 } 532 541 }; 533 542 } 534 535 543 }
Note:
See TracChangeset
for help on using the changeset viewer.