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

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


            dialog.getAccessRules());
        fLibraryList.refresh(elem);
        fLibraryList.expandElement(elem, 2);
      }
    } else if (!elem.isBuiltIn()) {
      BuildpathAttributeConfiguration config = fAttributeDescriptors
          .get(key);
      if (config != null) {
        IBuildpathAttribute result = config.performEdit(getShell(),
            elem.getBuildpathAttributeAccess());
        if (result != null) {
          elem.setValue(result.getValue());
          fLibraryList.refresh(elem);
        }
View Full Code Here


            value = new IAccessRule[0];
          }
          attrib.getParent().setAttribute(key, value);
          fLibraryList.refresh(attrib);
        } else {
          BuildpathAttributeConfiguration config = fAttributeDescriptors
              .get(attrib.getKey());
          if (config != null) {
            IBuildpathAttribute result = config
                .performRemove(attrib
                    .getBuildpathAttributeAccess());
            if (result != null) {
              attrib.setValue(result.getValue());
              fLibraryList.refresh(attrib);
View Full Code Here

      return false;
    }
    if (firstElement instanceof BPListElementAttribute) {
      BPListElementAttribute attrib = (BPListElementAttribute) firstElement;
      if (!attrib.isBuiltIn()) {
        BuildpathAttributeConfiguration config = fAttributeDescriptors
            .get(attrib.getKey());
        return config != null
            && config.canEdit(attrib.getBuildpathAttributeAccess());
      }
    }
    return true;
  }
View Full Code Here

          }
          if (attrib.getValue() == null) {
            return false;
          }
        } else {
          BuildpathAttributeConfiguration config = fAttributeDescriptors
              .get(attrib.getKey());
          if (config == null
              || !config.canRemove(attrib
                  .getBuildpathAttributeAccess())) {
            return false;
          }
        }
      } else if (elem instanceof BPListElement) {
View Full Code Here

TOP

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

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.