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/SearchScopeActionGroup.java
* @see org.eclipse.jface.action.Action#run()
         */
        public void run() {
            IWorkingSetManager workingSetManager = getWorkingSetManager();
            IWorkingSetSelectionDialog dialog = workingSetManager.createWorkingSetSelectionDialog(PlatformUI.getWorkbench()
                                                                                                            .getActiveWorkbenchWindow()
                                                                                                            .getShell(),
                    false);
            IWorkingSet workingSet = getActiveWorkingSet();
            if (workingSet != null) {
                dialog.setSelection(new IWorkingSet[] { workingSet });
            }
            if (dialog.open() == Window.OK) {
                IWorkingSet[] result = dialog.getSelection();
                if ((result != null) && (result.length > 0)) {
                    setActiveWorkingSet(result[0]);
                    workingSetManager.addRecentWorkingSet(result[0]);
                } else {
                    setActiveWorkingSet(null);
                }
            }
        }
    }
    public SearchScopeActionGroup(CallHierarchyViewPart view) {
        this.fView = view;
        createActions();
    }
    /**
     * @return IJavaSearchScope
     */