Changeset 24108 in osm for applications/editors/josm
- Timestamp:
- 2010-11-07T13:50:13+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/StreetTableModel.java
r24093 r24108 22 22 public class StreetTableModel extends AddressEditTableModel { 23 23 24 private static final int NUMBER_OF_COLUMNS = 4;25 private static final String[] COLUMN_NAMES = new String[]{tr("Type"), tr("Name"), tr("Segments"), tr("Addresses") };26 private static final Class<?>[] COLUMN_CLASSES = new Class<?>[]{String.class, String.class, Integer.class, Integer.class };24 private static final int NUMBER_OF_COLUMNS = 5; 25 private static final String[] COLUMN_NAMES = new String[]{tr("Type"), tr("Name"), tr("Segments"), tr("Addresses"), tr("Relation")}; 26 private static final Class<?>[] COLUMN_CLASSES = new Class<?>[]{String.class, String.class, Integer.class, Integer.class, Boolean.class}; 27 27 28 28 /** … … 94 94 case 3: 95 95 return sNode.getNumberOfAddresses(); 96 case 4: 97 return sNode.hasAssociatedStreetRelation(); 96 98 default: 97 99 throw new RuntimeException("Invalid column index: " + column);
Note:
See TracChangeset
for help on using the changeset viewer.