protected void setSelected(SearchScopeAction newSelection) { if (newSelection instanceof SearchScopeWorkingSetAction) { fSelectedWorkingSetName = ((SearchScopeWorkingSetAction) newSelection).getWorkingSet() .getName(); } else { fSelectedWorkingSetName = null;
protected void setSelected(SearchScopeAction newSelection, boolean ignoreUnchecked) { if (!ignoreUnchecked || newSelection.isChecked()) { if (newSelection instanceof SearchScopeWorkingSetAction) { fSelectedWorkingSetName = ((SearchScopeWorkingSetAction) newSelection).getWorkingSet() .getName(); } else { fSelectedWorkingSetName = null; }  fSelectedAction = newSelection;  fDialogSettings.put(DIALOGSTORE_SCOPE_TYPE, getSearchScopeType()); fDialogSettings.put(DIALOGSTORE_SELECTED_WORKING_SET, fSelectedWorkingSetName);
    protected void setSelected(SearchScopeAction newSelection) {        if (newSelection instanceof SearchScopeWorkingSetAction) {            fSelectedWorkingSetName = ((SearchScopeWorkingSetAction) newSelection).getWorkingSet()                                       .getName();        } else {            fSelectedWorkingSetName = null;        }        fSelectedAction = newSelection;    }