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
if (refProjects.length > 0)
			description.setReferencedProjects(refProjects);
	}
	
	
	WorkspaceModifyOperation op = new WorkspaceModifyOperation() {
		protected void execute(IProgressMonitor monitor) throws CoreException {
			createProject(description, newProjectHandle, monitor);
		}
	};
	
	try {
		getContainer().run(true, true, op);
	} catch (InterruptedException e) {
		return null;
	} catch (InvocationTargetException e) {
			
		Throwable t = e.getTargetException();
		if (t instanceof CoreException) {
			if (((CoreException)t).getStatus().getCode() == IResourceStatus.CASE_VARIANT_EXISTS) {
				MessageDialog.openError(
					getShell(), 
					ResourceMessages.getString("NewProject.errorMessage"),  
					ResourceMessages.format("NewProject.caseVariantExistsError", new String[] { newProjectHandle.getName()} )  ,
					);	
			} else {
				ErrorDialog.openError(
					getShell(), 
					ResourceMessages.getString("NewProject.errorMessage"),  
					null,