Package org.gudy.azureus2.ui.swt.pluginsimpl

Examples of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl


    }

    /**
     * Old-style speed menus.
     */
    new BooleanParameter(cSection, "GUI_SWT_bOldSpeedMenu", LBLKEY_PREFIX
        + "use_old_speed_menus");

    BooleanParameter bpCustomTab = new BooleanParameter(cSection,
        "useCustomTab", "ConfigView.section.style.useCustomTabs");
    Control cFancyTab = new BooleanParameter(cSection, "GUI_SWT_bFancyTab",
        "ConfigView.section.style.useFancyTabs").getControl();

    Control[] controls = {
      cFancyTab
    };
    bpCustomTab.setAdditionalActionPerformer(new ChangeSelectionActionPerformer(
        controls));

    return cSection;
  }
View Full Code Here


        "ConfigView.section.style.useFancyTabs").getControl();

    Control[] controls = {
      cFancyTab
    };
    bpCustomTab.setAdditionalActionPerformer(new ChangeSelectionActionPerformer(
        controls));

    return cSection;
  }
View Full Code Here

    label = new Label(cSection, SWT.NULL);
    Messages.setLanguageText(label, LBLKEY_PREFIX + "password");

    gridData = new GridData();
    gridData.widthHint = 150;
    PasswordParameter pw1 = new PasswordParameter(cSection, "Password");
    pw1.setLayoutData(gridData);
    Text t1 = (Text) pw1.getControl();

    //password confirm

    label = new Label(cSection, SWT.NULL);
    Messages.setLanguageText(label, LBLKEY_PREFIX + "passwordconfirm");
    gridData = new GridData();
    gridData.widthHint = 150;
    PasswordParameter pw2 = new PasswordParameter(cSection, "Password Confirm");
    pw2.setLayoutData(gridData);
    Text t2 = (Text) pw2.getControl();

    // password activated

    label = new Label(cSection, SWT.NULL);
    Messages.setLanguageText(label, LBLKEY_PREFIX + "passwordmatch");
View Full Code Here

  }

  public static MenuItem addConfigWizardMenuItem(Menu menu) {
    return addMenuItem(menu, MENU_ID_CONFIGURE, new Listener() {
      public void handleEvent(Event e) {
        new ConfigureWizard(false,ConfigureWizard.WIZARD_MODE_FULL);
      }
    });
  }
View Full Code Here

              uiFunctions.dispose(true, false);
            }
            return noErr;
          }
          case kHICommandWizard:
            new ConfigureWizard(false,ConfigureWizard.WIZARD_MODE_FULL);
            return noErr;
          case kHICommandNatTest:
            new NatTestWindow();
            return noErr;
          case kHICommandSpeedTest:
View Full Code Here

      UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
      if (uiFunctions != null) {
        uiFunctions.dispose(true, false);
      }
    } else if (sel == sel_wizardMenuSelected_) {
      new ConfigureWizard(false,ConfigureWizard.WIZARD_MODE_FULL);
    } else if (sel == sel_natMenuSelected_) {
      new NatTestWindow();
    } else if (sel == sel_speedMenuSelected_) {
      new SpeedTestWizard();
    } else if (sel == sel_toolbarButtonClicked_) {
View Full Code Here

  public static MenuItem addExportMenuItem(Menu menuParent) {
    MenuItem file_export = addMenuItem(menuParent, MENU_ID_EXPORT,
        new Listener() {
          public void handleEvent(Event e) {
            new ExportTorrentWizard();
          }
        });
    return file_export;
  }
View Full Code Here

  public static MenuItem addImportMenuItem(Menu menuParent) {
    MenuItem file_import = addMenuItem(menuParent, MENU_ID_IMPORT,
        new Listener() {
          public void handleEvent(Event e) {
            new ImportTorrentWizard();
          }
        });
    return file_import;
  }
View Full Code Here

    new MenuItem(menu, SWT.SEPARATOR);

    MenuItem file_startalldownloads = new MenuItem(menu, SWT.NULL);
    Messages.setLanguageText(file_startalldownloads, "TrayWindow.menu.startalldownloads"); //$NON-NLS-1$
    file_startalldownloads.addListener(SWT.Selection,
        new ListenerNeedingCoreRunning() {
          public void handleEvent(AzureusCore core, Event e) {
            globalManager.startAllDownloads();
          }
    });   
   
View Full Code Here

  public static MenuItem addCreateMenuItem(Menu menuParent) {
    MenuItem file_create = addMenuItem(menuParent, MENU_ID_CREATE,
        new Listener() {
          public void handleEvent(Event e) {
            new NewTorrentWizard(e.display);
          }
        });
    return file_create;
  }
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl

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.