Examples of addDisabledText()


Examples of org.wikipediacleaner.gui.swing.menu.BasicMenuCreator.addDisabledText()

        "ISBN: {0}",
        limitTextLength(isbn.getISBN(), 50)));
    List<String> infos = ISBNRange.getInformation(isbn.getISBN());
    if (infos != null) {
      for (String info : infos) {
        menu.addDisabledText(popup, info);
      }
    }
    menu.addCurrentChapter(popup, position, pageAnalysis);

    return popup;
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.menu.MWPaneDisambiguationMenuCreator.addDisabledText()

          template.getTemplateName());
      JPopupMenu popup = menu.createPopupMenu(templateTitle);
      if ((matcher != null) &&
          (matcher.getExplanation() != null) &&
          (matcher.getExplanation().length() > 0)) {
        menu.addDisabledText(popup, "→ " + matcher.getExplanation() + " ←");
      }
      menu.addCurrentChapter(popup, position, pageAnalysis);

      menu.addSeparator(popup);
      Page templatePage = DataManager.getPage(getWikipedia(), templateTitle, null, null, null);
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.menu.MWPaneDisambiguationMenuCreator.addDisabledText()

    menu.addMarkAsNormal(getWikipedia(), popup, page, text, element, textPane);
    menu.addMarkAsNeedingHelp(getWikipedia(), popup, page, text, element, textPane, addNote);
    menu.addLinkText(getWikipedia(), popup, page, text, element, textPane);
    menu.addSeparator(popup);
    if (page != null) {
      menu.addDisabledText(popup, page.getTitle());
    }
    menu.addCurrentChapter(popup, position, pageAnalysis);
    menu.addSeparator(popup);
    menu.addAnalyze(getWikipedia(), popup, page);
    menu.addView(getWikipedia(), popup, page, true);
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.