Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.SubMonitor.done()


    /* Rename Defragmented DB to real DB */
    DBHelper.rename(defragmentedDatabase, database);

    /* Finished */
    monitor.done();
    Activator.safeLogInfo("Finished: Database Defragmentation"); //$NON-NLS-1$
  }

  /**
   * Internal method. Made public for testing. Creates a copy of the database
View Full Code Here


      else {
        throw ce;
      }
    }
    finally {
      subProgress.done();
    }

  }

  /**
 
View Full Code Here

        workingCopy.setArchive(archiveURL);
      }

    }
    finally {
      subMonitor.done();
    }

    return workingCopy;
  }
View Full Code Here

            }

          });
        }
        finally {
          subProgress.done();
        }
      }
    };
    runAsynchWithWizardProgress(runnable, operationLabel);
  }
View Full Code Here

          } catch (InvocationTargetException e) {
            throw CloudErrorUtil.toCoreException(e);
          } catch (InterruptedException ie) {
            throw CloudErrorUtil.toCoreException(ie);
          } finally {
            subProgress.done();
          }
        } catch (CoreException e) {
          error[0] = e;
        }
      }
View Full Code Here

              subProgress);
          appModule.setCloudApplication(cloudApplication);

        }
        finally {
          subProgress.done();
        }

        return null;
      }
View Full Code Here

    }
    catch (RuntimeException t) {
      throw CloudErrorUtil.checkServerCommunicationError(t);
    }
    finally {
      progress.done();
    }
  }

  public static void register(String location, String userName, String password, boolean selfSigned,
      IProgressMonitor monitor) throws CoreException {
View Full Code Here

      // try to guard against IOException in parsing response
      throw CloudErrorUtil.checkServerCommunicationError(e);

    }
    finally {
      progress.done();
    }
  }

  /**
   * Creates a standalone client with no association with a server behaviour.
View Full Code Here

    ApplicationArchive archive = null;
    try {
      archive = delegate.getApplicationArchive(cloudModule, getCloudFoundryServer(), resources, monitor);
    }
    finally {
      subProgress.done();
    }
    return archive;
  }

  /**
 
View Full Code Here

        if (in != null)
          in.close();
      } catch (IOException e) {
        // ignore
      }
      progress.done();
    }
  }

  /**
   * Unzip the input stream into the given path.
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.