Package org.wikipediacleaner.gui.swing.basic

Examples of org.wikipediacleaner.gui.swing.basic.DefaultBasicWindowListener


    createWindow(
        "AutomaticFixingWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        AutomaticFixingWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof AutomaticFixingWindow) {
              AutomaticFixingWindow fixing = (AutomaticFixingWindow) window;
              fixing.setPage(referencePage);
View Full Code Here


    createWindow(
        "PageCommentsWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        PageCommentsWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof PageCommentsWindow) {
              PageCommentsWindow pageComments = (PageCommentsWindow) window;
              pageComments.page = page;
View Full Code Here

    createWindow(
        "TemplateListWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        TemplateListWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof TemplateListWindow) {
              TemplateListWindow templates = (TemplateListWindow) window;
              templates.page = page;
View Full Code Here

    createWindow(
        "ExpandTemplatesWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        PreviewWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof PreviewWindow) {
              PreviewWindow expand = (PreviewWindow) window;
              expand.pageTitle = page;
View Full Code Here

    createWindow(
        "InformationWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        InformationWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof InformationWindow) {
              InformationWindow info = (InformationWindow) window;
              info.title = title;
View Full Code Here

    createWindow(
        "DisambiguationWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        DisambiguationWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof DisambiguationWindow) {
              DisambiguationWindow disambig = (DisambiguationWindow) window;
              disambig.setPageName(page);
View Full Code Here

    createWindow(
        "NewSectionWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        NewSectionWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof NewSectionWindow) {
              NewSectionWindow newSection = (NewSectionWindow) window;
              newSection.page = page;
View Full Code Here

      final boolean watchList) {
    createWindow(
        "PageListWindow", wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        PageListWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof PageListWindow) {
              PageListWindow pageList = (PageListWindow) window;
              pageList.title = title;
View Full Code Here

    createWindow(
        "AnalysisWindow",
        wikipedia,
        WindowConstants.DISPOSE_ON_CLOSE,
        OnePageAnalysisWindow.class,
        new DefaultBasicWindowListener() {
          @Override
          public void initializeWindow(BasicWindow window) {
            if (window instanceof OnePageAnalysisWindow) {
              Configuration config = Configuration.getConfiguration();
              OnePageAnalysisWindow analysis = (OnePageAnalysisWindow) window;
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.gui.swing.basic.DefaultBasicWindowListener

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.