Package | Description |
---|---|
org.openstreetmap.josm.gui.dialogs.properties | |
org.openstreetmap.josm.gui.tagging |
Modifier and Type | Method and Description |
---|---|
void |
PresetListPanel.updatePresets(java.util.Collection<TaggingPresetType> types,
java.util.Map<java.lang.String,java.lang.String> tags,
PresetHandler presetHandler)
Updates the preset list based on the
tags and types ,
and associates an interaction with (matching) presets via presetHandler . |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,java.util.EnumSet<TaggingPresetType>> |
TaggingPresetItems.TYPE_CACHE |
java.util.EnumSet<TaggingPresetType> |
TaggingPreset.types
The types as preparsed collection.
|
java.util.EnumSet<TaggingPresetType> |
TaggingPresetItems.Role.types |
private java.util.EnumSet<TaggingPresetType> |
TaggingPresetSelector.typesInSelection |
Modifier and Type | Method and Description |
---|---|
static TaggingPresetType |
TaggingPresetType.forPrimitive(OsmPrimitive p) |
static TaggingPresetType |
TaggingPresetType.forPrimitiveType(OsmPrimitiveType type) |
static TaggingPresetType |
TaggingPresetType.fromString(java.lang.String type) |
static TaggingPresetType |
TaggingPresetType.valueOf(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<TaggingPresetType> |
TaggingPresetItems.getType(java.lang.String types) |
private java.util.EnumSet<TaggingPresetType> |
TaggingPresetSelector.getTypesInSelection() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<TaggingPreset> |
TaggingPreset.getMatchingPresets(java.util.Collection<TaggingPresetType> t,
java.util.Map<java.lang.String,java.lang.String> tags,
boolean onlyShowable) |
java.util.List<TaggingPresetSelector.PresetClassification> |
TaggingPresetSelector.PresetClassifications.getMatchingPresets(java.lang.String[] groupWords,
java.lang.String[] nameWords,
boolean onlyApplicable,
boolean inTags,
java.util.EnumSet<TaggingPresetType> presetTypes,
java.util.Collection<? extends OsmPrimitive> selectedPrimitives) |
java.util.List<TaggingPresetSelector.PresetClassification> |
TaggingPresetSelector.PresetClassifications.getMatchingPresets(java.lang.String searchText,
boolean onlyApplicable,
boolean inTags,
java.util.EnumSet<TaggingPresetType> presetTypes,
java.util.Collection<? extends OsmPrimitive> selectedPrimitives) |
boolean |
TaggingPreset.matches(java.util.Collection<TaggingPresetType> t,
java.util.Map<java.lang.String,java.lang.String> tags,
boolean onlyShowable) |
boolean |
TaggingPreset.typeMatches(java.util.Collection<TaggingPresetType> t) |