Previous Topic Next topic Print topic


Describing an AWM Extension

Create an Eclipse plug-in project as described in AWM API Usage Guide, and then perform the following steps:

  1. In the Extensions tab of the manifest editor add the com.microfocus.awm.model.extension extension.
  2. In the All Extensions pane, click Add.
    All Extensions

    This opens the New Extension dialog.

  3. In the Extension Points list, click com.microfocus.awm.model.extension.
    Extension Point Selection
  4. Click Finish.

    This adds the extension to the All Extensions list.

  5. An Eclipse extension has to adhere to the rules that the extension point defines.

    It is the task of the extension point implementer to define the structure of the AWM function package extension within the manifest editor. In the All Extension list, click com.microfocus.awm.model.extension.

    This displays the Extension Details pane.

  6. Click Show extension point description.
    Define extensions for this plug-in

    This opens another editor window containing a comprehensive description of the AWM Model Extension.

  7. You must define at least one ID and a label for the new function package. The ID attribute value must be unique for all components within the function package. The label attribute defines the name of the function package in the AWM model editor.

    In the Extensions tab, expand com.microfocus.awm.model.extension.

  8. Click label (functionPackage).

    This displays the Extension Element Details pane.

    Note: Mandatory properties are marked with an asterisk.
  9. In the id field, type an id. For example, com.microfocus.test.awmextension.simpleFunctionPackage.
  10. In the label field, type a label. For example, Simple Function Package.
  11. Click File > Save.

    When saving the manifest editor content, the information from Extension Element Details pane is added to the left All Extensions pane:



Previous Topic Next topic Print topic