Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0

When you open the implementation diagram of a mapping diagram from the Data Model folder in the Service paneloperation, a new tab will openopens, displaying the model and the mapping diagram is displayed in the mapping editor.
This is where you model your data mapping.

Image Modified

The mapping editor consists of different areas:

  1. Mapping Editor
Model Elements

Customizing the Mapping Editor

Image Removed Mapping Editor Mapping Editor is displayed in the center
(see Managing the Mapping Editor for details).Two sidebar
(see Managing Panels for details): Attributes PanelTwo Designer Panels are hidden:
(use the two icons in the upper right corner of the editor to display them):
The Validation Search

Image Added

You have several options to adjust the

mapping editor. When you open the editor for the first time, the default view is displayed:

  • The
  • Designer Panels are shown in the sidebar on the left
  • .
      • The Service Panel
      • The
      • Controls Panel
      • The Attributes
      • Panel
      • The
      • Validation Panel

    Managing the Mapping Editor

    Multiexcerpt includeSpaceWithExcerptINTERNALMultiExcerptName

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptName

    state_of_panePageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamesecond_sidebar
    DisableCachingtrue
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNameenlarge_pane
    DisableCachingtrue
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamehide_sidebar
    DisableCachingtrue
    PageWithExcerptINTERNAL:_designer_excerpts

    tip_panel_management
    DisableCachingtrue
    PageWithExcerptINTERNAL:_designer_excerpts

    Modeling in the Mapping Editor

    ActionExampleDescriptionZoom

    Image Removed

    When modeling, you have several options to apply the zoom in the editor.

    • Press the Ctrl button and use the mouse wheel.
    • Use the zoom bar at the bottom of the editor.
      To zoom, you can use the pin or press the plus or minus button of the zoom bar.

    Scaling

    Image Removed

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamefit_model_to_pane
    DisableCachingtrue
    PageWithExcerptINTERNAL:_designer_excerpts

    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:

    Children Display

    Modeling in the Mapping Editor

    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.

    Toolbars

    The mapping editor features a mapping toolbar in the center top of the diagram pane, and an elements toolbar on the right.

    Image Removed

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamescale_model
    DisableCachingtrue
    PageWithExcerptINTERNAL:_designer_excerpts

    The Toolbars

    Two toolbars are available for working with the Mapping Editor:

    The Model Toolbar

    The model toolbar assists you during modeling on the diagram pane:

    Image Removed

    The following table explains the available tools:

    Tool IconTool NameDescription

    Image Removed

    Show invalid

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_show_invalid
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Start service

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_start_service
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Stop service

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_stop_service
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Open Bridge

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_open_bridge
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Deploy service

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_deploy_service
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Export repository
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_export_repository
    PageWithExcerptINTERNAL:_designer_excerpts

    Image Removed

    Clear Compiler cache
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamemodel_toolbar_clear_compiler_cache
    PageWithExcerptINTERNAL:_designer_excerpts
    The
    ToolbarDescription
    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.

    IconDescription
    Image Added
    Jump to the related mapping operation in the service panel.
    Image Added
    Click on this icon to reload the mapping diagram.
    Elements Toolbar

    The elements toolbar contains all elements that you can create

    in the Mapping Editor.

    Image Removed

    By default, the elements toolbar only displays the icons of the available elements.

    Image Removed

    You can also expand the toolbar by using the Image Removed icon.
    In its expanded version, the names of all elements are also displayed.

    Image Removed

    Drag the element you want to create from the toolbar and drop it on the editor.

    Another way to create an element is to click on the element in the toolbar, switch to the editor and click again.

    To cancel the operation, press the Esc key.

    on your mapping diagram.

    IconDescription
    Image Added
    Assign a string literal to a target property.
    Image Added
    Add a mapping operation to the mapping diagram.
    Image Added
    Add an action script operation to the mapping diagram.
    Image Added
    Add a JavaScript operation to the mapping diagram.
    Image Added
    Add an activity operation to the mapping diagram.

    You can also expand the toolbar by using theImage Addedicon. The expanded toolbar additionally displays a description of the toolbar icons.

    Context Menu of Elements in a Mapping Diagram

    Each element of the mapping editor has a context menu that you can select actions from.

    Image Added

    Right

    The Mapping Context Menu

    A context menu supports the user during the creation of a mapping diagram.

    Mapping Operation Context Menu

    Image Removed

    If you right

    click on a mapping element, to open the context menu

    opens. Use it to edit the current element

    .

    The following options are available if you click on a mapping operation

    Available actions are:

    IconDescriptionAvailable for
    Image ModifiedDelete the selected element.

    all elements

    Image ModifiedGo to library.
    Click on this icon to highlight
    Highlight the current element in the
    Service
    service panel.
    • property
    • mapping operation
    Image ModifiedNavigate to implementation.
    Opens
    Open the implementation of the mapping operation in a new tab.
    • mapping operation

    Keyboard Shortcuts

    You can also use shortcuts Find below a list of all keyboard shortcuts that are available in the mapping editor. The following list of shortcuts can be searched. Enter your search term in the Global Filter field.

    Table Filter
    hideControlstrue
    sparkNameSparkline
    datepatterndd M yy
    globalFiltertrue
    id16161642989361637918643186_795085269-1888608086
    sortShortcut ⇧
    worklog365|5|8|y w d h m|y w d h m
    isORAND
    separatorPoint (.)
    order0
    ShortcutDescription
    Arrow downMoves the whole editor content downwards.
    Arrow upMoves the whole editor content upwards.
    CTRL
    Ctrl + 1, 2, 3 ... 9
    Opens

    Switches to the Designer tab corresponding to the chosen number.

    The first nine opened models are offered for activation. Press a number to activate the corresponding model and bring it to the foreground.

    This feature is available for the first nine open tabs.

    Ctrl
    CTRL
    + D
    Closes the active
    model window
    Designer tab.
    CTRL
    Ctrl + Mouse Wheel
    Reduces
    Zooms in (scrolling
    down
    up) or
    enlarges
    out (scrolling
    up
    down)
    the zoom factor
    of the current model.
    CTRL
    Ctrl +
    SHIFT
    Shift + DCloses all tabs and switches to
    explorer
    the service tab.
    DEL
    DelRemoves the selected element(s)
    Press Del to remove selected elements
    from the diagram pane.
    ESC
    Esc
    Pressing

    Aborts the

    Esc key aborts the

    following

    processes

    procedures:

    • adding a new element
    • closing a dialog
    • drawing a relation
    Mouse WheelMoves the
    model
    diagram pane up or down.
    SHIFT
    Shift + Page downSwitches to the next Designer tab from left to right.
    SHIFT
    Shift + Page up
    Switches to the next Designer tab from right to left.