public DockingActionIf getAction(String actionName) {
		for (ManagedMenuItem item : managedMenuItems) {
			if (item instanceof MenuItemManager) {
				DockingActionIf action = ((MenuItemManager) item).getAction();
				if (actionName.equals(action.getName())) {
					return action;
				}
			}
		}
		return null;
	}
Adds an action to this menu. Can create subMenus depending on the menuPath of the action
@param action the action to be added
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuManager.java