Bug 3793 Wrong formating when creating inner class using wizard (1GEUE91)
- select TestCase - create a new class using TestCase as an eclosing type observe: - new type is added at the end. Quasi standard is having the new type at the beginning. - new type doesn't have indention. NOTES: GDA (6/5/01 11:08:09 AM) defer
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
}
	/**
	 * Called when the modifiers have changed.
	 * The method validates the modifiers and returns the status of the validation.
	 * Can be extended to add more validation.
	 */
	protected IStatus modifiersChanged() {
		StatusInfo status= new StatusInfo();
		int modifiers= getModifiers();
		if (Flags.isFinal(modifiers) && Flags.isAbstract(modifiers)) {
			status.setError(NewWizardMessages.getString("TypePage.error.ModifiersFinalAndAbstract")); 
		}
		return status;
	}
	
	
	
	
	private IPackageFragment choosePackage() {
		IPackageFragmentRoot froot= getPackageFragmentRoot();
		IJavaElement[] packages= null;
		try {
			if (froot != null) {
				packages= froot.getChildren();
			}
		} catch (JavaModelException e) {
		}
		if (packages == null) {
			packages= new IJavaElement[0];
		}