mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-24 16:53:50 +02:00
New Class Wizard small API change
This commit is contained in:
parent
61cd51d9b6
commit
d42dfce8c4
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2003-12-09 Hoda Amer
|
||||||
|
Added a method to return the created class element to the class wizard.
|
||||||
|
|
||||||
2003-11-14 David Inglis
|
2003-11-14 David Inglis
|
||||||
Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=46685
|
Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=46685
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ package org.eclipse.cdt.ui.wizards;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.core.model.ICElement;
|
||||||
import org.eclipse.cdt.core.model.ITranslationUnit;
|
import org.eclipse.cdt.core.model.ITranslationUnit;
|
||||||
import org.eclipse.cdt.internal.ui.CPluginImages;
|
import org.eclipse.cdt.internal.ui.CPluginImages;
|
||||||
import org.eclipse.cdt.internal.ui.actions.WorkbenchRunnableAdapter;
|
import org.eclipse.cdt.internal.ui.actions.WorkbenchRunnableAdapter;
|
||||||
|
@ -122,5 +123,8 @@ public class NewClassWizard extends BasicNewResourceWizard implements INewWizard
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ICElement getCreatedClassElement(){
|
||||||
|
return fPage.getCreatedClassElement();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue