Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.IModelStatus


      // 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>();
      for (IBuildpathEntry entry : detected){
        IModelStatus status = BuildpathEntry
          .validateBuildpathEntry(scriptProject, entry, true);
        if(status.isOK()){
          entries.add(entry);
        }
      }
      detected = entries.toArray(new IBuildpathEntry[entries.size()]);
View Full Code Here


    IBuildpathEntry[] entries = scriptProject.readRawBuildpath();
    FileOffsets offsets = FileOffsets.compile(dotbuildpath);
    String buildpath = IOUtils.toString(new FileInputStream(dotbuildpath));
    errors = new ArrayList<Error>();
    for(IBuildpathEntry entry : entries){
      IModelStatus status = BuildpathEntry.validateBuildpathEntry(
          scriptProject, entry, true);
      if(!status.isOK()){
        errors.add(createErrorForEntry(
              entry, status, offsets, dotbuildpath, buildpath));
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.core.IModelStatus

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.