Building Mobile Enterprise Applications : webMethods Mobile Development Help : Introduction to the Mobile Development User Interface : Using the Palette to Add Objects to the Mobile Project
Using the Palette to Add Objects to the Mobile Project
The palette that is available in the Outline Editor allows you to drag objects to the Model section of the Outline Editor and thus to add objects to the Mobile Project. You can hide and show the palette by clicking the arrow that is shown at the top right of the palette.
When you drag an object to the Model section, you can only drop it on a node that allows the dragged object as a child object. The mouse pointer will indicate on which node it is possible to drop the object.
Using the palette is especially helpful if you want to add the following objects:
*Table
*TableButton
*Resources
*PaneConfiguration
*TaskClient Services
*Web Services
For these objects, a wizard appears in which you can specify the details for the new node. All additionally required child nodes are then automatically added to the Model section. You do not have to add them manually.
Note:  
For detailed information on how to use the above-mentioned service objects, see Adding Services to a Mobile Project.
To add an object to a Mobile Project using the palette
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. Make sure that the palette is shown. If the palette is currently hidden, click the arrow () that is shown at the top right of the Outline Editor to display it.
4. Click on one of the header-type nodes in the palette (for example, Views or Controls) to display the objects in that node. Clicking the same node once more closes the node.
5. Drag the desired object from the palette to the parent node in the Model section where you want to add the object as a child node. Watch the icon that is shown on the mouse pointer. When it is possible to drop the object, the mouse pointer shows a plus icon. For example:
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.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback