Une image contenant texte, signe

Description générée automatiquement

Flow Properties Editor

 

Overview

Allows easy editing of the flow properties on a flow between ports based on the contracts at either end.  

 

Applicable To

Flow, Link*

Menu Entry

Power Pack Edit Flow Properties

Demonstration

Watch the Video

*If launched from a link/connector then the first flow found on that link will be used. If there are multiple flows – launch the editor from the desired flow instead.

The flow may be directly between ports or on a link/connector between ports.

Proxy ports, nested ports and flow ports are supported:

A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated

When launched, the helper first checks the contracts at either end of the flow including the directions of the flow properties in those contracts and the conjugation status of the ports. If any of the flow properties on the flow are illegal based on that evaluation, these are reported and the option to remove them is presented:

A screenshot of a computer

Description automatically generated

A UI is then presented, listing all the potential flow properties from either end of the flow. Any already on the flow are selected:

A screenshot of a computer

AI-generated content may be incorrect.

Adding Flow Items

Selecting an item’s checkbox in the table adds it to the flow, clearing the checkbox removes it from the flow.

Sorting / Filtering

Clicking a column header will sort by that header (ascending). Clicking again will sort descending. Clicking again will remove the sorting. The table may be filtered by typing a regular expression into the filter field. Note that these options do not affect the order of the flow items in Rhapsody and are simply there to make reading / navigating to the flow items easier. (Re-ordering by drag and drop is disabled if sorting is applied)

Navigating

Double-clicking a flow item will navigate to it in Rhapsody. In addition, a context menu is available:

A screenshot of a computer

AI-generated content may be incorrect.

Re-Ordering Flow Items

To re-order items on the flow/item flow, drag them up or down using the grab handles (you can drag the rows if you wish but the grab handles are a convenient way without accidentally checking one of the boxes). Note that re-ordering only works if there is no sorting / filtering applied). Select multiple items using the shift / control keys to drag in bulk.

A screen shot of a computer

Description automatically generated

Allowing Flow Property Types

By default, the helper only allows flow properties to be selected. The following property (set at package / project level) overrides that behaviour:

 

            RhapsodyPowerPack.FlowPropertiesEditor.AllowTypes

 

If set to true, then provided the flow property itself is legal (that is it is in the right direction) then the type of the flow property is also added to the selectable list. Types from the PredefinedTypes package are automatically filtered out.