public static class TaggingPresetItems.Optional extends TaggingPresetItems.TaggingPresetTextItem
locale_text, text, text_context| Constructor and Description |
|---|
Optional() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToPanel(JPanel p,
Collection<OsmPrimitive> sel)
Called by
TaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>) during tagging preset panel creation. |
addCommands, fieldsToString, initializeLocaleText, toStringinitAutoCompletionField, matches, requestFocusInWindowpublic Optional()
public boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel)
TaggingPresetItemTaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>) during tagging preset panel creation.
All components defining this tagging preset item must be added to given panel.addToPanel in class TaggingPresetItemp - The panel where components must be addedsel - The related selected OSM primitivestrue if this item adds semantic tagging elements, false otherwise.