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/ProjectCapabilityPropertyPage.java
PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),
                IIDEHelpContextIds.PROJECT_CAPABILITY_PROPERTY_PAGE);
        noDefaultAndApplyButton();
        CapabilityRegistry reg = IDEWorkbenchPlugin.getDefault()
                .getCapabilityRegistry();
        String instructions;
        if (reg.hasCapabilities())
            instructions = IDEWorkbenchMessages.ProjectCapabilityPropertyPage_chooseCapabilities;
        else
            instructions = IDEWorkbenchMessages.ProjectCapabilityPropertyPage_noCapabilities;
        Label label = new Label(parent, SWT.LEFT);
        label.setFont(parent.getFont());
        label.setText(instructions);
        Capability[] caps = reg.getProjectCapabilities(getProject());
        Capability[] disabledCaps = reg
                .getProjectDisabledCapabilities(getProject());
        Category[] cats = new Category[0];
        capabilityGroup = new ProjectCapabilitySelectionGroup(cats, caps,
                disabledCaps, reg);
        return capabilityGroup.createContents(parent);
    }
    /**
     * Returns the project which this property page applies to
     * 
     * @return IProject the project for this property page
     */
    IProject getProject() {
        if (project == null)
            project = (IProject) getElement().getAdapter(IResource.class);
        return project;