Showing Related Components

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  SchemaAgent Client > Viewing Files in the Design Window >

Showing Related Components

If a component or its type is defined in another schema (indicated by arrowheads on the left-hand-side of the component) or used by another schema (indicated by arrowheads on the right-hand-side of the component), the context menu that opens when you right-click that component provides the Show component origin (see screenshot below) as well as the Show component usage options. The text color of the complex type ipo:US-Address (blue) in the screenshot indicates that this complex type is an import (according to the default color scheme).

design_mnu-show-origin

Selecting the Show component origin command from the context menu causes the connector line to the relevant definition in the source schema to be selected, together with the connector line showing the relation between both schemas (that is, whether it is an Include, Import, or Redefine). If the connector line is not visible because the relevant schema box or section, respectively, is collapsed, SchemaAgent will expand the design so as to be able to display the required connector lines. If the schema box containing the definition is not present in the design, a message to that effect is displayed and you are asked whether this schema box should be inserted into the design.

design_IIR-show-origin

Conversely, if in the schema box of address.xsd, you right-click the component ipo:Address (a complex type), and select Show component usage, then the ipo.xsd schema box will be added to the design and the link to the Address element in ipo.xsd will be selected.

design_IIR-show-usage

 

To show the origin of a component:

1.In the Globals section of a schema box, or in the Input or Output section of an MFD file box, respectively, right-click a component and select Show component origin from the context menu.
2.Optionally, click Yes in the message box that pops up if the schema of the source component is not present in the current design.

SchemaAgent will select the connector lines between the related components as well as the the connector line showing the type of relation between the schemas. If the schema box of the component source is collapsed, it will be expanded to the level required to display the relation.

 

 

To show the usage of a component:

1.In the Globals section of a schema box, right-click a component and select Show component usage from the context menu.
2.Optionally, click Yes in the message box that pops up if the schema of the target component is not present in the current design.

 

SchemaAgent will select the connector lines between the related components as well as the the connector line showing the type of relation between the schemas. If the schema box of the target component is collapsed, it will be expanded to the level required to display the relation.


© 2019 Altova GmbH