changed to version 1.1.5 for js.core
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / NewProjectCreationWizard.java
index cbeca0a..c895758 100644 (file)
@@ -3,6 +3,7 @@ package net.sourceforge.phpeclipse.wizards;
 import java.lang.reflect.InvocationTargetException;
 
 import net.sourceforge.phpdt.core.JavaCore;
+import net.sourceforge.phpdt.ui.actions.OpenPHPPerspectiveAction;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IProject;
@@ -43,7 +44,8 @@ public class NewProjectCreationWizard extends BasicNewResourceWizard implements
 
                BasicNewProjectResourceWizard.updatePerspective(configurationElement);
                selectAndReveal(newProject);
-
+        // open the PHP perspective
+               new OpenPHPPerspectiveAction().run();
                return true;
        }