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
IActionBars actionBars = getViewSite().getActionBars();
        IMenuManager viewMenu = actionBars.getMenuManager();
        viewMenu.add(new Separator());
        for (int i = 0; i < fToggleCallModeActions.length; i++) {
            viewMenu.add(fToggleCallModeActions[i]);
        }
        viewMenu.add(new Separator());
        
        for (int i = 0; i < fToggleOrientationActions.length; i++) {
            viewMenu.add(fToggleOrientationActions[i]);
        }
    }
    /**
     *
     */
    public void dispose() {
        if (fActionGroups != null)
            fActionGroups.dispose();
		
		if (fClipboard != null)
	        fClipboard.dispose();
        super.dispose();
    }
    /**
     * Double click listener which jumps to the method in the source code.
     *
     * @return IDoubleClickListener
     */
    public void doubleClick(DoubleClickEvent event) {
        jumpToSelection(event.getSelection());