Bug 4381 Replace from local histroy - workspace element included
- modify a CU in the workspace - select the CU - activate "Replace from local history" - the workspace element is included in the local histroy, but a histroy never includes the actual element. I was really suprised seeing the element.
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() {
	}
	
	/**
	 * The optional argument editor is used iff the selection provider's
	 * selection is empty. In this case the editor's CU is the container
	 * to which to add an element from the local history.
	 */
	public JavaAddElementFromHistory(JavaEditor editor, ISelectionProvider sp) {