Package com.smoker.imagesearch.model

Examples of com.smoker.imagesearch.model.TaskHandler


    progressDialog = new ProgressDialog(imageDisplay, ResourceStrings.ProgressMessageIndex);
    indexCreator.deleteObservers();
    indexCreator.addObserver(imageDisplay);
    indexCreator.addObserver(progressDialog);
    indexCreator.addObserver(this);
    taskHandler = new TaskHandler(indexCreator, this, "creator");
    taskHandler.start();
  }
View Full Code Here


    progressDialog = new ProgressDialog(imageDisplay, ResourceStrings.ProgressMessageLoad);
    indexLoader.deleteObservers();
    indexLoader.addObserver(imageDisplay);
    indexLoader.addObserver(progressDialog);
    indexLoader.addObserver(this);
    taskHandler = new TaskHandler(indexLoader, this, "loader");
    taskHandler.start();
  }
View Full Code Here

    progressDialog = new ProgressDialog(imageDisplay, ResourceStrings.ProgressMessageSearch);
    searcher.deleteObservers();
    searcher.addObserver(imageDisplay);
    searcher.addObserver(progressDialog);
    searcher.addObserver(this);
    taskHandler = new TaskHandler(searcher, this, "searcher");
    taskHandler.start();
  }
View Full Code Here

TOP

Related Classes of com.smoker.imagesearch.model.TaskHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.