protected ActionContext getLocalContext(ComponentProvider localProvider) {
		if (localProvider == null) {
			return new DefaultActionContext();
		}

		ActionContext actionContext = localProvider.getActionContext(null);
		if (actionContext != null) {
			return actionContext;
		}

		return new DefaultActionContext(localProvider, null);
	}
A class that can be used as an interface for using actions associated with keybindings. This
class is meant to only by used by internal Ghidra key event processing.
Ghidra/Framework/Docking/src/main/java/docking/DockingKeyBindingAction.java