Package org.wikipediacleaner.gui.swing.component

Examples of org.wikipediacleaner.gui.swing.component.PageListModel


          public void initializeWindow(BasicWindow window) {
            if (window instanceof AutomaticFixingWindow) {
              AutomaticFixingWindow fixing = (AutomaticFixingWindow) window;
              fixing.setPage(referencePage);
              fixing.pages = pages;
              fixing.modelPages = new PageListModel();
              fixing.modelPages.setComparator(PageComparator.getNamespaceFirstComparator());
              fixing.modelPages.setShowDisambiguation(true);
              fixing.modelPages.setShowOther(true);
              fixing.modelPages.setShowRedirect(true);
            }
View Full Code Here


        new Object[] { page.getTitle(), link.getTitle() }));
    panel.add(label, constraints);
    constraints.gridy++;

    // Menu
    modelLinks = new PageListModel();
    modelLinks.setShowDisambiguation(true);
    modelLinks.setShowOther(true);

    // Links
    constraints.fill = GridBagConstraints.BOTH;
View Full Code Here

          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof DisambiguationWindow) {
              DisambiguationWindow disambig = (DisambiguationWindow) window;
              disambig.setPageName(page);
              disambig.modelLinks = new PageListModel();
              disambig.modelLinks.setComparator(PageComparator.getTemplateFirstComparator());
              disambig.modelLinks.setShowDisambiguation(true);
              disambig.modelLinks.setShowOther(true);
              Configuration config = Configuration.getConfiguration();
              List<String> filtered = config.getStringList(wikipedia, Configuration.ARRAY_FILTER_NS);
View Full Code Here

            if (window instanceof OnePageAnalysisWindow) {
              Configuration config = Configuration.getConfiguration();
              OnePageAnalysisWindow analysis = (OnePageAnalysisWindow) window;
              analysis.setPageName(page);
              analysis.knownPages = knownPages;
              analysis.modelLinks = new PageListModel();
              analysis.modelLinks.setShowDisambiguation(config.getBoolean(
                  null,
                  ConfigurationValueBoolean.ANALYSIS_DISAMBIG_PAGES));
              analysis.modelLinks.setShowMissing(config.getBoolean(
                  null,
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.gui.swing.component.PageListModel

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.