Bug 36981 call hierarchy: Search scope should be persisted
Search scope should be persisted when the platform shuts down or when the view is closed and reopened.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java
fHierarchyLocationSplitter = new SashForm(parent, SWT.NONE);
        fHierarchyLocationSplitter.addKeyListener(createKeyListener());
    }
    private void createCallHierarchyViewer(Composite parent) {
        fCallHierarchyViewer = new CallHierarchyViewer(parent, this);
        fCallHierarchyViewer.addKeyListener(createKeyListener());
        fCallHierarchyViewer.addSelectionChangedListener(this);
        fCallHierarchyViewer.initContextMenu(new IMenuListener() {
                public void menuAboutToShow(IMenuManager menu) {
                    fillCallHierarchyViewerContextMenu(menu);
                }
            }, ID_CALL_HIERARCHY, getSite());
    }
    /**
     * @param fCallHierarchyViewer
     * @param menu
     */
    protected void fillCallHierarchyViewerContextMenu(IMenuManager menu) {
        JavaPlugin.createStandardGroups(menu);
        menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fRefreshAction);
        menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, new Separator(GROUP_FOCUS));
        if (fFocusOnSelectionAction.canActionBeAdded()) {
            menu.appendToGroup(GROUP_FOCUS, fFocusOnSelectionAction);
        }
        menu.appendToGroup(GROUP_FOCUS, fCopyAction);
        fActionGroups.setContext(new ActionContext(getSelection()));
        fActionGroups.fillContextMenu(menu);
        fActionGroups.setContext(null);
    }
    private void disposeMenu(Menu contextMenu) {