Ignore:
Timestamp:
2011-09-12T19:31:56+02:00 (13 years ago)
Author:
akks
Message:

'Utilsplugin2: select all inside (testing)'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectAllInsideAction.java

    r26644 r26646  
    1616
    1717import org.openstreetmap.josm.tools.Shortcut;
     18import sun.awt.windows.WWindowPeer;
    1819
    1920/**
     
    3536
    3637        Set<Way> selectedWays = OsmPrimitive.getFilteredSet(getCurrentDataSet().getSelected(), Way.class);
     38        for (Way w: selectedWays) {
     39            if (!w.isClosed()) selectedWays.remove(w);
     40        }
    3741
    3842        // select ways attached to already selected ways
     
    4852        } else {
    4953             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!"),
    5155               tr("Warning"), JOptionPane.WARNING_MESSAGE);
    5256        }
Note: See TracChangeset for help on using the changeset viewer.