Bug 304926 [CommonNavigator] TextActionHandler in o.e.navigator.resources is a poor duplicate of the good one
It looks like this was copied from the real one in org.eclipse.ui.ide when the CNF was created because it needed an updateActionBars() method. Everything else is the same, except they have actually diverged due to many fixes from Paul last year. I will modify the original to add the required method and refer to the original.
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/TextActionHandler.java
* Update the state.
         */
        public void updateEnabledState() {
            if (activeTextControl != null && !activeTextControl.isDisposed()) {
                setEnabled(true);
                return;
            }
            if (selectAllAction != null) {
                setEnabled(selectAllAction.isEnabled());
                return;
            }
            setEnabled(false);
        }
    }
    /**
     * Creates a <code>Text</code> control action handler
     * for the global Cut, Copy, Paste, Delete, and Select All 
     * of the action bar.
     *
     * @param theActionBars the action bar to register global
     *    action handlers for Cut, Copy, Paste, Delete, 
     * 	  and Select All
     */
    public TextActionHandler(IActionBars theActionBars) {
        super(theActionBars);
        actionBars = theActionBars;
        updateActionBars();
    }
    /**
	 *