Bug 126779 [IDE] Removed deprecated project capabilities API and implementation
It was created then deprecated before 2.0 shipped. As has never been API and we don't use it we should delete it.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/CapabilityRegistry.java
mapCapability(cap);
                }
                results.add(cap);
            }
            if (results.size() == 0) {
                return EMPTY_CAP_LIST;
            } else {
                Capability[] caps = new Capability[results.size()];
                results.toArray(caps);
                return caps;
            }
        } catch (CoreException e) {
            return EMPTY_CAP_LIST;
        }
    }
    /**
     * Returns the capabilities assigned to the specified project
     * that are consideed disabled by core.
     */
    public Capability[] getProjectDisabledCapabilities(IProject project) {
        try {
            String[] natureIds = project.getDescription().getNatureIds();
            ArrayList results = new ArrayList(natureIds.length);
            for (int i = 0; i < natureIds.length; i++) {
                if (!project.isNatureEnabled(natureIds[i])) {
                    Capability cap = (Capability) natureToCapability
                            .get(natureIds[i]);
                    if (cap == null) {
                        cap = new Capability(natureIds[i]);
                        mapCapability(cap);