Examples of XCDEProjectCrawler


Examples of org.eclipse.xcde.backend.XCDEProjectCrawler

      }
     
      // Crawl the selected projects and unlink their contents
      ProgressMonitorDialog monitorDialog = new ProgressMonitorDialog(Display.getCurrent().getActiveShell());   
     
      XCDEProjectCrawler crawler = new XCDEProjectCrawler(projectList, XCDEProjectCrawler.UNLINK);
     
      try
      {
        monitorDialog.run(true, true, crawler);
      }
View Full Code Here

Examples of org.eclipse.xcde.backend.XCDEProjectCrawler

   
    // Crawl the selected projects and add their contents to the XCDE server
    // Show the progress to the user via a dialog
    ProgressMonitorDialog monitorDialog = new ProgressMonitorDialog(Display.getCurrent().getActiveShell());   
   
    XCDEProjectCrawler crawler = new XCDEProjectCrawler(projectList, XCDEProjectCrawler.LINK);
   
    try
    {
      monitorDialog.run(true, true, crawler);
    }
    catch(Exception e)
    {
      MessageDialog.openError(Display.getCurrent().getActiveShell(),
          "XCDE Error",
          "Error (" + e.getMessage() + ") experienced during Link.");
    }
   
    if(crawler.hadProjectExistsError())
    {
      // Looks like the user tried to map one or more projects
      // that already existed
      MessageDialog.openError(
          Display.getCurrent().getActiveShell(),
          "XCDE Error",         
          "The project /" + crawler.getErrorSource() +
          "/ already exists on the XCDE server. Please rename the project" +
          " and try again.");         
    }
    else
    {
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.