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
e.getStatus());
		}
	}
}
/* (non-Javadoc)
 * Method declared on IWizard.
 */
public boolean performFinish() {
	createNewProject();
	
	if (newProject == null)
		return false;
	updatePerspective();
	selectAndReveal(newProject);
	
	return true;
}
/* (non-Javadoc)
 * Replaces the current perspective with the new one.
 */
private static void replaceCurrentPerspective(IPerspectiveDescriptor persp) {
	
	IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
	if (window == null)
		return;
	IWorkbenchPage page = window.getActivePage();
	if (page == null)
		return;
	
	page.setPerspective(persp);