Bug 37464 call hierarchy: Should not use working copies
The call hierarchy should not use working copies of compilation units since these may go away (e.g. when an editor is closed).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java
} catch (NumberFormatException e) {
            orientation = VIEW_ORIENTATION_VERTICAL;
        }
        
        fCurrentOrientation = -1;
        
        setOrientation(orientation);
    }
    private void fillViewMenu() {
        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();