return element instanceof IJavaProject || (element instanceof IPackageFragmentRoot && ((IJavaElement)element).getElementName() != IPackageFragmentRoot.DEFAULT_PACKAGEROOT_PATH);
if (element instanceof IJavaProject || (element instanceof IPackageFragmentRoot && ((IJavaElement)element).getElementName() != IPackageFragmentRoot.DEFAULT_PACKAGEROOT_PATH)) try { IJavaProject jProject= ((IJavaElement)element).getJavaProject(); if (jProject != null) return jProject.getProject().hasNature(JavaCore.NATURE_ID); } catch (CoreException ex) { return false; } return false;
	protected boolean isValidInput(Object element) {		return element instanceof IJavaProject			|| (element instanceof IPackageFragmentRoot && ((IJavaElement)element).getElementName() != IPackageFragmentRoot.DEFAULT_PACKAGEROOT_PATH);	}