Changeset 24096 in osm


Ignore:
Timestamp:
2010-11-06T18:42:36+01:00 (14 years ago)
Author:
oliverw
Message:

AddressFinderThread -> GuessAddressRunnable

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  
    3434
    3535/**
    36  * The class AddressFinderThread scans 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.
    3737 *
    3838 * The guessing procedure itself is implemented by defining "guessers" using the {@link GuessedValueHandler}
     
    4040 * adds the guessed value to a shadowed field by calling {@link OSMAddress#setGuessedValue(String, String)}. 
    4141 */
    42 public class AddressFinderThread extends PleaseWaitRunnable implements Visitor {
     42public class GuessAddressRunnable extends PleaseWaitRunnable implements Visitor {
    4343        private List<OSMAddress> addressesToGuess;
    4444        private List<IProgressMonitorFinishedListener> finishListeners = new ArrayList<IProgressMonitorFinishedListener>();
     
    5151         * @param nodes
    5252         */
    53         public AddressFinderThread(List<OSMAddress> nodes, String title) {
     53        public GuessAddressRunnable(List<OSMAddress> nodes, String title) {
    5454                super(title != null ? title : tr("Searching"));
    5555                setAddressEditContainer(nodes);         
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/GuessAddressDataAction.java

    r24091 r24096  
    2020import org.openstreetmap.josm.Main;
    2121import org.openstreetmap.josm.plugins.fixAddresses.AddressEditContainer;
    22 import org.openstreetmap.josm.plugins.fixAddresses.AddressFinderThread;
     22import org.openstreetmap.josm.plugins.fixAddresses.GuessAddressRunnable;
    2323import org.openstreetmap.josm.plugins.fixAddresses.OSMAddress;
    2424import org.openstreetmap.josm.plugins.fixAddresses.IProgressMonitorFinishedListener;
     
    8181         */
    8282        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"));
    8484                aft.addFinishListener(this);
    8585                Main.worker.submit(aft);
Note: See TracChangeset for help on using the changeset viewer.