Examples of DownloadableItem


Examples of org.springsource.ide.eclipse.commons.frameworks.core.downloadmanager.DownloadableItem

    }
  }

//  @Override
  public DownloadableItem getZip() {
    return new DownloadableItem(zipUrl(), downloader);
  }
View Full Code Here

Examples of org.springsource.ide.eclipse.commons.frameworks.core.downloadmanager.DownloadableItem

    mon.beginTask("Importing "+baseUrl.getValue(), 4);
    DownloadManager downloader = null;
    try {
      downloader = new DownloadManager().allowUIThread(allowUIThread);

      DownloadableItem zip = new DownloadableItem(newURL(downloadUrl .getValue()), downloader);
      String projectNameValue = projectName.getValue();
      CodeSet cs = CodeSet.fromZip(projectNameValue, zip, new Path("/"));

      IRunnableWithProgress oper = getImportStrategy().createOperation(ImportUtils.importConfig(
          new Path(location.getValue()),
View Full Code Here

Examples of org.springsource.ide.eclipse.commons.frameworks.core.downloadmanager.DownloadableItem

    if (zip==null) {
      String repoUrl = getRepo().getHtmlUrl();
      //repoUrl is something like "https://github.com/springframework-meta/gs-consuming-rest-android"
      //zipUrl is something like  "https://github.com/springframework-meta/gs-consuming-rest-android/archive/master.zip"
      try {
        DownloadableItem item = new DownloadableItem(new URL(repoUrl+"/archive/master.zip"), downloader);
        item.setFileName(getRepo().getName());
        zip = item;
      } catch (MalformedURLException e) {
        WizardPlugin.log(e);
        return null;
      }
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.