Bug 127451 [Mapping] Model provider and working set mappings must be dynamic
The model provider and working set mappings must be dynamic. Currently they use CompositeResourceMapping which means that changes to the projects of the model provider or the contents of the working set get missed if someone holds onto a mapping.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkingSetAdapterFactory.java
}
		public String getLabel(Object o) {
			if (o instanceof IWorkingSet) {
				IWorkingSet set = (IWorkingSet) o;
				return set.getLabel();
			}
			return null;
		}
		public Object getParent(Object o) {
			return null;
		}
	}
	private IContributorResourceAdapter2 contributorResourceAdapter = new ContributorResourceAdapter();
	private IWorkbenchAdapter workbenchAdapter = new WorkbenchAdapter();
	/*
	 * (non-Javadoc)
	 * 
	 * @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;