Bug 293357 [context] Switch annotation processing to JSR 330
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Thumbnails.java
}
	@In
	public void setSelection(IResource selection) {
		if (selection == null)
			return;
		IContainer newInput;
		if (selection instanceof IContainer)
			newInput = (IContainer)selection;
		else
			newInput = selection.getParent();
		
		
		if (newInput != this.input) {
			this.input = newInput;
			this.runnable = null;
			try {
				IContainer container = (IContainer) input;
				IResource[] members;
				members = container.members();
				gallery.removeAll();
				group = new GalleryItem(gallery, SWT.NONE);
				group.setExpanded(true);
				final List images = new ArrayList();
				for (int i = 0; i < members.length; i++) {
					IResource resource = members[i];
					if (resource.getType() == IResource.FILE) {
						images.add(resource);
					}
				}
				if (images.size() == 0)