Change to speed up RSE project create. Window will now release and
authorEdward Mann <phpeclipse.dev@edmann.com>
Sun, 6 Jan 2008 23:25:27 +0000 (23:25 +0000)
committerEdward Mann <phpeclipse.dev@edmann.com>
Sun, 6 Jan 2008 23:25:27 +0000 (23:25 +0000)
project refresh will continue in the background.

net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java

index 559b7bc..28ce603 100644 (file)
@@ -9,6 +9,7 @@ import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
 import org.eclipse.core.resources.IWorkspace;
 import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.CoreException;
@@ -84,7 +85,7 @@ public class NewProjectCreationWizard extends BasicNewResourceWizard implements
                                                remainingWorkUnits--;
                                        }
                                        if (!newProject.isOpen()) {
-                                               newProject.open(new SubProgressMonitor(monitor, 1));
+                                           newProject.open(IResource.BACKGROUND_REFRESH, new SubProgressMonitor(monitor, 1));
                                                remainingWorkUnits--;
                                        }
                                        JavaCore.addPHPNature(newProject, new SubProgressMonitor(