Lines 20-25
Link Here
|
20 |
import org.eclipse.core.runtime.IStatus; |
20 |
import org.eclipse.core.runtime.IStatus; |
21 |
import org.eclipse.core.runtime.Path; |
21 |
import org.eclipse.core.runtime.Path; |
22 |
import org.eclipse.core.runtime.Platform; |
22 |
import org.eclipse.core.runtime.Platform; |
|
|
23 |
import org.eclipse.jface.dialogs.IMessageProvider; |
23 |
import org.eclipse.jface.wizard.WizardPage; |
24 |
import org.eclipse.jface.wizard.WizardPage; |
24 |
import org.eclipse.swt.SWT; |
25 |
import org.eclipse.swt.SWT; |
25 |
import org.eclipse.swt.events.SelectionAdapter; |
26 |
import org.eclipse.swt.events.SelectionAdapter; |
Lines 445-450
Link Here
|
445 |
} |
446 |
} |
446 |
} |
447 |
} |
447 |
|
448 |
|
|
|
449 |
// check if project with same name, different case exists |
450 |
File directory = new Path(getProjectLocationFieldValue()).toFile(); |
451 |
if (directory.isDirectory()){ // returns true if folder exists, even if case is different |
452 |
setMessage(IDEWorkbenchMessages.WizardNewProjectCreationPage_projectExistsinOtherCaseMessage, IMessageProvider.WARNING); |
453 |
return true; |
454 |
} |
455 |
|
448 |
setErrorMessage(null); |
456 |
setErrorMessage(null); |
449 |
setMessage(null); |
457 |
setMessage(null); |
450 |
return true; |
458 |
return true; |