mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +02:00
Patch for Chris W.
This commit is contained in:
parent
1075c0ba5f
commit
1d7a1efcd3
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2004-06-25 Chris Wiebe
|
||||||
|
Fix for PR# 49849: [New Class Wizard] Able to add a new C++ Class with the same name (at same location) from New C++ Class Wizard
|
||||||
|
|
||||||
2004-06-24 Bogdan Gheorghe
|
2004-06-24 Bogdan Gheorghe
|
||||||
Fix for 66695: [Indexer] Manually add an include path to a file/folder is ignored
|
Fix for 66695: [Indexer] Manually add an include path to a file/folder is ignored
|
||||||
Changed CompletionEngine getScannerInfo to get the info from a resource instead of
|
Changed CompletionEngine getScannerInfo to get the info from a resource instead of
|
||||||
|
|
|
@ -1099,11 +1099,8 @@ public class NewClassWizardPage extends WizardPage implements Listener {
|
||||||
ITypeInfo[] elementsFound = findClassElementsInProject();
|
ITypeInfo[] elementsFound = findClassElementsInProject();
|
||||||
QualifiedTypeName typeName = new QualifiedTypeName(getNewClassName());
|
QualifiedTypeName typeName = new QualifiedTypeName(getNewClassName());
|
||||||
if (foundInList(elementsFound, typeName)) {
|
if (foundInList(elementsFound, typeName)) {
|
||||||
status.setWarning(NewWizardMessages.getString("NewClassWizardPage.error.ClassNameExists")); //$NON-NLS-1$
|
status.setError(NewWizardMessages.getString("NewClassWizardPage.error.ClassNameExists")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
// if(foundInList(getNewClassName(), getContainerPath(linkedResourceGroupForHeader), elementsFound)){
|
|
||||||
// status.setWarning(NewWizardMessages.getString("NewClassWizardPage.error.ClassNameExists")); //$NON-NLS-1$
|
|
||||||
// }
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue