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
}
				if (!result.isEmpty()) {
					return new CompositeResourceMapping(
							ModelProvider.RESOURCE_MODEL_PROVIDER_ID,
							adaptable,
							(ResourceMapping[]) result
									.toArray(new ResourceMapping[result.size()]));
				}
			}
			return null;
		}
		public IResource getAdaptedResource(IAdaptable adaptable) {
			
			return null;
		}
	}
	class WorkbenchAdapter implements IWorkbenchAdapter {
		public Object[] getChildren(Object o) {
			if (o instanceof IWorkingSet) {
				IWorkingSet set = (IWorkingSet) o;
				return set.getElements();
			}
			return null;
		}
		public ImageDescriptor getImageDescriptor(Object o) {
			if (o instanceof IWorkingSet) {
				IWorkingSet set = (IWorkingSet) o;
				return set.getImage();
			}
			return null;