Changeset 8538 in josm
- Timestamp:
- 2015-06-26T18:33:33+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r8510 r8538 258 258 }; 259 259 260 private transient ListCellRenderer<AutoCompletionListItem> cellRenderer = new ListCellRenderer<AutoCompletionListItem>() {260 private final transient ListCellRenderer<AutoCompletionListItem> cellRenderer = new ListCellRenderer<AutoCompletionListItem>() { 261 261 private final DefaultListCellRenderer def = new DefaultListCellRenderer(); 262 262 @Override … … 505 505 List<AutoCompletionListItem> valueList = autocomplete.getValues(getAutocompletionKeys(key)); 506 506 Collections.sort(valueList, comparator); 507 507 if (Main.isDebugEnabled()) { 508 Main.debug("Focus gained by {0}, e={1}", values, e); 509 } 508 510 values.setPossibleACItems(valueList); 509 511 values.getEditor().selectAll(); … … 516 518 517 519 protected JPopupMenu popupMenu = new JPopupMenu() { 518 private JCheckBoxMenuItem fixTagLanguageCb = new JCheckBoxMenuItem(520 private final JCheckBoxMenuItem fixTagLanguageCb = new JCheckBoxMenuItem( 519 521 new AbstractAction(tr("Use English language for tag by default")) { 520 522 @Override
Note:
See TracChangeset
for help on using the changeset viewer.