private ExecutableAction createExecutableAction(Object eventSource) {

		DockingWindowManager dwm = tool.getWindowManager();
		Window window = getWindow(dwm, eventSource);
		if (window instanceof DockingDialog) {
			return createDialogActions(eventSource, window);
		}

		ComponentProvider localProvider = getProvider(dwm, eventSource);
		ActionContext localContext = getLocalContext(localProvider);
		localContext.setSourceObject(eventSource);
		Map<Class<? extends ActionContext>, ActionContext> contextMap =
			dwm.getDefaultActionContextMap();
		return createNonDialogExecutableAction(localContext, contextMap);
	}
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