Bug 78317 Compare plug-in gets loaded by LocalHistoryActionGroup
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
return (JavaEditor) ep;
				}
			}
		}
		return null;
	}
	/**
	 * Executes this action with the given selection.
	 */
	public abstract void run(ISelection selection);
	
	
	private JavaEditor fEditor;
	private String fTitle;
	private String fMessage;
	void init(JavaEditor editor, String text, String title, String message) {
		Assert.isNotNull(editor);
		Assert.isNotNull(title);
		Assert.isNotNull(message);
		fEditor= editor;
		fTitle= title;
		fMessage= message;
		setText(text);
		setEnabled(checkEnabled());
	}
	
	final JavaEditor getEditor() {
		return fEditor;
	}
	final public void run() {