Package com.aelitis.azureus.core

Examples of com.aelitis.azureus.core.AzureusCoreRunningListener


  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


  }

  // @see com.aelitis.azureus.ui.swt.views.skin.SkinView#showSupport(com.aelitis.azureus.ui.swt.skin.SWTSkinObject, java.lang.Object)
  public Object skinObjectInitialShow(SWTSkinObject skinObject, Object params) {
    // building plugin views needs UISWTInstance, which needs core.
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        Utils.execSWTThread(new AERunnable() {
          public void runSupport() {
            setupPluginViews();
          }
View Full Code Here

        instance = new RemotePairingWindow();
      }
    }

    CoreWaiterSWT.waitForCore(TriggerInThread.SWT_THREAD,
        new AzureusCoreRunningListener() {
          public void azureusCoreRunning(AzureusCore core) {
            instance._open();
          }
        });
  }
View Full Code Here

  private TranscodeTarget transTarget;

  // @see com.aelitis.azureus.ui.swt.views.skin.SkinView#skinObjectInitialShow(com.aelitis.azureus.ui.swt.skin.SWTSkinObject, java.lang.Object)
  public Object skinObjectInitialShow(SWTSkinObject skinObject, Object params) {
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        initColumns(core);
      }
    });
View Full Code Here

   * @param selection
   *
   * @since 4.1.0.5
   */
  protected void doInstall(final boolean itunes, final boolean sendQOS) {
    CoreWaiterSWT.waitForCoreRunning(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        _doInstall(core, itunes, sendQOS);
      }
    });
  }
View Full Code Here

      public Object eventOccured(SWTSkinObject skinObject, int eventType,
          Object params) {
        if (eventType == SWTSkinObjectListener.EVENT_SHOW) {
          skin.removeListener("topbar-plugins", this);
          // building needs UISWTInstance, which needs core.
          AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
            public void azureusCoreRunning(AzureusCore core) {
              Utils.execSWTThreadLater(0, new AERunnable() {
                public void runSupport() {
                  buildTopBarViews();
                }
View Full Code Here

  TimerEventPeriodic  timerEvent;
 
  private boolean everRefreshed = false;
 
  public ViewUpSpeedGraph() {
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        manager = core.getGlobalManager();
        stats = manager.getStats();
      }
    });
View Full Code Here

  TimerEventPeriodic  timerEvent;
 
  private boolean everRefreshed = false;
 
  public ViewDownSpeedGraph() {
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        manager = core.getGlobalManager();
        stats = manager.getStats();
      }
    });
View Full Code Here

  public static void loadTorrentfinal DownloadUrlInfo dlInfo,
      final boolean playNow, // open player
      final boolean playPrepare, // as for open player but don't actually open it
      final boolean bringToFront) {
    CoreWaiterSWT.waitForCoreRunning(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        _loadTorrent(core, dlInfo, playNow, playPrepare, bringToFront);
      }
    });
  }
View Full Code Here

   * @return
   *
   * @since 3.0.5.3
   */
  public static void addTorrentToGM(final TOTorrent torrent) {
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {

        File tempTorrentFile;
        try {
          tempTorrentFile = File.createTempFile("AZU", ".torrent");
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.core.AzureusCoreRunningListener

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.