private Window getWindow(DockingWindowManager dwm, Object eventSource) {
		if (eventSource instanceof Component) {
			return WindowUtilities.windowForComponent((Component) eventSource);
		}
		return dwm.getActiveWindow();
	}
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