6 Defining the Actions with Views
Hopex Aquila type desktop shows a layout with two communicating areas:
• the Edit area (large View)
• the Browse area (small View)
The tools displayed in both areas are similar and there is a mapping between them. It is required to have a bidirectional list of parameterized tools.
When displaying information in:
• the Browse area, the existing navigation remains in the breadcrumb
• the Edit area, a new navigation starts (breadcrumb reset).
A screenshot of a computer Description automatically generated
Hopex Aquila type desktop includes the following concepts:
• View Tool
The View Tool defines the list of Mega Parameterized Tools available for a specific MetaClass according to the View type (large/small).
The View Tool is defined on the Display Context associated with the MetaClass.
• Display Context
The Display Context enables to customize a single MetaClass for a profile. A profile has a Display Context for each MetaClass.
The same Display Context can be used for several profiles.
These MEGA Parameterized Tools are defined in the WET actions as a dedicated tool: MetaClass View Tool (in the MEGA Parameterized Tool properties Description > Tool).
When the View tool is launched, the current profile Display Context indicates the MEGA Parameterized Tools launched according to the display area.
To define the actions available in the Views:
1. In the profile properties, display its Display Contexts tab.
E.g.: the Enterprise Architect profile.
A screenshot of a computer Description automatically generated
2. Access the Display Context properties of the MetaClass concerned.
E.g.: “EA V6 – Application” Display Context of the Application MetaClass.
3. Display its Views property.
It lists the MEGA Parameterized Tools used for each View Context (small, large)
A screenshot of a computer Description automatically generated
EA Baseline - Applications - Card MEGA Parameterized Tool is launched as the Card List Tool in the Browse area (small View) for the Application MetaClass.
A screenshot of a computer application Description automatically generated
EA Baseline - Applications - List MEGA Parameterized Tool is launched as the Docked ListView Tool in the Edit area (large View) for the Application MetaClass.
A screenshot of a computer Description automatically generated
4. Order the tools so as to get the mapping between the Edit and Browse areas: click Reorganize .
The mapping between the tools in Edit (large) area and Browse (small) area is performed with the tool display order in Views. You must have as many tools defined in both Browse and Edit areas.
For example, for Application MetaClass “EA Baseline – Application – Card” tool n°1 in Browse area is mapped with “EA Baseline – Application – List” n°1 in Edit area.
A screenshot of a computer application Description automatically generated
A screenshot of a computer Description automatically generated
5. (Browse area) Define the button name: in the Mega Parameterized Tool Characteristics (with View Context: “small”), in _GUIName field: enter the button name.
EA Baseline - Applications by Portfolio - Tree MEGA Parameterized Tool is launched as the Docked Tree Tool in the Browse area (small View) for the Application MetaClass, with the button name By Portfolio (_GUIName).
A screenshot of a computer Description automatically generated