Bug 19114 Restore Java Element from Local History should also provide check boxes [compare]
F2 - delete two resources from a package - open Restore from local histroy observe: the left pane contains a check box table to restore more than one element at a time - now delete two elements in a type - open Restore from local histroy observe: no check box table also it would be very helpful to add more than one member at a time too.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java
String[] lines= null;
			try {
				lines= JavaCompareUtilities.readLines(((IStreamContentAccessor) ti).getContents());								
			} catch (CoreException ex) {
				JavaPlugin.log(ex);
			}
			if (lines == null) {
				MessageDialog.openError(shell, errorTitle, errorMessage);
				return;
			}
			
			
			MemberEdit edit= null;
			if (input != null)
				edit= new MemberEdit(input, MemberEdit.INSERT_AFTER, lines, JavaCompareUtilities.getTabSize());
			else
				edit= createEdit(lines, parent);
			if (edit == null) {
				MessageDialog.openError(shell, errorTitle, errorMessage);
				return;
			}
			edit.setAddLineSeparators(false);
			
			IProgressMonitor nullProgressMonitor= new NullProgressMonitor();
			TextBufferEditor editor= new TextBufferEditor(buffer);
			editor.add(edit);
			editor.performEdits(nullProgressMonitor);
			
			final TextBuffer bb= buffer;
			IRunnableWithProgress r= new IRunnableWithProgress() {