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/dialogs/ProjectCapabilitySimpleSelectionPage.java
}
            if (!existingCaps.contains(prereqs[i])) {
                setErrorMessage(NLS.bind(IDEWorkbenchMessages.ProjectCapabilitySimpleSelectionPage_capabilityRequired, prereqs[i].getName()));
                return false;
            }
        }
        ids = reg.getMembershipSetIds(chosenCapability);
        List idsList = Arrays.asList(ids);
        for (int i = 0; i < caps.length; i++) {
            String[] setIds = reg.getMembershipSetIds(caps[i]);
            for (int j = 0; j < setIds.length; j++) {
                if (idsList.contains(setIds[j])) {
                    setErrorMessage(NLS.bind(IDEWorkbenchMessages.ProjectCapabilitySimpleSelectionPage_capabilitySet, caps[i].getName()));
                    return false;
                }
            }
        }
        Capability[] newCaps = new Capability[caps.length + 1];
        System.arraycopy(caps, 0, newCaps, 0, caps.length);
        newCaps[caps.length] = chosenCapability;
        IStatus status = reg.validateCapabilities(newCaps);
        if (!status.isOK()) {
            setErrorMessage(status.getMessage());
            return false;
        }
        setErrorMessage(null);
        return true;
    }
}