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
/**
 * Attempts to select and reveal the specified resource in all
 * parts within the supplied workbench window's active page.
 * <p>
 * Checks all parts in the active page to see if they implement <code>ISetSelectionTarget</code>,
 * either directly or as an adapter. If so, tells the part to select and reveal the
 * specified resource.
 * </p>
 *
 * @param resource the resource to be selected and revealed
 * @param window the workbench window to select and reveal the resource
 * 
 * @see ISetSelectionTarget
 */
public static void selectAndReveal(IResource resource, IWorkbenchWindow window) {
	
	if (window == null || resource == null)
		return;
	IWorkbenchPage page = window.getActivePage();
	if (page == null)
		return;
	
	List parts = new ArrayList();
	IWorkbenchPartReference refs[] = page.getViewReferences();
	for (int i = 0; i < refs.length; i++) {
		IWorkbenchPart part = refs[i].getPart(false);
		if(part != null)
			parts.add(part);
	}	
	refs = page.getEditorReferences();