- Timestamp:
- 2019-01-04T21:41:53+01:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java
r14153 r14634 182 182 } 183 183 184 static class TaggingPresetSourceEditor extends SourceEditor {184 public static class TaggingPresetSourceEditor extends SourceEditor { 185 185 186 186 private static final String ICONPREF = "taggingpreset.icon.sources"; 187 187 188 TaggingPresetSourceEditor() {188 public TaggingPresetSourceEditor() { 189 189 super(SourceType.TAGGING_PRESET, Config.getUrls().getJOSMWebsite()+"/presets", presetSourceProviders, true); 190 190 } -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/KeyedItem.java
r13220 r14634 163 163 } 164 164 return returnValue; 165 } 166 167 /** 168 * Determines whether key or key+value are required. 169 * @return whether key or key+value are required 170 */ 171 public boolean isKeyRequired() { 172 final MatchType type = MatchType.ofString(match); 173 return MatchType.KEY_REQUIRED.equals(type) || MatchType.KEY_VALUE_REQUIRED.equals(type); 165 174 } 166 175
Note:
See TracChangeset
for help on using the changeset viewer.