Ignore:
Timestamp:
2010-11-07T17:31:05+01:00 (14 years ago)
Author:
oliverw
Message:

Added house number column.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesTableModel.java

    r24112 r24117  
    2626        private static final long serialVersionUID = -5951629033395186324L;
    2727       
    28         private static final int NUMBER_OF_COLUMNS = 5;
    29         private static final String[] COLUMN_NAMES = new String[]{tr("Country"), tr("State"), tr("City"), tr("Post Code"), tr("Street")};
     28        private static final int NUMBER_OF_COLUMNS = 6;
     29        private static final String[] COLUMN_NAMES = new String[]{tr("Country"), tr("State"), tr("City"), tr("Post Code"), tr("Street"), tr("Number")};
    3030        private static final Class<?>[] COLUMN_CLASSES = new Class<?>[]{
    31                 String.class, String.class, String.class, String.class, String.class};
     31                String.class, String.class, String.class, String.class, String.class, String.class};
    3232       
    3333       
     
    7777                case 4:
    7878                        return aNode.getStreetName();                   
     79                case 5:
     80                        return aNode.getHouseNumber();
    7981                default:
    8082                        throw new RuntimeException("Invalid column index: " + column);
Note: See TracChangeset for help on using the changeset viewer.