Changeset 753 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2008-08-06T18:53:20+02:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SelectAllAction.java
r627 r753 16 16 17 17 public void actionPerformed(ActionEvent e) { 18 Main.ds.setSelected(Main.ds.allNonDeletedP rimitives());18 Main.ds.setSelected(Main.ds.allNonDeletedPhysicalPrimitives()); 19 19 } 20 20 } -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r627 r753 88 88 Collection<OsmPrimitive> sel = Main.ds.getSelected(); 89 89 SearchCompiler.Match matcher = SearchCompiler.compile(search, caseSensitive); 90 for (OsmPrimitive osm : Main.ds.allNonDeletedP rimitives()) {90 for (OsmPrimitive osm : Main.ds.allNonDeletedPhysicalPrimitives()) { 91 91 if (mode == SearchMode.replace) { 92 92 if (matcher.match(osm)) -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r746 r753 78 78 for (OsmPrimitive osm : allPrimitives()) 79 79 if (!osm.deleted) 80 o.add(osm); 81 return o; 82 } 83 84 public Collection<OsmPrimitive> allNonDeletedPhysicalPrimitives() { 85 Collection<OsmPrimitive> o = new LinkedList<OsmPrimitive>(); 86 for (OsmPrimitive osm : allPrimitives()) 87 if (!osm.deleted && !osm.incomplete && !(osm instanceof Relation)) 80 88 o.add(osm); 81 89 return o;
Note:
See TracChangeset
for help on using the changeset viewer.