| JavaElementLabelProvider.SHOW_SMALL_ICONS;
final DecoratingLabelProvider provider = new DecoratingLabelProvider(
new JavaElementLabelProvider(labelFlags),
new ProblemsLabelDecorator(null));
ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(
shell, provider, new StandardJavaElementContentProvider());
dialog.setComparator(new JavaElementComparator());
dialog.setAllowMultiple(false);
dialog.setValidator(new ISelectionStatusValidator() {
public IStatus validate(Object[] selection) {
StatusInfo res = new StatusInfo();