Bug 125346 Delete IDE copy of CompositeResourceMapping
Build: I20060125 Both core.resources and IDE have a CompositeResourceMapping class. Since the core class is now API, the copy in the IDE plugin should be deleted for consistency. The IDE copy is not API.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkingSetAdapterFactory.java
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
     */
    public Object getAdapter(Object adaptableObject, Class adapterType) {
        if (adaptableObject instanceof IWorkingSet) {
            if (adapterType == IContributorResourceAdapter.class) {
                return contributorResourceAdapter;
            }
            if (adapterType == IWorkbenchAdapter.class) {
                return workbenchAdapter ;
            }
            if (adapterType == ResourceMapping.class) {
                IWorkingSet workingSet = (IWorkingSet) adaptableObject;
                IAdaptable[] elements = workingSet.getElements();
                List result = new ArrayList();
                for (int i = 0; i < elements.length; i++) {
                    IAdaptable element = elements[i];
                    ResourceMapping mapping = getResourceMapping(element);
                    if (mapping != null) {
                        result.add(mapping);
                    }
                }
                if (!result.isEmpty())
                    return new CompositeResourceMapping(adaptableObject, (ResourceMapping[]) result.toArray(new ResourceMapping[result.size()]));
            }
        }
        return null;
    }
    /* (non-Javadoc)
     * @see org.eclipse.core.runtime.IAdapterFactory#getAdapterList()
     */