public ExternalizeStringsAction(CompilationUnitEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(fEditor != null && SelectionConverter.canOperateOn(fEditor));
public ExternalizeStringsAction(IWorkbenchSite site) { super(site); setText(ActionMessages.ExternalizeStringsAction_label); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.EXTERNALIZE_STRINGS_ACTION);
	public ExternalizeStringsAction(CompilationUnitEditor editor) {		this(editor.getEditorSite());		fEditor= editor;		setEnabled(fEditor != null && SelectionConverter.canOperateOn(fEditor));	}