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
protected void createButtonsForButtonBar(Composite parent) {
		createButton(parent, ADD_ID, NewWizardMessages.getString("SuperInterfaceSelectionDialog.addButton.label"), true); 
		super.createButtonsForButtonBar(parent);
	}
	/*
	 * @see Dialog#cancelPressed
	 */
	protected void cancelPressed() {
		fList.setElements(fOldContent);
		super.cancelPressed();
	}
	
	/*
	 * @see Dialog#buttonPressed
	 */
	protected void buttonPressed(int buttonId) {
		if (buttonId == ADD_ID){
			addSelectedInterface();
		}
		super.buttonPressed(buttonId);	
	}
	
	/*
	 * @see Dialog#okPressed
	 */
	protected void okPressed() {
		addSelectedInterface();
		super.okPressed();
	}