Package com.aelitis.azureus.ui

Examples of com.aelitis.azureus.ui.UIFunctions.dispose()


            AboutWindow.show();
            return noErr;
          case kHICommandRestart: {
            UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
            if (uiFunctions != null) {
              uiFunctions.dispose(true, false);
            }
            return noErr;
          }
          case kHICommandWizard:
            new ConfigureWizard(false,ConfigureWizard.WIZARD_MODE_FULL);
View Full Code Here


            return noErr;

          case kAEQuitApplication:
            UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
            if (uiFunctions != null) {
              uiFunctions.dispose(false, false);
              return noErr;
            } else {
              UIExitUtilsSWT.setSkipCloseCheck(true);
            }
          default:
View Full Code Here

  }

  final static int quitAppProc(int theAppleEvent, int reply, int handlerRefcon) {
    UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
    if (uiFunctions != null) {
      uiFunctions.dispose(false, false);
    } else {
      UIExitUtilsSWT.setSkipCloseCheck(true);
      Display.getDefault().dispose();
    }
    return noErr;
View Full Code Here

    if (sel == sel_aboutMenuItemSelected_) {
      AboutWindow.show();
    } else if (sel == sel_restartMenuSelected_) {
      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();
View Full Code Here

           
            UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
           
            if ( uiFunctions != null ){
             
              uiFunctions.dispose(false, false);
            }
           
            return;
           
          }else if ( arg.equalsIgnoreCase( "--open" )){
View Full Code Here

            MessageText.getString("unix.script.new.button.asknomore"),
          }, 0, null, null, false, 0, new UserPrompterResultListener() {
            public void prompterClosed(int answer) {
              if (answer == 0) {
                System.out.println("The line you should run:\n" + sCopyLine);
                uif.dispose(false, false);
              } else if (answer == 2) {
                COConfigurationManager.setParameter("unix.script.lastaskversion",
                    version);
              }
            }
View Full Code Here

            MessageText.getString("UpdateWindow.restart"),
            MessageText.getString("UpdateWindow.restartLater"),
          }, 0, null, null, false, 0, new UserPrompterResultListener() {
            public void prompterClosed(int answer) {
              if (answer == 0) {
                uif.dispose(true, false);
              }
            }
          });
    } else {
      System.out.println("NO UIF");
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.