JavaElementContentProvider cp= new JavaElementContentProvider();
JavaElementContentProvider cp= new JavaElementContentProvider() { public boolean hasChildren(Object element) {  return !(element instanceof IPackageFragment) && super.hasChildren(element); } };
	protected Object selectDestination(IJavaElement root, List elements, Shell parent) {		JavaElementContentProvider cp= new JavaElementContentProvider();		ContainerFilter filter= new ContainerFilter(elements);		ISelectionValidator v= getDestinationValidator(elements);		ILabelProvider labelProvider= new DestinationRenderer(			JavaElementLabelProvider.SHOW_SMALL_ICONS		);		ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(parent, getActionName(), null, labelProvider, cp);		dialog.setValidator(v);		dialog.addFilter(filter);		dialog.setSorter(new PackageViewerSorter());		dialog.setMessage(getDestinationDialogMessage());		dialog.setInitialSizeInCharacters(60, 18);				if (dialog.open(root) != dialog.CANCEL)			return dialog.getSelectedElement();		return null;	}