Bug 6009 New class wizard doesn't get context right for nested classes
Build 20011106. - with a .java file open in the editor, - click the new class button - check "Enclosing Type" - the field is blank - it should default to the current type in the editor
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.Separator;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonStatusDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField;
import org.eclipse.jdt.internal.ui.wizards.swt.MGridData;
/**
 * <code>TypePage</code> contains controls and validation routines for a 'New Type WizardPage'
 * Implementors decide which components to add and to enable. Implementors can also
 * customize the validation code.
 * <code>TypePage</code> is intended to serve as base class of all wizards that create types.
 * Applets, Servlets, Classes, Interfaces...
 * See <code>NewClassCreationWizardPage</code> or <code>NewInterfaceCreationWizardPage</code> for an
 * example usage of TypePage.
 */
public abstract class TypePage extends ContainerPage {
	
	private final static String PAGE_NAME= "TypePage"; 
	
	protected final static String PACKAGE= PAGE_NAME + ".package";	 
	protected final static String ENCLOSING= PAGE_NAME + ".enclosing"; 
	protected final static String ENCLOSINGSELECTION= ENCLOSING + ".selection"; 
	
	protected final static String TYPENAME= PAGE_NAME + ".typename"; 
	protected final static String SUPER= PAGE_NAME + ".superclass"; 
	protected final static String INTERFACES= PAGE_NAME + ".interfaces"; 
	protected final static String MODIFIERS= PAGE_NAME + ".modifiers"; 
	protected final static String METHODS= PAGE_NAME + ".methods"; 
	private class InterfacesListLabelProvider extends LabelProvider {