Changeset 10788 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java
- Timestamp:
- 2016-08-12T12:17:25+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java
r10611 r10788 12 12 import java.util.ArrayList; 13 13 import java.util.Arrays; 14 import java.util.Collection; 14 15 import java.util.LinkedHashSet; 15 16 import java.util.List; … … 45 46 import org.openstreetmap.josm.gui.layer.OsmDataLayer.CommandQueueListener; 46 47 import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher; 47 import org.openstreetmap.josm.tools.FilteredCollection;48 48 import org.openstreetmap.josm.tools.GBC; 49 49 import org.openstreetmap.josm.tools.ImageProvider; 50 50 import org.openstreetmap.josm.tools.InputMapUtils; 51 51 import org.openstreetmap.josm.tools.Shortcut; 52 import org.openstreetmap.josm.tools.SubclassFilteredCollection; 52 53 53 54 /** … … 331 332 * @return collection of affected primitives, onluy usable ones 332 333 */ 333 protected static FilteredCollection<? extends OsmPrimitive> getAffectedPrimitives(TreePath path) {334 protected static Collection<? extends OsmPrimitive> getAffectedPrimitives(TreePath path) { 334 335 PseudoCommand c = ((CommandListMutableTreeNode) path.getLastPathComponent()).getCommand(); 335 336 final OsmDataLayer currentLayer = Main.getLayerManager().getEditLayer(); 336 return new FilteredCollection<>(337 return new SubclassFilteredCollection<>( 337 338 c.getParticipatingPrimitives(), 338 339 o -> {
Note:
See TracChangeset
for help on using the changeset viewer.