Changeset 23944 in osm
- Timestamp:
- 2010-10-31T01:07:10+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r23933 r23944 54 54 55 55 /** 56 * 56 * Provides a container serving streets and unresolved/incomplete addresses. 57 57 * @author Oliver Wieland <oliver.wieland@online.de> 58 58 * -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/ApplyAllGuessesAction.java
r23933 r23944 21 21 import org.openstreetmap.josm.plugins.fixAddresses.AddressEditContainer; 22 22 import org.openstreetmap.josm.plugins.fixAddresses.AddressNode; 23 24 /** 25 * Applies the guessed values for a set of addresses. 26 * @author Oliver Wieland <oliver.wieland@online.de> 27 * 28 */ 23 29 24 30 @SuppressWarnings("serial") -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AssignAddressToStreetAction.java
r23933 r23944 20 20 import org.openstreetmap.josm.plugins.fixAddresses.StreetNode; 21 21 22 /** 23 * Assigns one or more selected addresses to a street, i. e. the name of the street is 24 * used as value for the addr:street tag. 25 * @author Oliver Wieland <oliver.wieland@online.de> 26 * 27 */ 22 28 public class AssignAddressToStreetAction extends AbstractAddressEditAction { 23 29 … … 40 46 if (streetNode != null && ev.getSelectedUnresolvedAddresses() != null) { 41 47 for (AddressNode addrNode : ev.getSelectedUnresolvedAddresses()) { 42 addrNode.assignStreet(streetNode); 43 System.out.println("Assign " + addrNode + " to " + streetNode); 48 addrNode.assignStreet(streetNode); 44 49 } 45 50 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/GuessAddressDataAction.java
r23933 r23944 25 25 /** 26 26 * Guesses address tags by picking the closest street node with a name. The same is done (some day) 27 * with city, post code, state,... 27 * with city, post code, state,... However, I strongly encourage you to check the result. 28 28 * @author Oliver Wieland <oliver.wieland@online.de> 29 29 * -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/UnresolvedAddressesTableModel.java
r23939 r23944 36 36 37 37 /** 38 * 38 * Provides a table model to show unresolved addresses. 39 39 * @author Oliver Wieland <oliver.wieland@online.de> 40 40 * … … 62 62 } 63 63 64 /* (non-Javadoc) 65 * @see javax.swing.table.DefaultTableModel#getColumnCount() 66 */ 64 67 @Override 65 68 public int getColumnCount() { 66 // TODO Auto-generated method stub67 69 return NUMBER_OF_COLUMNS; 68 70 } 69 71 72 /* (non-Javadoc) 73 * @see javax.swing.table.DefaultTableModel#getColumnName(int) 74 */ 70 75 @Override 71 76 public String getColumnName(int column) { … … 73 78 } 74 79 80 /* (non-Javadoc) 81 * @see javax.swing.table.DefaultTableModel#getRowCount() 82 */ 75 83 @Override 76 84 public int getRowCount() { … … 81 89 } 82 90 91 /* (non-Javadoc) 92 * @see javax.swing.table.DefaultTableModel#getValueAt(int, int) 93 */ 83 94 @Override 84 95 public Object getValueAt(int row, int column) { … … 112 123 } 113 124 125 /* (non-Javadoc) 126 * @see javax.swing.table.AbstractTableModel#getColumnClass(int) 127 */ 114 128 @Override 115 129 public Class<?> getColumnClass(int arg0) { … … 117 131 } 118 132 133 /* (non-Javadoc) 134 * @see javax.swing.table.DefaultTableModel#isCellEditable(int, int) 135 */ 119 136 @Override 120 137 public boolean isCellEditable(int row, int column) { 121 // TODO Auto-generated method stub122 138 return false; 123 139 } 124 140 141 /* (non-Javadoc) 142 * @see org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditTableModel#getEntityOfRow(int) 143 */ 125 144 @Override 126 145 public INodeEntity getEntityOfRow(int row) {
Note:
See TracChangeset
for help on using the changeset viewer.