Uses of Class
org.openstreetmap.josm.gui.tagging.presets.TaggingPresetType
-
Packages that use TaggingPresetType Package Description org.openstreetmap.josm.gui.dialogs.properties Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.org.openstreetmap.josm.gui.tagging Provides classes for handling edition of OSM tags: tag tables, tag editors.org.openstreetmap.josm.gui.tagging.presets Provides classes for handling tagging presets.org.openstreetmap.josm.gui.tagging.presets.items Provides classes for handling tagging presets items. -
-
Uses of TaggingPresetType in org.openstreetmap.josm.gui.dialogs.properties
Method parameters in org.openstreetmap.josm.gui.dialogs.properties with type arguments of type TaggingPresetType Modifier and Type Method Description void
PresetListPanel. updatePresets(Collection<TaggingPresetType> types, Map<String,String> tags, TaggingPresetHandler presetHandler)
Updates the preset list based on thetags
andtypes
, and associates an interaction with (matching) presets viapresetHandler
. -
Uses of TaggingPresetType in org.openstreetmap.josm.gui.tagging
Methods in org.openstreetmap.josm.gui.tagging that return types with arguments of type TaggingPresetType Modifier and Type Method Description Collection<TaggingPresetType>
TagEditorModel. getTaggingPresetTypes()
Returns the list of tagging presets types to consider when updating the presets list panel. -
Uses of TaggingPresetType in org.openstreetmap.josm.gui.tagging.presets
Fields in org.openstreetmap.josm.gui.tagging.presets with type parameters of type TaggingPresetType Modifier and Type Field Description private static Map<String,Set<TaggingPresetType>>
TaggingPresetItem. TYPE_CACHE
Set<TaggingPresetType>
TaggingPreset. types
The types as preparsed collection.private Set<TaggingPresetType>
TaggingPresetSelector. typesInSelection
Methods in org.openstreetmap.josm.gui.tagging.presets that return TaggingPresetType Modifier and Type Method Description static TaggingPresetType
TaggingPresetType. forPrimitive(IPrimitive p)
Determines theTaggingPresetType
of a given primitive.static TaggingPresetType
TaggingPresetType. forPrimitiveType(OsmPrimitiveType type)
Determines theTaggingPresetType
of a given primitive type.static TaggingPresetType
TaggingPresetType. fromString(String type)
Determines theTaggingPresetType
from a given string.static TaggingPresetType
TaggingPresetType. valueOf(String name)
Returns the enum constant of this type with the specified name.static TaggingPresetType[]
TaggingPresetType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.openstreetmap.josm.gui.tagging.presets that return types with arguments of type TaggingPresetType Modifier and Type Method Description protected static Set<TaggingPresetType>
TaggingPresetItem. getType(String types)
private Set<TaggingPresetType>
TaggingPresetSelector. getTypesInSelection()
Method parameters in org.openstreetmap.josm.gui.tagging.presets with type arguments of type TaggingPresetType Modifier and Type Method Description static Collection<TaggingPreset>
TaggingPresets. getMatchingPresets(Collection<TaggingPresetType> t, Map<String,String> tags, boolean onlyShowable)
Replies a new collection of all presets matching the parameters.List<TaggingPresetSelector.PresetClassification>
TaggingPresetSelector.PresetClassifications. getMatchingPresets(String[] groupWords, String[] nameWords, boolean onlyApplicable, boolean inTags, Set<TaggingPresetType> presetTypes, Collection<? extends OsmPrimitive> selectedPrimitives)
List<TaggingPresetSelector.PresetClassification>
TaggingPresetSelector.PresetClassifications. getMatchingPresets(String searchText, boolean onlyApplicable, boolean inTags, Set<TaggingPresetType> presetTypes, Collection<? extends OsmPrimitive> selectedPrimitives)
boolean
TaggingPreset. matches(Collection<TaggingPresetType> t, Map<String,String> tags, boolean onlyShowable)
Determines whether this preset matches the parameters.boolean
TaggingPreset. typeMatches(Collection<TaggingPresetType> t)
Determines whether this preset matches the types. -
Uses of TaggingPresetType in org.openstreetmap.josm.gui.tagging.presets.items
Fields in org.openstreetmap.josm.gui.tagging.presets.items with type parameters of type TaggingPresetType Modifier and Type Field Description Set<TaggingPresetType>
Roles.Role. types
Presets types expected for this role
-