void () { if (!myHasFindWhatPanel){ setOKActionEnabled(true); } else{ getFindUsagesOptions().setRoot((ThrowSearchUtil.Root)myCbExns.getSelectedItem()); final boolean hasSelected = isSelected(myCbUsages); setOKActionEnabled(hasSelected); } }