public OverrideMethodsAction(CompilationUnitEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(checkEnabledEditor());
public OverrideMethodsAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("OverrideMethodsAction.label")); setDescription(ActionMessages.getString("OverrideMethodsAction.description")); setToolTipText(ActionMessages.getString("OverrideMethodsAction.tooltip"));  WorkbenchHelp.setHelp(this, IJavaHelpContextIds.ADD_UNIMPLEMENTED_METHODS_ACTION);
	public OverrideMethodsAction(CompilationUnitEditor editor) {		this(editor.getEditorSite());		fEditor= editor;		setEnabled(checkEnabledEditor());	}