From 972a454f62520e81f4a88f956640ac1f5556b125 Mon Sep 17 00:00:00 2001 From: Edward Mann Date: Sun, 6 Jan 2008 23:25:27 +0000 Subject: [PATCH] Change to speed up RSE project create. Window will now release and project refresh will continue in the background. --- .../wizards/NewProjectCreationWizard.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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( -- 1.7.1