public QuickMenu getQuickMenu(String menuName) {
// Using ListMenus. GetMenu will raise error
List<QuickMenuInfo> list = getQuickMenuInfoList();
for (QuickMenuInfo info : list) {
if (info.getMenuId().getMenuName().equals(menuName)) {
return new QuickMenu(info, desktopUtils, systemInputManager);
}
}
return null;
}