Changeset 16620 in osm for applications/editors/josm/plugins/Create_grid_of_ways/src
- Timestamp:
- 2009-07-21T20:29:20+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/Create_grid_of_ways
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/Create_grid_of_ways
- Property svn:ignore
-
old new 1 1 build 2 3 bin
-
- Property svn:ignore
-
applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java
r16290 r16620 7 7 import java.util.Collection; 8 8 import java.util.LinkedList; 9 9 10 import javax.swing.JOptionPane; 10 11 … … 14 15 import org.openstreetmap.josm.command.Command; 15 16 import org.openstreetmap.josm.command.SequenceCommand; 17 import org.openstreetmap.josm.data.coor.LatLon; 16 18 import org.openstreetmap.josm.data.osm.Node; 17 19 import org.openstreetmap.josm.data.osm.OsmPrimitive; 18 20 import org.openstreetmap.josm.data.osm.Way; 19 21 import org.openstreetmap.josm.tools.Shortcut; 20 import org.openstreetmap.josm.data.coor.LatLon;21 22 22 23 /** … … 46 47 */ 47 48 public void actionPerformed(ActionEvent e) { 48 Collection<OsmPrimitive> sel = Main. ds.getSelected();49 Collection<OsmPrimitive> sel = Main.main.getCurrentDataSet().getSelected(); 49 50 Collection<Node> nodesWay1 = new LinkedList<Node>(); 50 51 Collection<Node> nodesWay2 = new LinkedList<Node>();
Note:
See TracChangeset
for help on using the changeset viewer.