Bug 38705 wizards should default with current editor selection [code manipulation]
Build 20030605 When using open-type wizard, or create class wizard, the initial type name should be using the current user editor selection if any, so as to ease the typing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
String comment= getTypeComment(parentCU, lineDelimiter);
					if (comment != null) {
						content.append(comment);
						content.append(lineDelimiter);
					}
				}
				content.append(constructTypeStub(new ImportsManager(imports), lineDelimiter));
				IJavaElement[] elems= enclosingType.getChildren();
				IJavaElement sibling= elems.length > 0 ? elems[0] : null;
				
				createdType= enclosingType.createType(content.toString(), sibling, false, new SubProgressMonitor(monitor, 1));
			
				indent= StubUtility.getIndentUsed(enclosingType) + 1;
			}
			
			
			boolean needsSave= !imports.getCompilationUnit().isWorkingCopy();
			imports.create(needsSave, new SubProgressMonitor(monitor, 1));
	
			ICompilationUnit cu= createdType.getCompilationUnit();	
			synchronized(cu) {
				cu.reconcile();
			}			
			createTypeMembers(createdType, new ImportsManager(imports), new SubProgressMonitor(monitor, 1));
	
			
			imports.create(needsSave, new SubProgressMonitor(monitor, 1));
			
			synchronized(cu) {
				cu.reconcile();