Changeset 2218 in josm for trunk/src/org/openstreetmap/josm/gui/io
- Timestamp:
- 2009-09-30T10:51:31+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r2191 r2218 52 52 import org.openstreetmap.josm.gui.OsmPrimitivRenderer; 53 53 import org.openstreetmap.josm.gui.SideButton; 54 import org.openstreetmap.josm.gui.historycombobox.SuggestingJHistoryComboBox;55 54 import org.openstreetmap.josm.gui.tagging.TagEditorModel; 56 55 import org.openstreetmap.josm.gui.tagging.TagEditorPanel; 57 56 import org.openstreetmap.josm.gui.tagging.TagModel; 57 import org.openstreetmap.josm.gui.widgets.HistoryComboBox; 58 58 import org.openstreetmap.josm.io.OsmApi; 59 59 import org.openstreetmap.josm.tools.GBC; … … 588 588 private JCheckBox cbCloseAfterUpload; 589 589 private OpenChangesetModel model; 590 private SuggestingJHistoryComboBox cmt;590 private HistoryComboBox cmt; 591 591 private JCheckBox cbUseAtomicUpload; 592 592 … … 616 616 pnl.setLayout(new GridBagLayout()); 617 617 pnl.add(new JLabel(tr("Provide a brief comment for the changes you are uploading:")), GBC.eol().insets(0, 5, 10, 3)); 618 cmt = new SuggestingJHistoryComboBox();618 cmt = new HistoryComboBox(); 619 619 List<String> cmtHistory = new LinkedList<String>(Main.pref.getCollection(HISTORY_KEY, new LinkedList<String>())); 620 cmt.set History(cmtHistory);620 cmt.setPossibleItems(cmtHistory); 621 621 cmt.getEditor().addActionListener( 622 622 new ActionListener() {
Note:
See TracChangeset
for help on using the changeset viewer.