Bug 46351 Call Hierarchy must not implement IViewSite [call hierarchy]
I20031105 The call hierarchy component implements IViewSite which is not allowed. There seems to be no reason for doing so: the CallHierarchyViewPart should directly set the selection provider to its site.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java
private ToggleOrientationAction[] fToggleOrientationActions;
    private ToggleCallModeAction[] fToggleCallModeActions;
    private ToggleImplementorsAction[] fToggleImplementorsActions;
    private CallHierarchyFiltersActionGroup fFiltersActionGroup;
    private HistoryDropDownAction fHistoryDropDownAction;
    private RefreshAction fRefreshAction;
    private OpenLocationAction fOpenLocationAction;
    private FocusOnSelectionAction fFocusOnSelectionAction;
    private CopyCallHierarchyAction fCopyAction;
    private CompositeActionGroup fActionGroups;
    private CallHierarchyViewer fCallHierarchyViewer;
    private boolean fShowCallDetails;
    public CallHierarchyViewPart() {
        super();
        fDialogSettings = JavaPlugin.getDefault().getDialogSettings();
        fMethodHistory = new ArrayList();
    }
    public void setFocus() {
        fPagebook.setFocus();
    }
    /**
     * Sets the history entries
     */
    public void setHistoryEntries(IMethod[] elems) {
        fMethodHistory.clear();
        for (int i = 0; i < elems.length; i++) {
            fMethodHistory.add(elems[i]);
        }
        updateHistoryEntries();
    }