Uses of Class
org.openstreetmap.josm.gui.tagging.presets.TaggingPreset
-
Packages that use TaggingPreset Package Description org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.osm.search Provides classes allowing to search OSM primitives in a dataset using textual queries.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.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.dialogs.relation Toggle dialog allowing to display currently loaded relations and perform operations on them.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 TaggingPreset in org.openstreetmap.josm.data.osm
Methods in org.openstreetmap.josm.data.osm with parameters of type TaggingPreset Modifier and Type Method Description private static StringBuilder
DefaultNameFormatter. formatRelationNameAndType(IRelation<?> relation, StringBuilder result, TaggingPreset preset)
-
Uses of TaggingPreset in org.openstreetmap.josm.data.osm.search
Fields in org.openstreetmap.josm.data.osm.search with type parameters of type TaggingPreset Modifier and Type Field Description private List<TaggingPreset>
SearchCompiler.Preset. presets
Methods in org.openstreetmap.josm.data.osm.search with parameters of type TaggingPreset Modifier and Type Method Description private static boolean
SearchCompiler.Preset. presetNameMatch(String name, TaggingPreset preset, boolean matchStrictly)
-
Uses of TaggingPreset in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests with type parameters of type TaggingPreset Modifier and Type Field Description private static Map<TaggingPreset,List<TaggingPresetItem>>
TagChecker. presetIndex
private static Collection<TaggingPreset>
RelationChecker. relationpresets
-
Uses of TaggingPreset in org.openstreetmap.josm.gui.dialogs.properties
Fields in org.openstreetmap.josm.gui.dialogs.properties declared as TaggingPreset Modifier and Type Field Description private TaggingPreset
PresetListPanel.LabelMouseAdapter. t
Constructors in org.openstreetmap.josm.gui.dialogs.properties with parameters of type TaggingPreset Constructor Description LabelMouseAdapter(TaggingPreset t, TaggingPresetHandler presetHandler)
-
Uses of TaggingPreset in org.openstreetmap.josm.gui.dialogs.relation
Method parameters in org.openstreetmap.josm.gui.dialogs.relation with type arguments of type TaggingPreset Modifier and Type Method Description protected static Set<String>
GenericRelationEditor. findSuggestedRoles(Collection<TaggingPreset> presets, OsmPrimitive p)
-
Uses of TaggingPreset in org.openstreetmap.josm.gui.tagging.presets
Subclasses of TaggingPreset in org.openstreetmap.josm.gui.tagging.presets Modifier and Type Class Description class
TaggingPresetMenu
Menu that groups several presets from one topic.class
TaggingPresetSeparator
Class used to represent aJSeparator
inside tagging preset menu.Fields in org.openstreetmap.josm.gui.tagging.presets declared as TaggingPreset Modifier and Type Field Description TaggingPreset
TaggingPresetSelector.PresetClassification. preset
protected TaggingPreset
TaggingPresetLabel. t
Fields in org.openstreetmap.josm.gui.tagging.presets with type parameters of type TaggingPreset Modifier and Type Field Description private List<TaggingPreset>
TaggingPresetNameTemplateList. presetsWithPattern
private static Collection<TaggingPreset>
TaggingPresets. taggingPresets
The collection of tagging presetsMethods in org.openstreetmap.josm.gui.tagging.presets that return TaggingPreset Modifier and Type Method Description TaggingPreset
TaggingPresetNameTemplateList. findPresetTemplate(IPrimitive primitive)
Finds and returns the first occurrence of preset with template name matching the given primitiveTaggingPreset
TaggingPresetSelector. getSelectedPreset()
Determines, which preset is selected at the moment.TaggingPreset
TaggingPresetSelector. getSelectedPresetAndUpdateClassification()
Determines, which preset is selected at the moment.Methods in org.openstreetmap.josm.gui.tagging.presets that return types with arguments of type TaggingPreset 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.static Collection<TaggingPreset>
TaggingPresets. getMatchingPresets(IPrimitive primitive)
Replies a new collection of all presets matching the given preset.static Collection<TaggingPreset>
TaggingPresets. getTaggingPresets()
Replies a new collection containing all tagging presets.static Collection<TaggingPreset>
TaggingPresetReader. readAll(Reader in, boolean validate)
Reads all tagging presets from the input reader.(package private) static Collection<TaggingPreset>
TaggingPresetReader. readAll(Reader in, boolean validate, TaggingPresetReader.HashSetWithLast<TaggingPreset> all)
Reads all tagging presets from the input reader.static Collection<TaggingPreset>
TaggingPresetReader. readAll(String source, boolean validate)
Reads all tagging presets from the given source.(package private) static Collection<TaggingPreset>
TaggingPresetReader. readAll(String source, boolean validate, TaggingPresetReader.HashSetWithLast<TaggingPreset> all)
Reads all tagging presets from the given source.static Collection<TaggingPreset>
TaggingPresetReader. readAll(Collection<String> sources, boolean validate)
Reads all tagging presets from the given sources.static Collection<TaggingPreset>
TaggingPresetReader. readAll(Collection<String> sources, boolean validate, boolean displayErrMsg)
Reads all tagging presets from the given sources.static Collection<TaggingPreset>
TaggingPresetReader. readFromPreferences(boolean validate, boolean displayErrMsg)
Reads all tagging presets from sources stored in preferences.Methods in org.openstreetmap.josm.gui.tagging.presets with parameters of type TaggingPreset Modifier and Type Method Description private static void
TaggingPresetSelector.PresetClassification. addLocaleNames(Collection<String> collection, TaggingPreset preset)
private static void
TaggingPresets. cachePresetItem(TaggingPreset p, TaggingPresetItem item)
Component
TaggingPresetSelector.ResultListCellRenderer. getListCellRendererComponent(JList<? extends TaggingPreset> list, TaggingPreset tp, int index, boolean isSelected, boolean cellHasFocus)
void
TaggingPresetSelector. setSelectedPreset(TaggingPreset p)
Selects a given preset.Method parameters in org.openstreetmap.josm.gui.tagging.presets with type arguments of type TaggingPreset Modifier and Type Method Description static void
TaggingPresets. addTaggingPresets(Collection<TaggingPreset> presets)
Adds a list of tagging presets to the current list.static void
TaggingPresets. cachePresets(Collection<TaggingPreset> presets)
Initialize the cache for presets.Component
TaggingPresetSelector.ResultListCellRenderer. getListCellRendererComponent(JList<? extends TaggingPreset> list, TaggingPreset tp, int index, boolean isSelected, boolean cellHasFocus)
void
TaggingPresetSelector. init(Collection<TaggingPreset> presets)
Initializes the selector with a given collection of presets.void
TaggingPresetSelector.PresetClassifications. loadPresets(Collection<TaggingPreset> presets)
Loads a given collection of presets.(package private) static Collection<TaggingPreset>
TaggingPresetReader. readAll(Reader in, boolean validate, TaggingPresetReader.HashSetWithLast<TaggingPreset> all)
Reads all tagging presets from the input reader.(package private) static Collection<TaggingPreset>
TaggingPresetReader. readAll(String source, boolean validate, TaggingPresetReader.HashSetWithLast<TaggingPreset> all)
Reads all tagging presets from the given source.Constructors in org.openstreetmap.josm.gui.tagging.presets with parameters of type TaggingPreset Constructor Description PresetClassification(TaggingPreset preset)
TaggingPresetLabel(TaggingPreset t)
Constructs a newPresetLabel
. -
Uses of TaggingPreset in org.openstreetmap.josm.gui.tagging.presets.items
Fields in org.openstreetmap.josm.gui.tagging.presets.items declared as TaggingPreset Modifier and Type Field Description private TaggingPreset
PresetLink.TaggingPresetMouseAdapter. t
Constructors in org.openstreetmap.josm.gui.tagging.presets.items with parameters of type TaggingPreset Constructor Description TaggingPresetMouseAdapter(TaggingPreset t, Collection<OsmPrimitive> sel)
-