Package org.gudy.azureus2.core3.util

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


    //}
   
    if (runnableDirtyCell == null) {
      synchronized (this) {
        if (runnableDirtyCell == null) {
          runnableDirtyCell = new AERunnable() {
            public void runSupport() {
              synchronized (this) {
                isDirty = false;
              }
              if (isInPaintItem()
View Full Code Here


    return 1;
  }
 
  // @see org.gudy.azureus2.ui.swt.components.BufferedTableItem#setCursor(int)
  public void setCursor(final int cursorID) {
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        if (row == null) {
          return;
        }
        TableOrTreeSWT table = row.getTable();
View Full Code Here

        // to interact with it.  So, wait until the modal window goes away..
        firstShellWithStyle.addDisposeListener(new DisposeListener() {
          public void widgetDisposed(DisposeEvent e) {
            // wait for dispose to complete, then run open again to check for
            // any new application modal shells to wait for
            Utils.execSWTThreadLater(0, new AERunnable() {
              public void runSupport() {
                AEShell.this.open();
              }
            });
          }
View Full Code Here

  public boolean isSelected() {
    return adapter.getBooleanValue(name);
  }

  public void setSelected(final boolean selected) {
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        if (!checkBox.isDisposed()) {
          if (checkBox.getSelection() != selected) {
            if (DEBUG) {
              debug("bool.setSelection(" + selected + ")");
View Full Code Here

  protected void setSelected(final boolean selected, boolean force) {
    if (force) {
      setSelected(selected);
    } else {
      Utils.execSWTThread(new AERunnable() {
        public void runSupport() {
          if (checkBox.getSelection() != selected) {
            checkBox.setSelection(selected);
          }
        }
View Full Code Here

     * @throws IllegalAccessException
     * @throws IllegalArgumentException
     */
    protected final Object /*NSAppleEventDescriptor*/ executeScriptWithAsync(final String scriptFormat, final Object[] params) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
    {
        final AERunnable worker = new AERunnable()
        {
      public void runSupport() {
        try {
          int pool = NSAutoreleasePool_push();
          long start = System.currentTimeMillis();
View Full Code Here

            }
           
            new DelayedEvent(
              "GenMsg:kap",
              500,
              new AERunnable()
              {
                public void
                runSupport()
                {
                  if ( prepareForKeepAlive( true )){
                   
                    keep_alive_pool.run(
                        new AERunnable()
                        {
                          public void
                          runSupport()
                          {
                            GenericMessageConnectionIndirect.this.keepAlive();
View Full Code Here

  public void tableViewInitialized() {
    createDragDrop();
  }
 
  public void tableViewDestroyed() {
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        try {
          Utils.disposeSWTObjects(new Object[] {
            dragSource,
          });
View Full Code Here

      decoded_url = URLDecoder.decode(original_url, "UTF8");
    } catch (Throwable e) {
      decoded_url = original_url;

    }
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        init();
      }
    });
  }
View Full Code Here

      removePluginViewsWithID(sViewID, plugin_view_info_map);
      removePluginViewsWithID(sViewID, plugin_logs_view_info_map);
    } finally {
      plugin_helper_mon.exit();
    }
    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
        if (uiFunctions != null) {
          uiFunctions.closePluginViews(sViewID);
        }
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.core3.util.AERunnable

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.