mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46: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
|
||||
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
|
||||
|
|
|
@ -1099,11 +1099,8 @@ public class NewClassWizardPage extends WizardPage implements Listener {
|
|||
ITypeInfo[] elementsFound = findClassElementsInProject();
|
||||
QualifiedTypeName typeName = new QualifiedTypeName(getNewClassName());
|
||||
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;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue