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
new ToggleCallModeAction(this, CALL_MODE_CALLERS),
                new ToggleCallModeAction(this, CALL_MODE_CALLEES)
            };
        fToggleImplementorsActions = new ToggleImplementorsAction[] {
                new ToggleImplementorsAction(this, IMPLEMENTORS_ENABLED),
                new ToggleImplementorsAction(this, IMPLEMENTORS_DISABLED)
            };
        fActionGroups = new CompositeActionGroup(new ActionGroup[] {
                    new OpenEditorActionGroup(getViewAdapter()), 
                    new OpenViewActionGroup(getViewAdapter()),
                    new CCPActionGroup(getViewAdapter()),
                    new GenerateActionGroup(getViewAdapter()), 
                    new RefactorActionGroup(getViewAdapter()),
                    new JavaSearchActionGroup(getViewAdapter()),
                    fSearchScopeActions, fFiltersActionGroup
                });
    }
    private CallHierarchyViewAdapter getViewAdapter() {
        if (fViewAdapter == null) {
            fViewAdapter= new CallHierarchyViewAdapter(getViewSiteAdapter());
        }
        return fViewAdapter; 
    }
    private CallHierarchyViewSiteAdapter getViewSiteAdapter() {
        if (fViewSiteAdapter == null) {
            fViewSiteAdapter= new CallHierarchyViewSiteAdapter(this.getViewSite());
        }
        return fViewSiteAdapter;
    }
    private void showOrHideCallDetailsView() {