git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4549 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
06057a5a81
commit
d768fddeeb
|
@ -18,7 +18,6 @@ import org.eclipse.core.resources.IWorkspaceRoot;
|
|||
import org.eclipse.core.resources.ResourcesPlugin;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.core.runtime.NullProgressMonitor;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.eclipse.jface.dialogs.MessageDialog;
|
||||
import org.eclipse.jface.operation.IRunnableWithProgress;
|
||||
|
@ -122,7 +121,7 @@ public class NewApplicationProjectWizard extends Wizard implements INewWizard {
|
|||
|
||||
/* Step #2, makes it a CDT project.*/
|
||||
desc = workspace.newProjectDescription(projectName);
|
||||
project = CCorePlugin.getDefault().createCDTProject(desc, project, new NullProgressMonitor());
|
||||
project = CCorePlugin.getDefault().createCDTProject(desc, project, null);
|
||||
|
||||
ICProjectDescriptionManager mngr = CoreModel.getDefault().getProjectDescriptionManager();
|
||||
ICProjectDescription cdesc = mngr.createProjectDescription(project, false);
|
||||
|
|
|
@ -162,7 +162,6 @@ public class NewApplicationProjectWizardPage extends WizardPage {
|
|||
projectParentPathText.setEnabled(false);
|
||||
btnBrowse.setEnabled(false);
|
||||
|
||||
|
||||
/* Retrieving the resource path of the processors.xml file. */
|
||||
String fpath;
|
||||
try {
|
||||
|
@ -201,6 +200,9 @@ public class NewApplicationProjectWizardPage extends WizardPage {
|
|||
|
||||
/* Update checks on the fields.*/
|
||||
projectPageUpdated();
|
||||
|
||||
/* Focus on the first editable field.*/
|
||||
projectNameText.setFocus();
|
||||
}
|
||||
|
||||
public String getProjectName() {
|
||||
|
|
Loading…
Reference in New Issue