Bug 90082 [1.5][generics] "New Class" wizard is not able to implement generic interfaces
In Eclipse 3.1 (JDT version I20050219-1500), the wizard for creating a new class seems unable to implement generic interfaces while specifying its argument. For example, implementing Comparable<Integer> is impossible; you have to first implement Comparable, and then correct the genearted stub for specifying its type argument. (in this example, replacing the Object argument of comparesTo by Integer.)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
pack= root.createPackageFragment(packName, true, null);
			}		
			
			monitor.worked(1);
			
			String clName= getTypeName();
			
			boolean isInnerClass= isEnclosingTypeSelected();
			
			IType createdType;
			ImportsManager imports;
			int indent= 0;
			String lineDelimiter= null;	
			if (!isInnerClass) {
				lineDelimiter= System.getProperty("line.separator", "\n"); 
										
				ICompilationUnit parentCU= pack.createCompilationUnit(clName + ".java", "", false, new SubProgressMonitor(monitor, 2)); 
				
				createdWorkingCopy= parentCU.getWorkingCopy(null);
				
				
				String content= CodeGeneration.getCompilationUnitContent(createdWorkingCopy, getFileComment(createdWorkingCopy, lineDelimiter), null, "", lineDelimiter); 
				if (content != null) {
					createdWorkingCopy.getBuffer().setContents(content);
				}
							
				imports= new ImportsManager(createdWorkingCopy);
				
				imports.addImport(JavaModelUtil.concatenateName(pack.getElementName(), getTypeName()));