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