189190191192193194195196
final SendCommand[] sendCommands = repository.get(SendCommand.TYPE_TEXT, context, true); if (sendCommands != null) { // Add submenu to the menu menu.add(new SendCommandMenu(sendCommands, 0, 0)); } }
218219220221222223224225
final SendCommand[] sendCommands = repository.get(SendCommand.TYPE_PATH, context, true); if (sendCommands != null) { // Add submenu to the menu menu.add(new SendCommandMenu(sendCommands, 0, 0)); } }