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
updateStatusLine(sel);
        updateActionBars(sel);
        dragDetected = false;
        if (isLinkingEnabled()) {
            getShell().getDisplay().asyncExec(new Runnable() {
                public void run() {
                    if (dragDetected == false) {
                         
                        
                        linkToEditor(sel);
                    }
                }
            });
        }
    }
    /**
     * Handles a key press event from the viewer.
     * Delegates to the action group.
     * 
     * @param event the key event
     * @since 2.0
     */
    protected void handleKeyPressed(KeyEvent event) {
        getActionGroup().handleKeyPressed(event);
    }
    /**
     * Handles a key release in the viewer.  Does nothing by default.
     * 
     * @param event the key event
     * @since 2.0