Accessing context menu options in a view

IBM® Engineering Lifecycle Optimization - Engineering Insights (ENI) enables view authors to switch a view among different perspectives and see the details of nodes.

You can use the context menu options to switch a view from artifacts details to see either the node count or percentage of the artifacts. You can use the context menu options from the view canvas and container. Based on the selected option from the context menu, the containers are loaded onto the view canvas.

Accessing context menu options from the view canvas

With this feature, you can see the artifacts, count of the node, and percentage of the artifacts for all the containers that are available onto the view canvas. It reduces your efforts of generating these details for individual container.

Procedure

  1. Open the view in the edit mode. The view is loaded with the containers.
  2. To display the count node for all the containers onto the view canvas, right-click the canvas, and then click Show count.
    Show Count option is displayed on the view canvas
    The node count is displayed for both the containers.
    Count is displayed for all the containers
  3. To display the percentage of artifacts for all the containers onto the view canvas, right-click the canvas, and then click Show percent.
    Calculate percent option is displayed on both the containers
    The percentage of artifacts for both the containers is displayed.
    The percentage of artifacts is displayed for the containers
    Note:
    • If a condition is already added to the container, the Show percent option from the canvas uses that particular condition to render the percentage.
    • If no condition is applied for showing percentage on a container, then 100 % is displayed in the node.
  4. To restore the artifacts in all the containers, right-click the view canvas, and then click Show artifacts.
    Show Artifact option is dispalyed on the canvas
    The artifact nodes of the containers are displayed.
    The containers are dispalyed.

Example

The following example shows how you can use appropriate context menu option to see different node types for linked containers. In the following figure, you can see the linked containers in a view.

Show count option is playes for linked containers
  • When you right-click onto the view canvas and click Show count, the node count for the linked containers is displayed.

    Show count option for linked containers on view canvas
  • When you right-click onto the view canvas and click Show percent, the percentage of the artifacts for the linked containers is displayed.

    Calculate percentage option is displayed
    The following screen capture shows the percentage of the artifacts for the linked containers.
    Percentage node is displayed for linked containers

Accessing context menu options from the container

When you access context menu options by using container, you can see the artifacts, count of the node, and percentage of artifacts for the selected individual container.

Procedure

  1. Open the view in the edit mode. The view is loaded with the containers.
  2. Right-click the container, and then click Show count.
    The Show Count option is displayed from the container context menu.
    The node count is displayed for the selected container.
    Container can display the count node
  3. Right-click the container and then click Show percent. To know how to define the condition for showing the percentage, see Showing percentage of artifacts.
    Calculate percent option is shown on container context menu
    The percentage of the artifacts is displayed for the selected container.
    The percentage node is displayed

Example

The following example shows how you can use appropriate context menu option to see different node types for linked containers. In the following figure, you can see the linked containers in a view.

Linked containers in the view
  • When you right-click a particular container and click Show count, the node count for that container is displayed.

    Click Show Count for linked container

    The node count is displayed for that particular linked container.

    Count node is displayed for a specific container
  • When you right-click a particular container, and click Show percent, the percentage of the artifacts for that container is displayed.

    ../images/linked_container_image_4.gif
    The percentage of artifacts is displayed for that particular linked container.
    The percentage node is displayed for the linked container