Bug 61539 [Wizards] Perspective switching fails
Build: I-20040506 1. Fresh workspace. 2. Create a Java project. 3. Answer yes when asked if you want to switch to the Java perspective. Nothing happens.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewProjectResourceWizard.java
configElement = cfig;
	}
	/**
	 * Updates the perspective for the active page within the window.
	 */
	protected void updatePerspective() {
		updatePerspective(configElement);
	}
	/**
	 * Updates the perspective based on the current settings in the
	 * Workbench/Perspectives preference page.
	 * <p>
	 * A new project wizard class will need to implement the
	 * <code>IExecutableExtension</code> interface so as to gain access to the
	 * wizard's <code>IConfigurationElement</code>. That is the configuration
	 * element to pass into this method.
	 * </p>
	 * 
	 * @see IWorkbenchPreferenceConstants#OPEN_PERSPECTIVE_WINDOW
	 * @see IWorkbenchPreferenceConstants#OPEN_PERSPECTIVE_PAGE
	 * @see IWorkbenchPreferenceConstants#OPEN_PERSPECTIVE_REPLACE
	 * @see IWorkbenchPreferenceConstants#NO_NEW_PERSPECTIVE
	 */
	public static void updatePerspective(IConfigurationElement configElement) {
		
		
		if (configElement == null)
			return;
		
		String perspSetting = IDEWorkbenchPlugin.getDefault()