public static Set<DockingActionIf> getKeyBindingActionsForOwner(Tool tool, String owner) {

		Map<String, DockingActionIf> deduper = new HashMap<>();
		Set<DockingActionIf> actions = tool.getDockingActionsByOwnerName(owner);
		for (DockingActionIf action : actions) {
			if (isIgnored(action)) {
				// don't bother tracking non-keybinding actions; this would be a mistake due
				// to the potential for a shared key binding action overwriting its
				// SharedStubKeyBindingAction
				continue;
			}

			deduper.put(action.getFullName(), action);
		}

		return CollectionUtils.asSet(deduper.values());
	}
A utility method to get all key binding actions that have the given owner.
This method will remove duplicate actions and will only return actions
that support {@link KeyBindingType key bindings}.

@param tool the tool containing the actions
@param owner the action owner name
@return the actions
Ghidra/Framework/Docking/src/main/java/docking/actions/KeyBindingUtils.java