diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog index ad7ea84280e..72f053898b2 100644 --- a/core/org.eclipse.cdt.ui/ChangeLog +++ b/core/org.eclipse.cdt.ui/ChangeLog @@ -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 diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java index 33a2d2de9ad..21a82ab9591 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java @@ -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; } /**