@Override
	public FileSelectionDialog(Shell parent, String title, final String extension) {		super(parent, new WorkbenchLabelProvider(), new BaseWorkbenchContentProvider());		setTitle(title);		addFilter(new ViewerFilter() {			public boolean select(Viewer viewer, Object parentElement, Object element) {				if (element instanceof IContainer) {					try {						IResource[] resources = ((IContainer) element)								.members();						for (int i = 0; i < resources.length; i++) {							if (select(viewer, element, resources[i])) {								return true;							}						}					} catch (CoreException e) {						FindbugsPlugin.getDefault().logException(e, "Error looking up children.");					}				}				if (element instanceof IFile) {					IFile file = (IFile) element;					return file.getName().endsWith(extension);				}				return false;			}		});	}