Bug 30700 New Project/package/class not selected in package explorer
I20030129 - create one of the java elements using the wizard. observe: the new element is not selected in the package explorer. The reason is that we post resource deltas asynchronously.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
}  
			return;
		}
		if (kind == IJavaElementDelta.ADDED) { 
			
			
			if (isWorkingCopy(element)) {
				refreshWorkingCopy((IWorkingCopy)element);
				return;
			}
			Object parent= internalGetParent(element);
			
			 
			if (parent instanceof IPackageFragment) {
				Object grandparent= internalGetParent(parent);
				
				
				if (parent.equals(fInput)) {
					postRefresh(parent);
				} else {
					
					if (fViewer.testFindItem(parent) == null)
						postRefresh(grandparent);
					else {
						postRefresh(parent);
					}	
				}
				return;				
			} else {  
				postAdd(parent, element);