Changeset 26646 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-09-12T19:31:56+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectAllInsideAction.java
r26644 r26646 16 16 17 17 import org.openstreetmap.josm.tools.Shortcut; 18 import sun.awt.windows.WWindowPeer; 18 19 19 20 /** … … 35 36 36 37 Set<Way> selectedWays = OsmPrimitive.getFilteredSet(getCurrentDataSet().getSelected(), Way.class); 38 for (Way w: selectedWays) { 39 if (!w.isClosed()) selectedWays.remove(w); 40 } 37 41 38 42 // select ways attached to already selected ways … … 48 52 } else { 49 53 JOptionPane.showMessageDialog(Main.parent, 50 tr("Please select some ways to find connected and intersecting ways!"),54 tr("Please select some closed ways to find all primitives inside them!"), 51 55 tr("Warning"), JOptionPane.WARNING_MESSAGE); 52 56 }
Note:
See TracChangeset
for help on using the changeset viewer.