This dialog is presented when you select a project in the Package Explorer that has one or more menus in the
project's res/menu folder and then select
Auto-Generated Code
Generate Java Code Based on Menu xml Files
from the MOTODEV menu.
This command can be re-invoked as many times as necessary to accomodate changes to your xml file.
Project
The project into which the menu-handling code is to be added.
Target Class
The Java class (an Activity or Fragement) to which the menu-handling code is to be added. The Generate Options Menu... feature
adds an onCreateOptionsMenu() method that inflates the specified menu. It also adds an
onOptionsItemSelected() method containing an if/else block that provides you with a place to put your menu
item handler code for each item in the menu.
Menu xml File
The xml file in the selected project's res/menu folder that defines the menu for which code is to be
generated.