Class PropertiesDialog.TaggingPresetCommandHandler
- java.lang.Object
-
- org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.TaggingPresetCommandHandler
-
- All Implemented Interfaces:
TaggingPresetHandler
- Enclosing class:
- PropertiesDialog
static final class PropertiesDialog.TaggingPresetCommandHandler extends Object implements TaggingPresetHandler
-
-
Constructor Summary
Constructors Constructor Description TaggingPresetCommandHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<OsmPrimitive>
getSelection()
Gets the selection the preset should be applied to.void
updateTags(List<Tag> tags)
Update the given tags on the selection.
-
-
-
Constructor Detail
-
TaggingPresetCommandHandler
TaggingPresetCommandHandler()
-
-
Method Detail
-
updateTags
public void updateTags(List<Tag> tags)
Description copied from interface:TaggingPresetHandler
Update the given tags on the selection.- Specified by:
updateTags
in interfaceTaggingPresetHandler
- Parameters:
tags
- The tags to update.
-
getSelection
public Collection<OsmPrimitive> getSelection()
Description copied from interface:TaggingPresetHandler
Gets the selection the preset should be applied to.- Specified by:
getSelection
in interfaceTaggingPresetHandler
- Returns:
- A collection of primitives.
-
-