Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.IBuildpathContainer


    public PackagePath[] getPackagePaths(IScriptProject project)
    {
        List<PackagePath> packagePaths = new ArrayList<PackagePath>();
       
        try {
            IBuildpathContainer container = ModelManager.getModelManager().getBuildpathContainer(new Path(ComposerBuildpathContainerInitializer.CONTAINER), project);
           
            for (IBuildpathEntry entry : container.getBuildpathEntries()) {
                packagePaths.add(new PackagePath(entry, project));
            }
        } catch (ModelException e) {
            StatusManager.getManager().handle(e.getStatus());
        }
View Full Code Here


        IBuildpathEntry bPath = (IBuildpathEntry) includePath
            .getEntry();
        if (bPath.getEntryKind() == IBuildpathEntry.BPE_CONTAINER
            && !bPath.getPath().toString()
                .equals("org.eclipse.php.core.LANGUAGE")) { //$NON-NLS-1$
          IBuildpathContainer buildpathContainer = DLTKCore
              .getBuildpathContainer(bPath.getPath(),
                  DLTKCore.create(project));
          if (buildpathContainer != null) {
            final IBuildpathEntry[] buildpathEntries = buildpathContainer
                .getBuildpathEntries();
            for (IBuildpathEntry buildpathEntry : buildpathEntries) {
              IPath localPath = EnvironmentPathUtils
                  .getLocalPath(buildpathEntry.getPath());
              includePaths.add(localPath);
View Full Code Here

TOP

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

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.