Rational Programming Patterns

The work context

The work context is determined by the instance from which you enter a network of relationships between instances. This context is defined by the design build path which this instance belongs to.

This project constitutes the starting point for the resolution of the links between instances. If a link is not resolved in the project, the projects hierarchy declared in the design build path is explored in an upward direction in order to resolve it.

If you open or generate an instance from its definition project, then its work context is its definition project. However, if you open or generate a calling instance, its work context is the context of the calling instance.

The links (super references or subreferences) resolve differently according to the work context.
Note: A Data Element, called in the -CE Lines of a Segment, is redefined in a lower-level project. If the work context is the project of the Segment, the Data Element resolved by the link is the Data Element which can be accessed from the project of the Segment. However, if the work context is a project which is hierarchically lower than the project of the Segment (for example if you access the Data Element through the Screen which calls it in this project), the Data Element resolved by the link is the Data Element which is redefined in the hierarchically lower project.
You select the work context when you:

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)