Changeset 24096 in osm for applications/editors/josm/plugins/FixAddresses/src
- Timestamp:
- 2010-11-06T18:42:36+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessAddressRunnable.java
r24091 r24096 34 34 35 35 /** 36 * The class AddressFinderThreadscans the data set to find the best guess for a missing address field.36 * The class GuessAddressRunnable scans the data set to find the best guess for a missing address field. 37 37 * 38 38 * The guessing procedure itself is implemented by defining "guessers" using the {@link GuessedValueHandler} … … 40 40 * adds the guessed value to a shadowed field by calling {@link OSMAddress#setGuessedValue(String, String)}. 41 41 */ 42 public class AddressFinderThreadextends PleaseWaitRunnable implements Visitor {42 public class GuessAddressRunnable extends PleaseWaitRunnable implements Visitor { 43 43 private List<OSMAddress> addressesToGuess; 44 44 private List<IProgressMonitorFinishedListener> finishListeners = new ArrayList<IProgressMonitorFinishedListener>(); … … 51 51 * @param nodes 52 52 */ 53 public AddressFinderThread(List<OSMAddress> nodes, String title) {53 public GuessAddressRunnable(List<OSMAddress> nodes, String title) { 54 54 super(title != null ? title : tr("Searching")); 55 55 setAddressEditContainer(nodes); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/GuessAddressDataAction.java
r24091 r24096 20 20 import org.openstreetmap.josm.Main; 21 21 import org.openstreetmap.josm.plugins.fixAddresses.AddressEditContainer; 22 import org.openstreetmap.josm.plugins.fixAddresses. AddressFinderThread;22 import org.openstreetmap.josm.plugins.fixAddresses.GuessAddressRunnable; 23 23 import org.openstreetmap.josm.plugins.fixAddresses.OSMAddress; 24 24 import org.openstreetmap.josm.plugins.fixAddresses.IProgressMonitorFinishedListener; … … 81 81 */ 82 82 private void internalGuessAddresses(List<OSMAddress> nodes) { 83 AddressFinderThread aft = new AddressFinderThread(nodes, tr("Guess street names"));83 GuessAddressRunnable aft = new GuessAddressRunnable(nodes, tr("Guess street names")); 84 84 aft.addFinishListener(this); 85 85 Main.worker.submit(aft);
Note:
See TracChangeset
for help on using the changeset viewer.