Interface TaggingPresetHandler
-
- All Known Implementing Classes:
PropertiesDialog.TaggingPresetCommandHandler
public interface TaggingPresetHandler
This interface needs to be implemented in order to display a tagging preset. It allows the preset dialog to query the primitives it should be displayed for and modify them.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getSelection
Collection<OsmPrimitive> getSelection()
Gets the selection the preset should be applied to.- Returns:
- A collection of primitives.
-
updateTags
void updateTags(List<Tag> tags)
Update the given tags on the selection.- Parameters:
tags
- The tags to update.
-
-