Adding IGraphicalInterface for Client Framework Applications

GraphicalInterface is an element that defines the attributes exposed by the AB Suite Access Layer for creating client applications by using the technology of your choice.

The IGraphicalInterface is automatically added to an element when you add the element that includes a presentation by default. This includes an Ispec, an Event, an Insertable, a CopyIspec, or a CopyEvent.

Note: The IGraphicalInterface is not added to a class automatically. Therefore, if you want to have a class that includes a IGraphicalInterface, you must add a Presentation to it.

Adding Attributes to IGraphicalInterface

To add an attribute to the IGraphicalInterface node, perform the following steps:

  1. Right-click the IGraphicalInterface node, point to Add, and then select Attribute from the context menu.

    The Add New Attribute dialog box appears.

  2. Enter an appropriate name for the attribute and then set its properties, as required.

    An error appears stating that the owning element does not implement the interface member IGraphicalInterface.<Attribute Name>.

    Note: Each attribute in the IGraphicalInterface must have a corresponding attribute in the owning element (for example, ispec or class) to implement it.

  3. Perform any of the following for the owning element to implement the interface member:

    • Add an attribute to the owning element and set the Visibility property of the attribute to Public.

    • Right-click the owning element that contains the IGraphicalInterface node, select Quick Actions…, and then select Implement Interface Members.

After you add all the required attributes to the IGraphicalInterface node and implement them in the owning element, you can generate the Client Framework projects and design the user interface by using the development tools available for the chosen client technology.