Merged "Open PHP Declaration" and "Open Include File" into one action "Open Declarati...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / NewProjectCreationWizard.java
index 4378e2f..cbeca0a 100644 (file)
@@ -2,7 +2,7 @@ package net.sourceforge.phpeclipse.wizards;
 
 import java.lang.reflect.InvocationTargetException;
 
-import net.sourceforge.phpeclipse.PHPCore;
+import net.sourceforge.phpdt.core.JavaCore;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IProject;
@@ -73,7 +73,7 @@ public class NewProjectCreationWizard extends BasicNewResourceWizard implements
                                                newProject.open(new SubProgressMonitor(monitor, 1));
                                                remainingWorkUnits--;
                                        }
-                                       PHPCore.addPHPNature(newProject, new SubProgressMonitor(monitor, remainingWorkUnits));
+                                       JavaCore.addPHPNature(newProject, new SubProgressMonitor(monitor, remainingWorkUnits));
                                } catch (CoreException e) {
                                        throw new InvocationTargetException(e);
                                } finally {