Bug 88352 Operation supports leaks contexts via action handler
I20050315-1100 Susan, this is a different leak from the one that I reported. Test Case: 1. open text editor 2. close text editor ==> DefaultUndoManager is leaked due to undo/redo actions handlers still holding on to the context.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigator.java
* Views plugin store.
     */
    private void migrateDialogSettings() {
        AbstractUIPlugin uiPlugin = (AbstractUIPlugin) Platform
                .getPlugin(PlatformUI.PLUGIN_ID);
        IDialogSettings uiSettings = uiPlugin.getDialogSettings();
        uiSettings = uiSettings.getSection(STORE_SECTION);
        if (uiSettings != null) {
            String workingSetName = uiSettings.get(STORE_WORKING_SET);
            if (workingSetName != null && workingSetName.length() > 0) {
                settings.put(STORE_WORKING_SET, workingSetName);
                uiSettings.put(STORE_WORKING_SET, ""); 
            }
            String sortType = uiSettings.get(STORE_SORT_TYPE);
            if (sortType != null && sortType.length() > 0) {
                settings.put(STORE_SORT_TYPE, sortType);
                uiSettings.put(STORE_SORT_TYPE, ""); 
            }
        }
    }
    /**
     * Restores the saved filter settings.
     */
    private void restoreFilters() {
        IMemento filtersMem = memento.getChild(TAG_FILTERS);
        if (filtersMem != null) { 
            IMemento children[] = filtersMem.getChildren(TAG_FILTER);
            
            if (children.length > 0
                    && children[0].getString(TAG_IS_ENABLED) != null) {