Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
}
	}
	protected static GridData gridDataForDefaultForTypeName(int span) {
		GridData gd= new GridData();
		gd.horizontalSpan= span;
		return gd;
	}
	public static Control createEmptySpace(Composite parent, int span) {
		Label label= new Label(parent, SWT.LEFT);
		GridData gd= new GridData();
		gd.horizontalAlignment= gd.BEGINNING;
		gd.grabExcessHorizontalSpace= false;
		gd.horizontalSpan= span;
		gd.horizontalIndent= 0;
		gd.widthHint= 0;
		gd.heightHint= 0;
		label.setLayoutData(gd);
		return label;
	}
	public void setVisible(boolean visible) {
		super.setVisible(visible);
		if (visible && fFirstTime) {
			handleFieldChanged(CLASS_TO_TEST); 
			fFirstTime= false;
		}
	}
	
	public int getIndexOfFirstMethod() {
		return fIndexOfFirstTestMethod;
	}