Packaging Custom Controls

Prerequisites

You have created a custom control.

More information: Creating Custom Controls

Context

You use this procedure to package a custom control in an individual component. This allows you to reuse the custom controls across multiple development components.

Procedure

  1. In the context menu of the mobile Java component, choose Start of the navigation pathDevelopment Component Next navigation step Show In Next navigation step Component PropertiesEnd of the navigation path.
  2. Navigate to the Public Parts tab page and choose Add.
  3. Enter the Name , Purpose (Compilation) , and Description of the public part.

    The public part is created in the Defined Public Parts list.

  4. In the context menu of the public part, choose Manage Entities .
  5. Select the java files of the custom control.
  6. Choose Finish.
  7. If you want to reference the custom control from another Development Component (DC), you can add a dependency to this Development Component.

    More information: Defining Dependencies Between Components

  8. Build and deploy the mobile java component.