private void setPopupMenuPath(String itemName, String pullright, String group) {
		setPopupMenuData(
			new MenuData(new String[] { pullright, "Rename " + itemName + "..." }, null, group));
	}
the plugin associated with this action.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/EditNameAction.java