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
private static final String BUNDLE_NAME= "org.eclipse.jdt.internal.ui.compare.AddFromHistoryAction"; 
	
	private JavaEditor fEditor;
	public JavaAddElementFromHistory() {
		super(true);
	}
	
	public void run(IAction action) {
		
		String errorTitle= CompareMessages.getString("AddFromHistory.title"); 
		String errorMessage= CompareMessages.getString("AddFromHistory.internalErrorMessage"); 
		
		Shell shell= JavaPlugin.getActiveWorkbenchShell();
		
		
		ICompilationUnit cu= null;
		IParent parent= null;
		IMember input= null;
		
		
		ISelection selection= getSelection();
		if (selection.isEmpty()) {
			
			if (fEditor != null) {
				IEditorInput editorInput= fEditor.getEditorInput();
				IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
				if (manager != null) {
					cu= manager.getWorkingCopy(editorInput);
					parent= cu;