Icons can be used to assign symbols to elements and actions. This helps in the differentiation of the displayed types at run time, or for orientation in context menus, table views, tree views etc.
Modeled icons can appear, for example, in the following places at run time:
A function package provider has the possibility to support directly the icons for elements which belong to a linked element type.
Example: The Eclipse function package supports all icons which are used for Eclipse resources (projects, folders, files), so it is not necessary to create those icons in the AWM model editor (see Eclipse function package).
A function package provider has the possibility to support additional icons which can be used in the AWM model editor. Those icons are typically used to add icons to actions.
Example: The "ED Icon" function package supports icons which can used as action icons to create new Micro Focus projects (ED function package).
Icons are modeled by being defined once and then referenced in the Element Type or Action Descriptor.
There are two available icon types:
Generic icon type which must have a unique ID and a reference to one of the pre-defined icon images, which can be selected through the “predefined” attribute of the icon. Predefined icons with names starting with “Action” are shown in grey if a modelled action cannot be executed due to an action-enabled condition.
Icon defined by a function package (see Extending the AWM Meta Model).
If a function package containing icons is added to the model, desired icons can simply be created by selecting them under .
Function package icons can have separate icon images for disabled actions, which are automatically used by AWM if the icon is associated to an action which is disabled due to an enabled condition.