git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4512 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
8f81ae8250
commit
7c88a3a468
|
@ -30,7 +30,11 @@ import org.chibios.tools.eclipse.config.utils.TemplateException;
|
|||
import org.eclipse.core.commands.AbstractHandler;
|
||||
import org.eclipse.core.commands.ExecutionEvent;
|
||||
import org.eclipse.core.commands.ExecutionException;
|
||||
import org.eclipse.core.resources.IContainer;
|
||||
import org.eclipse.core.resources.IFile;
|
||||
import org.eclipse.core.resources.IFolder;
|
||||
import org.eclipse.core.resources.ResourcesPlugin;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.core.runtime.FileLocator;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
|
|
|
@ -133,7 +133,7 @@ public class ConfigurationNewWizard extends Wizard implements INewWizard {
|
|||
throwCoreException("Container \"" + containerName + "\" does not exist.");
|
||||
}
|
||||
IContainer container = (IContainer)resource;
|
||||
monitor.beginTask("Creating " + projectFileName, 3);
|
||||
monitor.beginTask("Creating " + projectFileName, 4);
|
||||
|
||||
/* Step #1, creates the project file.*/
|
||||
final IFile projectFile = container.getFile(new Path(projectFileName));
|
||||
|
@ -182,6 +182,10 @@ public class ConfigurationNewWizard extends Wizard implements INewWizard {
|
|||
}
|
||||
});
|
||||
monitor.worked(1);
|
||||
|
||||
/* Step #4, refreshing local resources.*/
|
||||
container.refreshLocal(IResource.DEPTH_INFINITE, monitor);
|
||||
monitor.worked(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue