Examples of PageListWorker


Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

    config.setString(
        null,
        ConfigurationValueString.PAGE_NAME,
        pageName);
    config.save();
    new PageListWorker(
        getWikipedia(), this, null,
        Collections.singletonList(pageName),
        PageListWorker.Mode.valueOf(mode), false,
        GT._("Internal links in {0}", pageName)).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

  public void actionSearchTitles() {
    String pageName = checkPagename(GT._("You must input a page name"));
    if (pageName == null) {
      return;
    }
    new PageListWorker(
        getWikipedia(), this, null,
        Collections.singletonList(pageName),
        PageListWorker.Mode.SEARCH_TITLES, false,
        GT._("Search results for {0}", pageName)).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

        ConfigurationValueString.PAGE_NAME,
        pageName);
    config.save();
    Page page = DataManager.getPage(
        getWikipedia(), pageName, null, null, null);
    new PageListWorker(
        getWikipedia(), this, page,
        Collections.singletonList(pageName),
        PageListWorker.Mode.BACKLINKS, false,
        GT._("Links to {0}", pageName)).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

    config.save();
    String title = getWikipedia().getWikiConfiguration().getPageTitle(
        Namespace.CATEGORY, pageName);
    Page page = DataManager.getPage(
        getWikipedia(), title, null, null, null);
    new PageListWorker(
        getWikipedia(), this, page,
        Collections.singletonList(title),
        PageListWorker.Mode.CATEGORY_MEMBERS, false,
        GT._("Category members of {0}", title)).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

    config.save();
    String title = getWikipedia().getWikiConfiguration().getPageTitle(
        Namespace.TEMPLATE, pageName);
    Page page = DataManager.getPage(
        getWikipedia(), title, null, null, null);
    new PageListWorker(
        getWikipedia(), this, page,
        Collections.singletonList(title),
        PageListWorker.Mode.EMBEDDED_IN, false,
        GT._("Template {0} embedded in", title)).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

      Utilities.displayMessageForMissingConfiguration(
          getParentComponent(),
          WPCConfigurationStringList.CURRENT_DAB_LIST.getAttributeName());
      return;
    }
    new PageListWorker(
        wikipedia, this, null,
        currentDabList,
        PageListWorker.Mode.INTERNAL_LINKS_MAIN, false,
        GT._("Current disambiguation list")).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

      Utilities.displayMessageForMissingConfiguration(
          getParentComponent(),
          WPCConfigurationStringList.MOST_DAB_LINKS.getAttributeName());
      return;
    }
    new PageListWorker(
        wikipedia, this, null,
        mostDabLinks,
        PageListWorker.Mode.CATEGORY_MEMBERS_ARTICLES,
        false,
        GT._("Pages with many disambiguation links")).start();
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

    List<String> pageNames = new ArrayList<String>();
    for (Page template : templates) {
      pageNames.add(template.getTitle());
    }
    new PageListWorker(
        wikipedia, this, null,
        pageNames, PageListWorker.Mode.EMBEDDED_IN, false,
        GT._("Help requested on...")).start();
  }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

            for (Page page : pages) {
              if (!pageNames.contains(page.getTitle())) {
                pageNames.add(page.getTitle());
              }
            }
            new PageListWorker(
                getWikipedia(), this, null,
                pageNames, PageListWorker.Mode.DIRECT, false,
                GT._("Hits for filter {0}", filter.toString())).start();
          }
        }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.pagelist.PageListWorker

    }
    EnumQueryPage query = EnumQueryPage.findByCode(code);
    if (query == null) {
      return;
    }
    new PageListWorker(
        wikipedia, this, null,
        Collections.singletonList(code),
        PageListWorker.Mode.QUERY_PAGE, false,
        query.getName()).start();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.