Ignore:
Timestamp:
2017-09-15T20:25:12+02:00 (7 years ago)
Author:
donvip
Message:

fix #josm15312 - update to JOSM 12859

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java

    r33579 r33608  
    2727import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2828import org.openstreetmap.josm.data.osm.Way;
     29import org.openstreetmap.josm.data.tagging.ac.AutoCompletionItem;
     30import org.openstreetmap.josm.data.tagging.ac.AutoCompletionSet;
    2931import org.openstreetmap.josm.gui.ExtendedDialog;
    3032import org.openstreetmap.josm.gui.MainApplication;
    3133import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox;
    32 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem;
     34import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager;
    3335import org.openstreetmap.josm.gui.util.WindowGeometry;
    3436import org.openstreetmap.josm.tools.GBC;
     
    311313
    312314        if (buildingComboBox == null) {
    313             final List<AutoCompletionListItem> values = MainApplication
    314                 .getLayerManager().getEditDataSet().getAutoCompletionManager().getValues("building");
    315 
    316315            buildingComboBox = new AutoCompletingComboBox();
    317             buildingComboBox.setPossibleACItems(values);
     316            buildingComboBox.setPossibleAcItems(AutoCompletionManager.of(Main.main.getEditDataSet()).getTagValues("building"));
    318317            buildingComboBox.setEditable(true);
    319318            if (buildingType != null && !buildingType.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.