Bug 36514 call hierarchy: should remove 'search ... using ..' preferences
we should decide whether the answer should be true or false and remove the preference settings - no user will ever understand what the setting means
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/FocusOnSelectionAction.java
} else if (element instanceof IAdaptable) {
            method= (IMethod) ((IAdaptable) element).getAdapter(IMethod.class);
        }
        
        if (method != null) {
            setText(CallHierarchyMessages.getFormattedString("FocusOnSelectionAction.focusOn.text", method.getElementName())); 
            return true;
        }
        return false;
    }
    /*
     * @see Action#run
     */
    public void run() {
        Object element = SelectionUtil.getSingleElement(getSelection());
        if (element instanceof MethodWrapper) {
            IMember member= ((MethodWrapper) element).getMember();
            if (member.getElementType() == IJavaElement.METHOD) {
                fPart.setMethod((IMethod) member);
            }
        }
    }
    private ISelection getSelection() {
        ISelectionProvider provider = fPart.getSite().getSelectionProvider();
        if (provider != null) {
            return provider.getSelection();
        }
        return null;
    }
}