setSelected(fSearchScopeWorkspaceAction);
int searchScopeType; try { searchScopeType= fDialogSettings.getInt(DIALOGSTORE_SCOPE_TYPE); } catch (NumberFormatException e) { searchScopeType= SEARCH_SCOPE_TYPE_WORKSPACE; } String workingSetName= fDialogSettings.get(DIALOGSTORE_SELECTED_WORKING_SET); SearchScopeAction action= getSearchScopeAction(searchScopeType, workingSetName); if (action != null) { setSelected(action, false); } else {  setSelected(fSearchScopeWorkspaceAction, false); }
    private void createActions() {        fSearchScopeWorkspaceAction = new SearchScopeWorkspaceAction();        fSelectWorkingSetAction = new SelectWorkingSetAction();        fSearchScopeHierarchyAction = new SearchScopeHierarchyAction();        fSearchScopeProjectAction = new SearchScopeProjectAction();        setSelected(fSearchScopeWorkspaceAction);    }