Bug 90170 [Dialogs] CamelCase search on OpenResource/OpenType
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceSearcher.java
Collection values = getValues();
			List result = new ArrayList();
			for (Iterator iter = values.iterator(); iter.hasNext();) {
				IResource resource = (IResource) iter.next();
				if (matcher == null || matcher.match(resource.getName()))
					if (container.findMember(resource.getFullPath()) != null)
						result.add(resource);
					else
						remove(resource);
			}
			Collections.reverse(result);
			return (IResource[]) result.toArray(new IResource[result.size()]);
		}
		protected Object getKey(Object object) {
			return object;
		}
		protected Object createFromElement(IMemento memento) {
			IResource resource = null;
			ResourceFactory resourceFactory = new ResourceFactory();
			resource = (IResource) resourceFactory.createElement(memento);
			return resource;
		}
		protected void setAttributes(Object object, IMemento resourceElement) {
			IResource resource = (IResource) object;
			ResourceFactory resourceFactory = new ResourceFactory(resource);
			resourceFactory.saveState(resourceElement);
		}
	}
}