Bug 43761 Implemented Interfaces Selection dialog behavior
a) Add two interfaces. -> Two interfaces have been added to the list box on the "New Java Class" dialog. Close the dialog via the x in the upper right hand corner. -> Two interfaces have been added. b) Add two interfaces. -> Two interfaces have been added to the list box on the "New Java Class" dialog. Close the dialog via "Cancel". -> Both interfaces will not be added. @@@@ Shouldn't closing the dialog equate to a "Cancel"?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/SuperInterfaceSelectionDialog.java
private void addSelectedInterface(){
		Object ref= getLowerSelectedElement();
		if (ref instanceof TypeInfo) {
			String qualifiedName= ((TypeInfo) ref).getFullyQualifiedName();
			fList.addElement(qualifiedName);
			String message= NewWizardMessages.getFormattedString("SuperInterfaceSelectionDialog.interfaceadded.info", qualifiedName); 
			updateStatus(new StatusInfo(IStatus.INFO, message));
		}
	}
	
	private static IJavaSearchScope createSearchScope(IJavaProject p) {
		return SearchEngine.createJavaSearchScope(new IJavaProject[] { p });
	}
	
	/*
	 * @see AbstractElementListSelectionDialog#handleDefaultSelected()
	 */
	protected void handleDefaultSelected() {
		if (validateCurrentSelection())
			buttonPressed(ADD_ID);
	}
	/*
	 * @see org.eclipse.jface.window.Window#configureShell(Shell)
	 */
	protected void configureShell(Shell newShell) {
		super.configureShell(newShell);
		WorkbenchHelp.setHelp(newShell, IJavaHelpContextIds.SUPER_INTERFACE_SELECTION_DIALOG);
	}
}