Package org.wikipediacleaner.gui.swing.worker

Examples of org.wikipediacleaner.gui.swing.worker.UpdateInfoWorker


  public void actionUpdateInfo() {
    List<Page> selectedPages = tablePages.getSelectedPages();
    if ((selectedPages == null) || (selectedPages.size() == 0)) {
      return;
    }
    final UpdateInfoWorker updateWorker = new UpdateInfoWorker(
        getWikipedia(), this, selectedPages);
    updateWorker.setListener(new DefaultBasicWorkerListener() {

      /* (non-Javadoc)
       * @see org.wikipediacleaner.gui.swing.basic.DefaultBasicWorkerListener#afterFinished(org.wikipediacleaner.gui.swing.basic.BasicWorker, boolean)
       */
      @Override
      public void afterFinished(BasicWorker worker, boolean ok) {
        tablePages.updateWatchedPages();
        super.afterFinished(worker, ok);
        updateBacklinksCount();
      }
     
    });
    updateWorker.start();
  }
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.gui.swing.worker.UpdateInfoWorker

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.