Package org.eclipse.dltk.internal.core

Examples of org.eclipse.dltk.internal.core.BuildpathEntry


        library.put(TAG_VERSION, String.valueOf(CURRENT_VERSION));
        library.put(TAG_SYSTEMLIBRARY, String.valueOf(isSystemLibrary));
        xmlWriter.printTag(TAG_USERLIBRARY, library, true, true, false);

        for (int i = 0, length = entries.length; i < length; ++i) {
            BuildpathEntry cpEntry = (BuildpathEntry) entries[i];

            HashMap<String, String> archive = new HashMap<String, String>();
            archive.put(TAG_PATH, cpEntry.getPath().toString());

//            boolean hasExtraAttributes = cpEntry.extraAttributes != null
//                    && cpEntry.extraAttributes.length != 0;
            boolean hasExtraAttributes = false;
            boolean hasRestrictions = cpEntry.getAccessRuleSet() != null; // access
            // rule
            // set
            // is
            // null
            // if
View Full Code Here


    List<BPListElement> elements = wizard.getModifiedElements();
    BPListElement element = (BPListElement) elements.get(0);
    IBuildpathEntry buildpathEntry = element.getBuildpathEntry();
   
    if (buildpathEntry instanceof BuildpathEntry) {
      BuildpathEntry entry = (BuildpathEntry) buildpathEntry;
      String encodeBuildpathEntry = scriptProject.encodeBuildpathEntry(entry);
      IEclipsePreferences projectPreferences = ComposerPlugin.getDefault().getProjectPreferences(scriptProject.getProject());
      projectPreferences.put(ComposerPreferenceConstants.BUILDPATH_INCLUDES_EXCLUDES, encodeBuildpathEntry);

      // update buildpath
View Full Code Here

        .append(destProjectName)
        .append(entry.getPath().removeFirstSegments(
            renamedPath.segmentCount()));
    // remove the old entry
    newBuildPathEntryList.remove(entry);
    entry = new BuildpathEntry(entry.getContentKind(),
        entry.getEntryKind(), renamedPath, entry.isExported(),
        entry.getInclusionPatterns(), entry.getExclusionPatterns(),
        entry.getAccessRules(), entry.combineAccessRules(),
        entry.getExtraAttributes(), entry.isExternal());
    // add the new entry
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.core.BuildpathEntry

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.