Changeset 8392 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
- Timestamp:
- 2015-05-18T02:52:44+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r8380 r8392 118 118 119 119 private static class ScListModel extends AbstractTableModel { 120 private String[] columnNames = new String[]{tr("Action"), tr("Shortcut")};120 private final String[] columnNames = new String[]{tr("Action"), tr("Shortcut")}; 121 121 private transient List<Shortcut> data; 122 122 … … 139 139 public Object getValueAt(int row, int col) { 140 140 return (col==0)? data.get(row).getLongText() : data.get(row); 141 }142 @Override143 public boolean isCellEditable(int row, int col) {144 return false;145 141 } 146 142 }
Note:
See TracChangeset
for help on using the changeset viewer.