Package org.gudy.azureus2.core3.util

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


          // no existing file.
        }

        final File ff_target = f_target;
        final TableRowCore row = tv == null ? null : tv.getRow(datasources[i]);
        Utils.getOffOfSWTThread(new AERunnable() {
          public void runSupport() {
            moveFile(manager, fileInfo, ff_target);
            if (row != null) {
              row.invalidate();
            }
View Full Code Here


   
      public void IPBanned(BannedIp ip) {
      }

      public void IPBlockedListChanged(final IpFilter filter) {
        Utils.execSWTThread(new AERunnable() {
          public void runSupport() {
            if (table.isDisposed()) {
              filter.removeListener(filterListener);
              return;
            }
View Full Code Here

  public void dataSourceChanged(Object newDataSource) {
    if (newDataSource instanceof DownloadManager) {
      download_manager = (DownloadManager) newDataSource;
    }

    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        if (parent != null) {
          initialize(parent);
        }
      }
View Full Code Here

  }
 
  // @see org.gudy.azureus2.core3.config.ParameterListener#parameterChanged(java.lang.String)
  public void parameterChanged(String parameterName) {
    if (table != null) {
      Utils.execSWTThread(new AERunnable() {
        public void runSupport() {
          if (table != null && !table.isDisposed()) {
            table.clearAll();
          }
        }
View Full Code Here

  private boolean inProgress = false;

  private AERunnable runnable;
 
  private TableCellRefresher() {
    runnable = new AERunnable() {
      public void runSupport() {
        try {
          Map<TableCell, TableColumn> cellsCopy;
          synchronized (mapCellsToColumn) {
            cellsCopy = new HashMap<TableCell, TableColumn>(mapCellsToColumn);
View Full Code Here

                String requestNotAccepted = MessageText.getString("SpeedTestWizard.test.panel.not.accepted");
                reportStage( requestNotAccepted + Debug.getNestedExceptionMessage(e));
               
          if (!test.isDisposed()) {
              display.asyncExec(new AERunnable(){
                public void runSupport() {

                      test.setEnabled(true);
                      abort.setEnabled(false);
                            encryptToggle.setEnabled(true);
View Full Code Here

  protected void
  reportComplete(
    final NetworkAdminSpeedTesterResult   result )
  {
      if ( !textMessages.isDisposed()) {
          display.asyncExec(new AERunnable(){
            public void runSupport() {
              if ( !textMessages.isDisposed()){
                if ( result.hadError()){

                          String testFailed = MessageText.getString("SpeedTestWizard.test.panel.testfailed");//Test failed
View Full Code Here

  protected void
  reportStage(
    final String             step )
  {
      if ( !textMessages.isDisposed()) {
          display.asyncExec(new AERunnable(){
            public void runSupport() {

              if ( !textMessages.isDisposed()){
                    if(step==null)
                      return;
View Full Code Here

  public MyTorrentsSuperView(Text txtFilter, Composite cCats) {
    this.txtFilter = txtFilter;
    this.cCats = cCats;
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        Utils.execSWTThread(new AERunnable() {
          public void runSupport() {
            TableColumnManager tcManager = TableColumnManager.getInstance();
            tcManager.addColumns(getCompleteColumns());
            tcManager.addColumns(getIncompleteColumns());
          }
View Full Code Here

      }
    });

    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(final AzureusCore core) {
        Utils.execSWTThread(new AERunnable() {
          public void runSupport() {
            initializeWithCore(core, parent);
          }

        });
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.