private static String getActionDisplayName(DockingActionIf action, String category) {
		ActionGroup group = ActionGroup.getActionByDisplayName(category);
		switch (group) {
			case LOCAL_MENU:
			case GLOBAL_MENU:
				return getActionsDisplayMenuName(action, action.getMenuBarData());
			case POPUP:
				return getActionsDisplayMenuName(action, action.getPopupMenuData());
			default:
				return action.getName();
		}
	}
Sets the {@link ActionDisplayLevel} for the dialog which determines which actions to display
@param level the action display level to use.
Ghidra/Framework/Docking/src/main/java/docking/actions/dialog/ActionChooserDialog.java