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
}
/**
 * Initializes the default page image descriptor to an appropriate banner.
 * By calling <code>setDefaultPageImageDescriptor</code>.
 * The default implementation of this method uses a generic new wizard image.
 * <p>
 * Subclasses may reimplement.
 * </p>
 */
protected void initializeDefaultPageImageDescriptor() {
	String iconPath = "icons/full/";
	try {
		URL installURL = Platform.getPlugin(PlatformUI.PLUGIN_ID).getDescriptor().getInstallURL();
		URL url = new URL(installURL, iconPath + "wizban/new_wiz.gif");
		ImageDescriptor desc = ImageDescriptor.createFromURL(url);
		setDefaultPageImageDescriptor(desc);
	}
	catch (MalformedURLException e) {
		
	}
}
/**
 * Selects and reveals the newly added resource in all parts
 * of the active workbench window's active page.
 *
 * @see ISetSelectionTarget
 */
protected void selectAndReveal(IResource newResource) {
	selectAndReveal(newResource, getWorkbench().getActiveWorkbenchWindow());
}