Bug 27264 opening/closing java files in presence of hiearchical package explorer is slow
will attach profiles
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageFragmentProvider.java
* @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(Object)
	 */
	public Object getParent(Object element) {
		if (element instanceof IPackageFragment) {
			IPackageFragment frag = (IPackageFragment) element;
			
		
			return filterParent(getActualParent(frag));
		}
		return null;
	}
	public Object getActualParent(IPackageFragment fragment) {
		try {
			if (fragment.exists()) {
				IJavaElement parent = fragment.getParent();
				if ((parent instanceof IPackageFragmentRoot) && parent.exists()) {
					IPackageFragmentRoot root = (IPackageFragmentRoot) parent;
					if (root.isArchive()) {
						return findNextLevelChildrenByElementName(fragment, root);
					} else {
						IResource resource = fragment.getUnderlyingResource();
						if ((resource != null) && (resource instanceof IFolder)) {
							IFolder folder = (IFolder) resource;
							IResource res = folder.getParent();
							IJavaElement el = JavaCore.create(res);
							return el;
						}
					}
					return parent;
				}