Package | Description |
---|---|
org.openstreetmap.josm.data.validation.tests | |
org.openstreetmap.josm.gui | |
org.openstreetmap.josm.gui.dialogs.relation |
Toggle dialog allowing to display currently loaded relations and perform operations on them.
|
org.openstreetmap.josm.gui.tagging.ac |
Provides classes for handling autocompletion of tags.
|
org.openstreetmap.josm.gui.tagging.presets |
Provides classes for handling tagging presets.
|
Modifier and Type | Field and Description |
---|---|
private static Collection<TaggingPreset> |
RelationChecker.relationpresets |
Modifier and Type | Method and Description |
---|---|
private static void |
TagChecker.addPresetValue(TaggingPreset p,
KeyedItem ky) |
Modifier and Type | Method and Description |
---|---|
private void |
DefaultNameFormatter.formatRelationNameAndType(Relation relation,
StringBuilder result,
TaggingPreset preset) |
Modifier and Type | Method and Description |
---|---|
protected static Set<String> |
GenericRelationEditor.findSuggestedRoles(Collection<TaggingPreset> presets,
OsmPrimitive p) |
Modifier and Type | Method and Description |
---|---|
protected static void |
AutoCompletionManager.cachePresetItem(TaggingPreset p,
TaggingPresetItem item) |
Modifier and Type | Method and Description |
---|---|
static void |
AutoCompletionManager.cachePresets(Collection<TaggingPreset> presets)
Initialize the cache for presets.
|
Modifier and Type | Class and Description |
---|---|
class |
TaggingPresetMenu |
class |
TaggingPresetSeparator
Class used to represent a
JSeparator inside tagging preset menu. |
Modifier and Type | Field and Description |
---|---|
TaggingPreset |
TaggingPresetSelector.PresetClassification.preset |
protected TaggingPreset |
TaggingPresetLabel.t |
Modifier and Type | Field and Description |
---|---|
private JList<TaggingPreset> |
TaggingPresetSelector.lsResult |
private List<TaggingPreset> |
TaggingPresetNameTemplateList.presetsWithPattern |
private static Collection<TaggingPreset> |
TaggingPresets.taggingPresets
The collection of tagging presets
|
Modifier and Type | Method and Description |
---|---|
TaggingPreset |
TaggingPresetNameTemplateList.findPresetTemplate(OsmPrimitive primitive)
Finds and returns the first occurence of preset with template name matching the given primitive
|
TaggingPreset |
TaggingPresetSelector.ResultListModel.getElementAt(int index) |
TaggingPreset |
TaggingPresetSelector.getSelectedPreset()
Determines, which preset is selected at the moment.
|
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.
|
static Collection<TaggingPreset> |
TaggingPresets.getMatchingPresets(OsmPrimitive 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(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.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.readFromPreferences(boolean validate,
boolean displayErrMsg)
Reads all tagging presets from sources stored in preferences.
|
Modifier and Type | Method and Description |
---|---|
Component |
TaggingPresetSelector.ResultListCellRenderer.getListCellRendererComponent(JList<? extends TaggingPreset> list,
TaggingPreset tp,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
TaggingPresetSelector.setSelectedPreset(TaggingPreset p) |
Modifier and Type | Method and Description |
---|---|
static void |
TaggingPresets.addTaggingPresets(Collection<TaggingPreset> presets)
Adds a list of tagging presets to the current list.
|
Component |
TaggingPresetSelector.ResultListCellRenderer.getListCellRendererComponent(JList<? extends TaggingPreset> list,
TaggingPreset tp,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
TaggingPresetSelector.init(Collection<TaggingPreset> presets) |
void |
TaggingPresetSelector.PresetClassifications.loadPresets(Collection<TaggingPreset> 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.
|
Constructor and Description |
---|
PresetClassification(TaggingPreset preset) |
TaggingPresetLabel(TaggingPreset t)
Constructs a new
PresetLabel . |