Package com.google.gdata.devtools.eclipse

Examples of com.google.gdata.devtools.eclipse.ProjectCreator


    handleExtDependencyOptions(monitor, (int) (0.4 * totalNoOfTicks));
    dependencyClasspaths = getDependencyClasspaths();
    
    String templateContent = new String();
    try {
      ProjectCreator jetGateWay = new ProjectCreator(mainPage.getProjectName(),
          selectedTemplateConfig);
      // 40% work
      templateContent = jetGateWay.generate(
          new SubProgressMonitor(monitor, (int) (0.4 * totalNoOfTicks)), dependencyClasspaths,
          getErrorMessage());
      // 5% work
      IFile templateFile = jetGateWay.addTemplateToProject(mainPage.getProjectName() + "/src",
          templateContent, monitor, (int) (0.05 * totalNoOfTicks));
      // 15% work
      jetGateWay.openFile(templateFile, getShell(), monitor, (int) (0.15 * totalNoOfTicks));
    } catch(CoreException e) {
      e.printStackTrace();
      ExceptionHandler.throwCoreException(e.getMessage(), e);
    } finally {
      monitor.done();
View Full Code Here

TOP

Related Classes of com.google.gdata.devtools.eclipse.ProjectCreator

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.