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 static final String TAG_IMPLEMENTORS_MODE = "implementors_mode"; 
    private static final String TAG_RATIO = "ratio"; 
    static final int VIEW_ORIENTATION_VERTICAL = 0;
    static final int VIEW_ORIENTATION_HORIZONTAL = 1;
    static final int VIEW_ORIENTATION_SINGLE = 2;
    static final int CALL_MODE_CALLERS = 0;
    static final int CALL_MODE_CALLEES = 1;
    static final int IMPLEMENTORS_ENABLED = 0;
    static final int IMPLEMENTORS_DISABLED = 1;
    static final String GROUP_SEARCH_SCOPE = "MENU_SEARCH_SCOPE"; 
	static final String ID_CALL_HIERARCHY = "org.eclipse.jdt.callhierarchy.view"; 
	private static final String GROUP_FOCUS = "group.focus"; 
    private static final int PAGE_EMPTY = 0;
    private static final int PAGE_VIEWER = 1;
    private Label fNoHierarchyShownLabel;
    private PageBook fPagebook;
    private IDialogSettings fDialogSettings;
    private int fCurrentOrientation;
    private int fCurrentCallMode;
    private int fCurrentImplementorsMode;
    private MethodWrapper fCalleeRoot;
    private MethodWrapper fCallerRoot;
    private IMemento fMemento;
    private IMethod fShownMethod;
    private SelectionProviderMediator fSelectionProviderMediator;
    private List fMethodHistory;
    private LocationViewer fLocationViewer;
    private SashForm fHierarchyLocationSplitter;
    private Clipboard fClipboard;
    private SearchScopeActionGroup fSearchScopeActions;