Designer 10.7 | webMethods Mobile Development | Introduction to the Mobile Development User Interface | Adding Objects to a Mobile Project
 
Adding Objects to a Mobile Project
In the Outline Editor, you add the following types of objects to a mobile project.
*User interface objects, for example:
*Views and dialogs
*User interface controls, such as buttons, check boxes, tables, search fields, and text entry fields
*Languages that the application supports
*Services that you want to use in your mobile application. For example, you might want to add a service that you use to obtain data that your application displays.
Note:
You can either add objects to a mobile project as described below or by dragging them from the palette to the Model section of the Outline Editor as described in Using the Palette to Add Objects to the Mobile Project.
*To add an object to a mobile project
1. Ensure the mobile project or specific window, view, or dialog to which you want to add an object is open in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor or Displaying a Window, View, or Dialog in the Outline Editor.
2. In the Model section of the Outline Editor, expand the outline so that you view the parent node where you want to add a child object.
3. To add a child object, right-click the parent node and select New Child > child_object, where child_object is the name of the child object you want to add.
The New Child list contains only objects that are valid children of the selected parent node.
Tip:
After adding a new node, you can edit the properties for the new node. For more information, see Setting Properties in the Outline Editor.
To update the Java classes that Mobile Development generates for the project so that your changes are represented in the generated sources, save the project and regenerate sources. For instructions, see Generating Sources for a Mobile Project.
Related Topics