mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
patch for 155392 by Janees Elamkulam
This commit is contained in:
parent
6f04ca7b10
commit
0df02becc9
1 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* QNX Software Systems - initial API and implementation
|
||||
* IBM Corporation
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.ui.wizards.classwizard;
|
||||
|
||||
|
@ -163,7 +164,11 @@ public class NewClassCodeGenerator {
|
|||
headerWorkingCopy.commit(true, monitor);
|
||||
monitor.worked(50);
|
||||
|
||||
createdClass = headerWorkingCopy.getElement(fClassName.toString());
|
||||
IQualifiedTypeName className = new QualifiedTypeName(fClassName);
|
||||
if(fNamespace != null){
|
||||
className = fNamespace.append(className);
|
||||
}
|
||||
createdClass = headerWorkingCopy.getElement(className.getFullyQualifiedName());
|
||||
fCreatedClass = createdClass;
|
||||
fCreatedHeaderTU = headerTU;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue