private IFile selectWorkspaceFile(IFile[] files) {
ElementListSelectionDialog dialog= new ElementListSelectionDialog(fWindow.getShell(), new FileLabelProvider());
dialog.setElements(files);
dialog.setTitle(""); //$NON-NLS-1$
dialog.setMessage(""); //$NON-NLS-1$
if (dialog.open() == Window.OK)
return (IFile) dialog.getFirstResult();
return null;
}
static class FileLabelProvider extends LabelProvider {
public String getText(Object element) {