Package org.eclipse.jdt.internal.ui.wizards.buildpaths

Examples of org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement


    {
        Vector result = new Vector();
        List cplist = classPathList.getElements();
        for (int i = 0; i < cplist.size(); i++)
        {
            CPListElement elem = (CPListElement) cplist.get(i);
            if (elem.getEntryKind() == IClasspathEntry.CPE_LIBRARY)
            {
                result.add(elem.getClasspathEntry());
            }
        }
        return (IClasspathEntry[]) result.toArray(
            new IClasspathEntry[result.size()]);
    }
View Full Code Here


        } else {
          src = javaProject.getProject();
        }

        classpath.add(
            new CPListElement(
              javaProject, IClasspathEntry.CPE_SOURCE, src.getFullPath(), src)
            .getClasspathEntry());

        File srcPath = new File(
            ProjectUtils.getFilePath(project, src.getFullPath().toString()));
View Full Code Here

        {
          AtomicReference<IPath> containerPath = new AtomicReference<IPath>();
          IClasspathEntry entry = getClasspathEntry(root, containerPath);

          // Backup existing attachment details
          CPListElement backupCpElement = CPListElement.createFromExisting(entry,
                                                           root.getJavaProject());
          details = new SourceAttachmentDetails(backupCpElement.getClasspathEntry(),
                                                root.getJavaProject(),
                                                containerPath.get(),
                                                entry.getReferencingEntry() != null);
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement

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.