@Override
        public void run()
        {
            switch (actionId) {
                case IWorkbenchCommandConstants.EDIT_UNDO:
                    manager.doUndo();
                    break;
                case IWorkbenchCommandConstants.EDIT_REDO:
                    manager.doRedo();
                    break;
                case IWorkbenchCommandConstants.EDIT_CUT:
                    manager.doCut();
                    break;
                case IWorkbenchCommandConstants.EDIT_COPY:
                    manager.doCopy();
                    break;
                case IWorkbenchCommandConstants.EDIT_PASTE:
                    manager.doPaste();
                    break;
                case IWorkbenchCommandConstants.EDIT_DELETE:
                    manager.doDelete();
                    break;
                case IWorkbenchCommandConstants.EDIT_SELECT_ALL:
                    manager.doSelectAll();
                    break;
                case IWorkbenchCommandConstants.EDIT_FIND_AND_REPLACE:
                    manager.doFind();
                    break;
                case ITextEditorActionDefinitionIds.LINE_GOTO:
                    manager.doGoTo();
                    break;
            }
        }
Updates the status of actions: enables/disables them depending on whether there is text selected
and whether inserting or overwriting. Undo/redo actions enabled/disabled as well.
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/BinaryEditor.java