public AddGetterSetterAction(CompilationUnitEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(SelectionConverter.getInputAsCompilationUnit(editor) != null); fEditor.getEditorSite();
public AddGetterSetterAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("AddGetterSetterAction.label")); setDescription(ActionMessages.getString("AddGetterSetterAction.description")); setToolTipText(ActionMessages.getString("AddGetterSetterAction.tooltip"));  WorkbenchHelp.setHelp(this, IJavaHelpContextIds.GETTERSETTER_ACTION);
	public AddGetterSetterAction(CompilationUnitEditor editor) {		this(editor.getEditorSite());		fEditor= editor;		setEnabled(SelectionConverter.getInputAsCompilationUnit(editor) != null);		fEditor.getEditorSite();	}