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
return workbench;
}
/**
 * The <code>BasicNewResourceWizard</code> implementation of this 
 * <code>IWorkbenchWizard</code> method records the given workbench and
 * selection, and initializes the default banner image for the pages
 * by calling <code>initializeDefaultPageImageDescriptor</code>.
 * If the given selection is empty but the window's active part is an
 * editor open on an <code>IFile</code> then use that file as the
 * selection.
 * Subclasses may extend.
 */
public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
	this.workbench = workbench;
	this.selection = currentSelection;
	if (currentSelection == null || currentSelection.isEmpty()) {
		
		IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
		if (window != null) {
			IWorkbenchPart part = window.getPartService().getActivePart();
			if (part instanceof IEditorPart) {
				IEditorInput input = ((IEditorPart) part).getEditorInput();
				if (input instanceof IFileEditorInput) {
					this.selection = new StructuredSelection(((IFileEditorInput) input).getFile());
				}
			}		
		}
	}
	
	initializeDefaultPageImageDescriptor();