Examples of AERunnable


Examples of org.gudy.azureus2.core3.util.AERunnable

      this.rgbDefault = rgbDefault;
    }
   
    public AllocateColor(String sName, final Color colorDefault, Color colorOld) {
      this.sName = sName;
      Utils.execSWTThread(new AERunnable() {
        public void runSupport() {
          if (!colorDefault.isDisposed())
            AllocateColor.this.rgbDefault = colorDefault.getRGB();
          else
            AllocateColor.this.rgbDefault = new RGB(0, 0, 0);
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

  {
    try{
      if ( !display.isDisposed()){
       
        display.asyncExec(
            new AERunnable()
            {
              public void
              runSupport()
              {
                if ( !text_area.isDisposed()){
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

    final UpdateCheckInstance  instance )
  {
    if ( !display.isDisposed()){
 
      display.asyncExec(
        new AERunnable()
        {
          public void
          runSupport()
          {
            if ( display.isDisposed() || window.isDisposed()){
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

      initializer.addListener(this);
    }
  }

  public static void create(final Display display, final IUIIntializer initializer) {
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        if (display == null || display.isDisposed())
          return;

        new SplashWindow(display, initializer);
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

  /*
   * Should be called by the GUI thread
   */
  public void closeSplash() {
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        try {
          if (initializer != null)
            initializer.removeListener(SplashWindow.this);
          if (splash != null && !splash.isDisposed())
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

      return;
    }

    updating = true;
    //Post runnable to SWTThread
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        updating = false;
        if (splash == null || splash.isDisposed()) {
          return;
        }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

 
  public void
  trackerPeerSourcesChanged()
  {
    Utils.execSWTThread(
      new AERunnable()
      {
        public void
        runSupport()
        {
          if ( manager == null || tv.isDisposed()){
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

          IpCheckerWizard wizard = new IpCheckerWizard();
          wizard.setIpSetterCallBack(new IpSetterCallBack() {
              public void setIp(final String ip) {
                if(display == null || display.isDisposed())
                  return;
                  display.asyncExec(new AERunnable(){
                  public void runSupport() {
                    if(tracker_ip != null)
                      tracker_ip.setValue(ip);
                  }
                });
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

          alreadyFilling = true;
        }

        // wrap in asyncexec because sc.setMinWidth (called later) doesn't work
        // too well inside a resize (the canvas won't size isn't always updated)
        Utils.execSWTThreadLater(0, new AERunnable() {
          public void runSupport() {
            if (img != null) {
              int iOldColCount = img.getBounds().width / BLOCK_SIZE;
              int iNewColCount = pieceInfoCanvas.getClientArea().width
                  / BLOCK_SIZE;
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

        return;
      }
      alreadyFilling = true;
    }

    Utils.execSWTThreadLater(100, new AERunnable() {
      public void runSupport() {
        if (!alreadyFilling) {
          return;
        }
        try {
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.