Bug 36486 call hierarchy: should use adapters
call hierarchy should use adapters to allow actions contributed on object to be added to the context menu
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java
if (event.keyCode == SWT.F5) {
                if ((fRefreshAction != null) && fRefreshAction.isEnabled()) {
                    fRefreshAction.run();
                    return;
                }
            }
        }
    }
    private IActionBars getActionBars() {
        return getViewSite().getActionBars();
    }
    private void setCalleeRoot(MethodWrapper calleeRoot) {
        this.fCalleeRoot = calleeRoot;
    }
    private MethodWrapper getCalleeRoot() {
        if (fCalleeRoot == null) {
            fCalleeRoot = (MethodWrapper) CallHierarchy.getDefault().getCalleeRoot(fShownMethod);
        }
        return fCalleeRoot;
    }
    private void setCallerRoot(MethodWrapper callerRoot) {
        this.fCallerRoot = callerRoot;
    }
    private MethodWrapper getCallerRoot() {
        if (fCallerRoot == null) {
            fCallerRoot = (MethodWrapper) CallHierarchy.getDefault().getCallerRoot(fShownMethod);
        }
        return fCallerRoot;
    }