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.presets |
Provides classes for handling tagging presets.
|
org.openstreetmap.josm.gui.tagging.presets.items |
Provides classes for handling tagging presets items.
|
Modifier and Type | Method and Description |
---|---|
void |
PresetListPanel.updatePresets(Collection<TaggingPresetType> types,
Map<String,String> tags,
TaggingPresetHandler 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,Set<TaggingPresetType>> |
TaggingPresetItem.TYPE_CACHE |
Set<TaggingPresetType> |
TaggingPreset.types
The types as preparsed collection.
|
private Set<TaggingPresetType> |
TaggingPresetSelector.typesInSelection |
Modifier and Type | Method and Description |
---|---|
static TaggingPresetType |
TaggingPresetType.forPrimitive(OsmPrimitive p)
Determines the
TaggingPresetType of a given primitive. |
static TaggingPresetType |
TaggingPresetType.forPrimitiveType(OsmPrimitiveType type)
Determines the
TaggingPresetType of a given primitive type. |
static TaggingPresetType |
TaggingPresetType.fromString(String type)
Determines the
TaggingPresetType 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.
|
Modifier and Type | Method and Description |
---|---|
protected static Set<TaggingPresetType> |
TaggingPresetItem.getType(String types) |
private Set<TaggingPresetType> |
TaggingPresetSelector.getTypesInSelection() |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
Set<TaggingPresetType> |
Roles.Role.types |