Changeset 18972 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java
- Timestamp:
- 2024-02-09T15:26:06+01:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java
r18342 r18972 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 6 7 import java.awt.GridBagConstraints; 7 8 import java.awt.GridBagLayout; 8 9 import java.io.IOException; … … 182 183 183 184 sources = new TaggingPresetSourceEditor(); 184 panel.add(sources, GBC.eol().fill(G BC.BOTH));185 panel.add(sources, GBC.eol().fill(GridBagConstraints.BOTH)); 185 186 PreferencePanel preferencePanel = gui.createPreferenceTab(this); 186 preferencePanel.add(panel, GBC.eol().fill(G BC.BOTH));187 preferencePanel.add(panel, GBC.eol().fill(GridBagConstraints.BOTH)); 187 188 sources.deferLoading(gui, preferencePanel); 188 189 gui.addValidationListener(validationListener); 189 190 } 190 191 192 /** 193 * An editor for what preset source locations are used 194 */ 191 195 public static class TaggingPresetSourceEditor extends SourceEditor { 192 196 197 /** 198 * Create a new {@link TaggingPresetSourceEditor} with the default providers 199 */ 193 200 public TaggingPresetSourceEditor() { 194 201 super(SourceType.TAGGING_PRESET, Config.getUrls().getJOSMWebsite()+"/presets", presetSourceProviders, true);
Note:
See TracChangeset
for help on using the changeset viewer.