When you open the implementation diagram of a mapping operation, a new tab opens, and the mapping diagram is displayed in the mapping editor.
This is where you model your data mapping.
The mapping editor consists of different areas: |
You have several options to adjust the mapping editor. When you open the editor for the first time, the default view is displayed:
|
When starting with a new mapping diagram, the mapping editor displays a canvas that contains the incoming and outgoing parameters of the mapping operation. The image above shows the blank mapping diagram of a non-static mapping operation.
On the left side, you can see the mapping source. In this case, the source is the Self context of the related class. If the mapping operation has input parameters, the mapping diagram will also show elements in the Input section of the mapping diagram.
On the right side, you can see the mapping target (section Output). The target is defined by the output parameters of the mapping operation.
Refer to the other pages in this chapter for more information on how to model a valid Mapping diagram:
While modeling, some general functionalities help you to browse through your model, and to adjust your working location within the model. Refer to Customizing Editors and Panels for more details.
The mapping editor features a mapping toolbar in the center top of the diagram pane, and an elements toolbar on the right.
Toolbar | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mapping Toolbar | Use the mapping toolbar to change the appearance of the mapping relations and to jump to the related mapping operation in the service panel.
| ||||||||||||
Elements Toolbar | The elements toolbar contains all elements that you can create on your mapping diagram.
You can also expand the toolbar by using theicon. The expanded toolbar additionally displays a description of the toolbar icons. |
Each element of the mapping editor has a context menu that you can select actions from.
Right click on a mapping element, to open the context menu. Available actions are:
|
Find below a list of all keyboard shortcuts that are available in the mapping editor.
|