public abstract static class TaggingPresetItems.TaggingPresetTextItem extends TaggingPresetItem
| Modifier and Type | Field and Description |
|---|---|
String |
locale_text
The localized version of
text |
String |
text
The text to display
|
String |
text_context
The context used for translating
text |
| Constructor and Description |
|---|
TaggingPresetTextItem() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addCommands(List<Tag> changedTags)
Adds the new tags to apply to selected OSM primitives when the preset holding this item is applied.
|
protected String |
fieldsToString() |
protected void |
initializeLocaleText(String defaultText) |
String |
toString() |
addToPanel, initAutoCompletionField, matches, requestFocusInWindowpublic String text_context
textpublic String locale_text
textpublic TaggingPresetTextItem()
protected final void initializeLocaleText(String defaultText)
void addCommands(List<Tag> changedTags)
TaggingPresetItemaddCommands in class TaggingPresetItemchangedTags - The list of changed tags to modify if neededprotected String fieldsToString()