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
if (orientation != null) {
            setOrientation(orientation.intValue());
        }
        Integer callMode= memento.getInteger(TAG_CALL_MODE);
        if (callMode != null) {
            setCallMode(callMode.intValue());
        }
        Integer implementorsMode= memento.getInteger(TAG_IMPLEMENTORS_MODE);
        if (implementorsMode != null) {
            setImplementorsMode(implementorsMode.intValue());
        }
        Integer ratio = memento.getInteger(TAG_RATIO);
        if (ratio != null) {
            fHierarchyLocationSplitter.setWeights(new int[] {
                    ratio.intValue(), 1000 - ratio.intValue()
                });
        }
        
        fSearchScopeActions.restoreState(memento);
    }
    private void initCallMode() {
        int mode;
        try {
            mode = fDialogSettings.getInt(DIALOGSTORE_CALL_MODE);
            if ((mode < 0) || (mode > 1)) {
                mode = CALL_MODE_CALLERS;
            }
        } catch (NumberFormatException e) {
            mode = CALL_MODE_CALLERS;
        }