Bug 55036 [Perspectives] Workbench switch perspective when new project is created, even if setup to no switch
I200403161300 I have the preference workbench>perspectives>'switch to associated perspective when creating new project' set 'Never switch'. I create a java project and the workbench switch to the java perspective (my current perspective was a custom perspective based on the java perspective).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewProjectResourceWizard.java
* Method declared on BasicNewResourceWizard.
 */
protected void initializeDefaultPageImageDescriptor() {
	String iconPath = "icons/full/";		
	try {
		URL installURL = IDEWorkbenchPlugin.getDefault().getDescriptor().getInstallURL();
		URL url = new URL(installURL, iconPath + "wizban/newprj_wiz.gif");
		ImageDescriptor desc = ImageDescriptor.createFromURL(url);
		setDefaultPageImageDescriptor(desc);
	}
	catch (MalformedURLException e) {
		
	}
}
/* (non-Javadoc)
 * Opens a new window with a particular perspective and input.
 */
private static void openInNewWindow(IPerspectiveDescriptor desc) {
	
	try {
		PlatformUI.getWorkbench().openWorkbenchWindow(
			desc.getId(),
			ResourcesPlugin.getWorkspace().getRoot());
	} catch (WorkbenchException e) {
		IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
		if (window != null) {
			ErrorDialog.openError(
				window.getShell(),
				WINDOW_PROBLEMS_TITLE,
				e.getMessage(),