Bug 38512 [call hierarchy] should open callee on double click
I20030604 A double click on a caller in the callers view will neither open the caller file (as context menu -> open does) nor expand the tree item. Open the file would be more intuitive IMHO, but something should happen anyway.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyUI.java
*/
    public int getMaxCallDepth() {
        int maxCallDepth;
        
        IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore();
        maxCallDepth = settings.getInt(PREF_MAX_CALL_DEPTH);
        if (maxCallDepth < 1 || maxCallDepth > 99) {
            maxCallDepth= DEFAULT_MAX_CALL_DEPTH;
        }
        return maxCallDepth;
    }
    public void setMaxCallDepth(int maxCallDepth) {
        IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore();
        settings.setValue(PREF_MAX_CALL_DEPTH, maxCallDepth);
    }
    
    public static void jumpToMember(IJavaElement element) {
        if (element != null) {
            try {
                IEditorPart methodEditor = EditorUtility.openInEditor(element, true);
                JavaUI.revealInEditor(methodEditor, (IJavaElement) element);
            } catch (JavaModelException e) {
                JavaPlugin.log(e);
            } catch (PartInitException e) {
                JavaPlugin.log(e);
            }
        }
    }
    public static void jumpToLocation(CallLocation callLocation) {
        try {