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 of the project that 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 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.
- Open an editor. You see the instance as it is defined in the current work context. This context
is displayed in the General Information of the
Overview tab of each editor. The project that constitutes the work context
and the projects declared higher in the hierarchy can be viewed by clicking
Hierarchy.The same instance can be opened in two different work contexts. So it can simultaneously be displayed in two editors. However, since it is the same instance, any modification that is made in one work context is immediately available in the other work context.Example: Project PROJ.A is declared higher than project PROJ.B in the design build path of the location. A Data Element is defined in PROJ.A and is called by a Segment in PROJ.B.
You can open the Data Element directly from PROJ.A, or you can access it from the Segment in PROJ.B. In this case, two editors are simultaneously available for the Data Element. These editors display the same information. Only the work context differs. The search for the Data Element super references differs if this Data Element is used by different instances in the two projects.
- Start generating. The work context of the entry point into the generation procedure (usually the context of the program to be generated) is passed on to all the instances that are involved in the generation.