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
viewer.setInput(reg);
        viewer.addSelectionChangedListener(new ISelectionChangedListener() {
            public void selectionChanged(SelectionChangedEvent event) {
                chosenCapability = null;
                if (event.getSelection() instanceof IStructuredSelection) {
                    IStructuredSelection sel = (IStructuredSelection) event
                            .getSelection();
                    if (sel != null && !sel.isEmpty()) {
                        Object result = sel.getFirstElement();
                        if (result instanceof Capability) {
                            chosenCapability = (Capability) result;
                        }
                    }
                }
                setPageComplete(validateChosenCapability());
            }
        });
        setControl(topContainer);
    }
    /**
     * Returns the content provider for the viewer
     */
    private IContentProvider getContentProvider() {
        return new WorkbenchContentProvider() {
            public Object[] getChildren(Object parentElement) {
                if (parentElement instanceof CapabilityRegistry) {
                    ArrayList cats = reg.getUsedCategories();
                    if (reg.getMiscCategory() != null)
                        cats.add(reg.getMiscCategory());
                    return cats.toArray();