Package org.eclipse.dltk.internal.ui.wizards

Examples of org.eclipse.dltk.internal.ui.wizards.BuildpathDetector


    return new IncludePath[] { new IncludePath(getProject(), getProject()) };
  }

  protected BuildpathDetector createBuildpathDetector(IProgressMonitor monitor, IDLTKLanguageToolkit toolkit)
      throws CoreException {
    BuildpathDetector detector = new PHPBuildpathDetector(getProject(), toolkit);
    detector.detectBuildpath(new SubProgressMonitor(monitor, 20));
    return detector;
  }
View Full Code Here


        includepathEntries = setProjectBaseIncludepath();
        if (!getProject().getFile(FILENAME_BUILDPATH).exists()) {

          IDLTKLanguageToolkit toolkit = DLTKLanguageManager
              .getLanguageToolkit(getScriptNature());
          final BuildpathDetector detector = createBuildpathDetector(
              monitor, toolkit);
          buildpathEntries = detector.getBuildpath();

        } else {
          monitor.worked(20);
        }
      } else if (fFirstPage.hasPhpSourceFolder()) {
View Full Code Here

  }

  protected BuildpathDetector createBuildpathDetector(
      IProgressMonitor monitor, IDLTKLanguageToolkit toolkit)
      throws CoreException {
    BuildpathDetector detector = new PHPBuildpathDetector(getProject(),
        toolkit);
    detector.detectBuildpath(new SubProgressMonitor(monitor, 20));
    return detector;
  }
View Full Code Here

    IScriptProject scriptProject = DLTKCore.create(project);

    if (!project.getFile(BUILDPATH).exists()) {
      IDLTKLanguageToolkit toolkit = getLanguageToolkit(getNatureId());
      BuildpathDetector detector = new BuildpathDetector(project, toolkit);
      detector.detectBuildpath(null);
      IBuildpathEntry[] detected = detector.getBuildpath();

      // remove any entries the detector may have added that are not valid for
      // this project (currently happens on php projects with the
      // org.eclipse.dltk.launching.INTERPRETER_CONTAINER entry).
      ArrayList<IBuildpathEntry> entries = new ArrayList<IBuildpathEntry>();
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.ui.wizards.BuildpathDetector

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.