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
((CoreException) t).getStatus());
			}
		} else {
			
			IDEWorkbenchPlugin.getDefault().getLog().log(
				new Status(
					IStatus.ERROR, 
					IDEWorkbenchPlugin.IDE_WORKBENCH, 
					0, 
					t.toString(),
					t));
			MessageDialog.openError(
				getShell(),
				ResourceMessages.getString("NewProject.errorMessage"),  
				ResourceMessages.format("NewProject.internalError", new Object[] {t.getMessage()})); 
		}
		return null;
	}
	newProject = newProjectHandle;
	return newProject;
}
/**
 * Creates a project resource given the project handle and description.
 *
 * @param description the project description to create a project resource for
 * @param projectHandle the project handle to create a project resource for
 * @param monitor the progress monitor to show visual progress with
 *
 * @exception CoreException if the operation fails
 * @exception OperationCanceledException if the operation is canceled