Bug 46468 [RCP] [Dialogs] new file doesn't fill in parent folder
right-clicking in the package explorer on some package and selecting New->File pops up the new file dialog, however the parent folder is not filled in. This is a regression it worked for the previous integration build. I am currently using I200311111216.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewResourceWizard.java
for (int i = 0; i < refs.length; i++) {
		if(refs[i].getPart(false) != null)
			parts.add(refs[i].getPart(false));
	}
	
	final ISelection selection = new StructuredSelection(resource);
	Iterator enum = parts.iterator();
	while (enum.hasNext()) {
		IWorkbenchPart part = (IWorkbenchPart) enum.next();
		
		
		ISetSelectionTarget target = null;
		if (part instanceof ISetSelectionTarget)
			target = (ISetSelectionTarget) part;
		else
			target = (ISetSelectionTarget) part.getAdapter(ISetSelectionTarget.class);
			
		if (target != null) {
			
			final ISetSelectionTarget finalTarget = target;
			window.getShell().getDisplay().asyncExec(new Runnable() {
				public void run() {
					finalTarget.selectReveal(selection);
				}
			});
		}
	}
}
}