Package | Description |
---|---|
org.openstreetmap.josm.gui.dialogs.properties | |
org.openstreetmap.josm.gui.tagging |
Modifier and Type | Method and Description |
---|---|
void |
PresetListPanel.updatePresets(Collection<TaggingPresetType> types,
Map<String,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 Map<String,EnumSet<TaggingPresetType>> |
TaggingPresetItems.TYPE_CACHE |
EnumSet<TaggingPresetType> |
TaggingPresetItems.Role.types |
EnumSet<TaggingPresetType> |
TaggingPreset.types
The types as preparsed collection.
|
private 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(String type) |
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.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<TaggingPresetType> |
TaggingPresetItems.getType(String types) |
private EnumSet<TaggingPresetType> |
TaggingPresetSelector.getTypesInSelection() |
Modifier and Type | Method and Description |
---|---|
static Collection<TaggingPreset> |
TaggingPreset.getMatchingPresets(Collection<TaggingPresetType> t,
Map<String,String> tags,
boolean onlyShowable) |
List<TaggingPresetSelector.PresetClassification> |
TaggingPresetSelector.PresetClassifications.getMatchingPresets(String[] groupWords,
String[] nameWords,
boolean onlyApplicable,
boolean inTags,
EnumSet<TaggingPresetType> presetTypes,
Collection<? extends OsmPrimitive> selectedPrimitives) |
List<TaggingPresetSelector.PresetClassification> |
TaggingPresetSelector.PresetClassifications.getMatchingPresets(String searchText,
boolean onlyApplicable,
boolean inTags,
EnumSet<TaggingPresetType> presetTypes,
Collection<? extends OsmPrimitive> selectedPrimitives) |
boolean |
TaggingPreset.matches(Collection<TaggingPresetType> t,
Map<String,String> tags,
boolean onlyShowable) |
boolean |
TaggingPreset.typeMatches(Collection<TaggingPresetType> t) |