From: Edward Mann Date: Sun, 6 Jan 2008 23:25:27 +0000 (+0000) Subject: Change to speed up RSE project create. Window will now release and X-Git-Url: http://git.phpeclipse.com Change to speed up RSE project create. Window will now release and project refresh will continue in the background. --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java index 559b7bc..28ce603 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java @@ -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(