Changeset 33608 in osm for applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java
- Timestamp:
- 2017-09-15T20:25:12+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java
r33579 r33608 27 27 import org.openstreetmap.josm.data.osm.OsmPrimitive; 28 28 import org.openstreetmap.josm.data.osm.Way; 29 import org.openstreetmap.josm.data.tagging.ac.AutoCompletionItem; 30 import org.openstreetmap.josm.data.tagging.ac.AutoCompletionSet; 29 31 import org.openstreetmap.josm.gui.ExtendedDialog; 30 32 import org.openstreetmap.josm.gui.MainApplication; 31 33 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox; 32 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletion ListItem;34 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager; 33 35 import org.openstreetmap.josm.gui.util.WindowGeometry; 34 36 import org.openstreetmap.josm.tools.GBC; … … 311 313 312 314 if (buildingComboBox == null) { 313 final List<AutoCompletionListItem> values = MainApplication314 .getLayerManager().getEditDataSet().getAutoCompletionManager().getValues("building");315 316 315 buildingComboBox = new AutoCompletingComboBox(); 317 buildingComboBox.setPossibleA CItems(values);316 buildingComboBox.setPossibleAcItems(AutoCompletionManager.of(Main.main.getEditDataSet()).getTagValues("building")); 318 317 buildingComboBox.setEditable(true); 319 318 if (buildingType != null && !buildingType.isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.