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.
|
Modifier and Type | Method and Description |
---|---|
void |
PresetListPanel.updatePresets(java.util.Collection<TaggingPresetType> types,
java.util.Map<java.lang.String,java.lang.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 | Method and Description |
---|---|
java.util.Collection<TaggingPresetType> |
TagEditorModel.getTaggingPresetTypes()
Returns the list of tagging presets types to consider when updating the presets list panel.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,java.util.Set<TaggingPresetType>> |
TaggingPresetItem.TYPE_CACHE |
java.util.Set<TaggingPresetType> |
TaggingPreset.types
The types as preparsed collection.
|
private java.util.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(java.lang.String type)
Determines the
TaggingPresetType from a given string. |
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 |
---|---|
protected static java.util.Set<TaggingPresetType> |
TaggingPresetItem.getType(java.lang.String types) |
private java.util.Set<TaggingPresetType> |
TaggingPresetSelector.getTypesInSelection() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<TaggingPreset> |
TaggingPresets.getMatchingPresets(java.util.Collection<TaggingPresetType> t,
java.util.Map<java.lang.String,java.lang.String> tags,
boolean onlyShowable)
Replies a new collection of all presets matching the parameters.
|
java.util.List<TaggingPresetSelector.PresetClassification> |
TaggingPresetSelector.PresetClassifications.getMatchingPresets(java.lang.String[] groupWords,
java.lang.String[] nameWords,
boolean onlyApplicable,
boolean inTags,
java.util.Set<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.Set<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)
Determines whether this preset matches the parameters.
|
boolean |
TaggingPreset.typeMatches(java.util.Collection<TaggingPresetType> t) |
Modifier and Type | Field and Description |
---|---|
java.util.Set<TaggingPresetType> |
Roles.Role.types |