private ExecutableAction createDialogActions(Object eventSource, Window window) {

		MultiExecutableAction multiAction = new MultiExecutableAction();

		DockingDialog dockingDialog = (DockingDialog) window;
		DialogComponentProvider provider = dockingDialog.getDialogComponent();
		if (provider == null) {
			// this can happen if the dialog is closed during key event processing
			return multiAction;
		}

		ActionContext context = provider.getActionContext(null);
		if (context == null) {
			return multiAction;
		}

		//
		// 1) Check for local actions
		//
		// Note: dialog key binding actions are proxy actions that get added to the tool as global
		// actions.  Thus, there are no 'local' actions for the dialog.

		//
		// 2) Check for actions local to the source component (e.g., GTable and GTree)
		//
		getLocalComponentActions(context, multiAction);
		if (multiAction.isValid()) {
			// At this point, we have local component actions that may or may not be enabled. Exit
			// so that any global actions found below will not interfere with these component 
			// actions.
			return multiAction;
		}

		//
		// 3) Check for global actions using the current context.  As noted above, at the time of 
		//    writing, dialog actions are all registered at the global level.
		//
		getGlobalActions(context, multiAction);

		// The choice to ignore global actions for modal dialogs was made long ago.  We cannot 
		// remember why the choice was made, but speculate that odd things can happen when 
		// keybindings are processed with modal dialogs open.  For now, do not let non-dialog 
		// actions get processed for modal dialogs.  This can be changed in the future if needed.
		if (provider.isModal()) {
			multiAction.filterAndKeepOnlyDialogActions(provider);
		}

		// Note: we currently do not use *default* global actions in dialogs.  It is not clear if 
		// this decision was intentional.		
		// if (!provider.isModal()) {
		//	  getGlobalDefaultContextActions(...);
		// }

		return multiAction;
	}
Enables or disables the action.  This affects all uses of the action.  Note that for popups,
this affects whether or not the option is "grayed out", not whether the action is added
to the popup.

@param newValue  true to enable the action, false to disable it
@see Action#setEnabled
Ghidra/Framework/Docking/src/main/java/docking/action/MultipleKeyAction.java