ITreeContentProvider contentProvider= new JavaElementContentProvider(true, false, false);
ITreeContentProvider contentProvider= new JavaElementContentProvider();
	protected ElementTreeSelectionDialog createWorkspaceFileSelectionDialog(String title, String message) {		int labelFlags= JavaElementLabelProvider.SHOW_BASICS						| JavaElementLabelProvider.SHOW_OVERLAY_ICONS						| JavaElementLabelProvider.SHOW_SMALL_ICONS;		ITreeContentProvider contentProvider= new JavaElementContentProvider(true, false, false);		ILabelProvider labelProvider= new JavaElementLabelProvider(labelFlags);		ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShell(), labelProvider, contentProvider, false, true); 		dialog.setValidator(new ISelectionValidator() {			public void isValid(Object[] selection, StatusInfo res) {				// only single selection				if (selection.length == 1 && (selection[0] instanceof IFile))					res.setOK();				else					res.setError(""); //$NON-NLS-1$			}		});		dialog.addFilter(new EmptyInnerPackageFilter());		dialog.setTitle(title);		dialog.setMessage(message);		dialog.setStatusLineAboveButtons(true);		dialog.setInput(JavaCore.create(JavaPlugin.getDefault().getWorkspace().getRoot()));		return dialog;	}