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 (configElement == null)
		return;
		
	
	String perspSetting =
		IDEWorkbenchPlugin.getDefault().getPreferenceStore().getString(
			IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE);
	
	if (perspSetting.equals(IWorkbenchPreferenceConstants.NO_NEW_PERSPECTIVE))
		return;
	
	String finalPerspId = configElement.getAttribute(FINAL_PERSPECTIVE);
	if (finalPerspId == null)
		return;
	
	
	IPerspectiveRegistry reg = PlatformUI.getWorkbench().getPerspectiveRegistry();
	
	 
	
	IPerspectiveDescriptor finalPersp = reg.findPerspectiveWithId(finalPerspId);
	if (finalPersp != null && finalPersp instanceof IPluginContribution) {
        IPluginContribution contribution = (IPluginContribution) finalPersp;
        if (contribution.getPluginId() != null) {            
        	IWorkbenchActivitySupport workbenchActivitySupport = PlatformUI.getWorkbench().getActivitySupport();
    		IActivityManager activityManager = workbenchActivitySupport.getActivityManager();        	       
        	IIdentifier identifier = activityManager
                .getIdentifier(