Bug 7103 Property sheet only shows name for Java elements
we should show at least the same information as user's get for resources
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementAdapterFactory.java
return fSearchPageScoreComputer;
		} if (IWorkbenchAdapter.class.equals(key)) {
			return fgJavaWorkbenchAdapter;
		} if (IResourceLocator.class.equals(key)) {
			return fgResourceLocator;
		} if (IPersistableElement.class.equals(key)) {
			return new PersistableJavaElementFactory(java);
		} if (IContributorResourceAdapter.class.equals(key)) {
			return fgContributorResourceAdapter;
		} if (ITaskListResourceAdapter.class.equals(key)) {
			return fgTaskListAdapter;
		}
		return null; 
	}
	
	private IResource getResource(IJavaElement element) {
		try {
			return element.getCorrespondingResource();
		} catch (JavaModelException e) {
			return null;	
		}
	}
	
	private IResource getProject(IJavaElement element) {
		return element.getJavaProject().getProject();
	}
	private IPropertySource getProperties(IJavaElement element) {
		return new JavaElementProperties(element);
	}
}