public static DockingActionIf getAction(DialogComponentProvider provider, String actionName) {

		Set<DockingActionIf> actions = provider.getActions();
		for (DockingActionIf action : actions) {
			if (action.getName().equals(actionName)) {
				return action;
			}
		}
		return null;
	}
Returns the given dialog's action that has the given name

@param provider the dialog provider
@param actionName the name of the action
@return the action
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java