Bug 96114 [IDE] should remove dependency on IPluginRegistry
We should remove our dependency on IPluginRegistry in favour of the new IExtensionRegistry. This should be a trivial migration.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/CapabilityRegistry.java
private static final String[] EMPTY_ID_LIST = new String[0];
    private static final Capability[] EMPTY_CAP_LIST = new Capability[0];
    private HashMap natureToCapability;
    private ArrayList capabilities;
    private ArrayList categories;
    private Category miscCategory;
    /**
     * Creates a new instance of <code>CapabilityRegistry</code>
     */
    public CapabilityRegistry() {
        capabilities = new ArrayList(30);
        categories = new ArrayList(15);
    }