public OpenExternalJavadocAction(JavaEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(SelectionConverter.canOperateOn(fEditor));
public OpenExternalJavadocAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("OpenExternalJavadocAction.label")); setDescription(ActionMessages.getString("OpenExternalJavadocAction.description")); setToolTipText(ActionMessages.getString("OpenExternalJavadocAction.tooltip")); WorkbenchHelp.setHelp(this, IJavaHelpContextIds.OPEN_EXTERNAL_JAVADOC_ACTION);
	public OpenExternalJavadocAction(JavaEditor editor) {		this(editor.getEditorSite());		fEditor= editor;		setEnabled(SelectionConverter.canOperateOn(fEditor));	}