Examples of bringToFront()


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

  }

  final static int clickDockIcon(int nextHandler, int theEvent, int userData) {
    UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
    if (uiFunctions != null) {
      uiFunctions.bringToFront();
      return noErr;
    }
    return eventNotHandledErr;
  }
View Full Code Here

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

  protected void
  showMainWindow()
  {
    UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
    if (uiFunctions != null) {
      uiFunctions.bringToFront();
    }
  }
 
  public void stopIt() {
    bContinue = false;
View Full Code Here

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

              context.debug("url not in whitelistL " + url);
            } else {
              // implicit bring to front
              final UIFunctions functions = UIFunctionsManager.getUIFunctions();
              if (functions != null) {
                functions.bringToFront();
              }

              // this is actually sync.. so we could add a completion listener
              // and return the boolean result if we wanted/needed
              BrowserMessageDispatcher dispatcher = context.getDispatcher();
View Full Code Here

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

   *
   */
  private void bringToFront() {
    final UIFunctions functions = UIFunctionsManager.getUIFunctions();
    if (functions != null) {
      functions.bringToFront();
    }
  }

  /**
   *
 
View Full Code Here

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

                ContentNetworkUtils.setSourceRef(args[0], "menu", false);
                mdi.showEntryByID(args[0]);

                if (uif != null) {

                  uif.bringToFront();
                }
              } else if (type == NavigationHelper.COMMAND_CONDITION_CHECK) {
              }
            }
          });
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.UIFunctionsSWT.bringToFront()

  public void restore() {
    if(!COConfigurationManager.getBooleanParameter("Show Download Basket"))
      minimized.setVisible(false);
    UIFunctionsSWT functionsSWT = UIFunctionsManagerSWT.getUIFunctionsSWT();
    if (functionsSWT != null) {
      functionsSWT.bringToFront();
    }
    moving = false;
  }

  // @see com.aelitis.azureus.ui.common.updater.UIUpdatable#updateUI()
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.UIFunctionsSWT.bringToFront()

  public static MenuItem addCheckUpdateMenuItem(final Menu menu) {
    return addMenuItem(menu, MENU_ID_UPDATE_CHECK, new ListenerNeedingCoreRunning() {
      public void handleEvent(AzureusCore core, Event e) {
        UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
        if (uiFunctions != null) {
          uiFunctions.bringToFront();
        }
        UpdateMonitor.getSingleton(core).performCheck(true, false, false,
            new UpdateCheckInstanceListener() {
              public void cancelled(UpdateCheckInstance instance) {
              }
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.UIFunctionsSWT.bringToFront()

        }
        UIFunctionsSWT uif = UIFunctionsManagerSWT.getUIFunctionsSWT();
        if (uif != null) {
          Shell mainShell = uif.getMainShell();
          if (mainShell == null || !mainShell.isVisible() || mainShell.getMinimized()) {
            uif.bringToFront(false);
          }
        }
      }
    };
    display.addListener(SWT.Activate, lShowMainWindow);
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.UIFunctionsSWT.bringToFront()

    public void open() {
      UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
      if (uiFunctions != null) {
        Shell mainShell = uiFunctions.getMainShell();
        if (mainShell != null && mainShell.getMinimized()) {
          uiFunctions.bringToFront();
        }
      }
     
      Shell firstShellWithStyle = Utils.findFirstShellWithStyle(SWT.APPLICATION_MODAL);
      if (firstShellWithStyle != null && firstShellWithStyle != this) {
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.UIFunctionsSWT.bringToFront()

   * @since 3.0.5.3
   */
  public static void checkForUpdates() {
    UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
    if (uiFunctions != null) {
      uiFunctions.bringToFront();
    }
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        UpdateMonitor.getSingleton(core).performCheck(true, false, false, null);
      }
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.