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
private static final String TAG_SORTER = "sorter"; 
    private static final String TAG_FILTERS = "filters"; 
    private static final String TAG_FILTER = "filter"; 
    private static final String TAG_SELECTION = "selection"; 
    private static final String TAG_EXPANDED = "expanded"; 
    private static final String TAG_ELEMENT = "element"; 
    private static final String TAG_IS_ENABLED = "isEnabled"; 
    private static final String TAG_PATH = "path"; 
    private static final String TAG_CURRENT_FRAME = "currentFrame"; 
    private IPartListener partListener = new IPartListener() {
        public void partActivated(IWorkbenchPart part) {
            if (part instanceof IEditorPart)
                editorActivated((IEditorPart) part);
        }
        public void partBroughtToTop(IWorkbenchPart part) {
        }
        public void partClosed(IWorkbenchPart part) {
        }
        public void partDeactivated(IWorkbenchPart part) {
        }
        public void partOpened(IWorkbenchPart part) {
        }
    };
    private IPropertyChangeListener propertyChangeListener = new IPropertyChangeListener() {
        public void propertyChange(PropertyChangeEvent event) {
            String property = event.getProperty();
            Object newValue = event.getNewValue();
            Object oldValue = event.getOldValue();
            IWorkingSet filterWorkingSet = workingSetFilter.getWorkingSet();