/**
* @see MainScreen#makeMenu(Menu, int)
*/
protected void makeMenu(final Menu menu, final int context) {
final LocalCommandRegistrarConnection connection =
new LocalCommandRegistrarConnection();
// Add a MenuItem for the PopupDialogCommand to the menu
final MenuItem menuItem =
new MenuItem(new StringProvider("Popup Dialog"), 0x230010, 0);
menuItem.setCommand(connection.getCommand(new CommandRequest(
"PopupDialogCommand")));
menu.add(menuItem);
super.makeMenu(menu, context);
}