Basic Layout

This section provides information on setting up the basic layout for your OData model in the OData model editor.

Context

The Basic layout provides the user with only one default option to layout the model in the OData model editor. But, you can create your own layout by using the extension points.

Procedure

  1. From the Eclipse main menu, select Windows and then Preferences
    The Preferences page appears.
  2. Expand OData Development and choose OData Model Editor. .
    The OData Model Editor Layout options opens in the details region and the Basic Layout is selected by default. Here is a sample of the basic layouting:

    basic Layout

    The basic layout avoids overlapping of the models and layouts the model in the following order:
    1. Self associated entities and non-associated entitites.
    2. Associated entities
    3. Function Imports
    4. Complex Types
    Note You can also select a layout by right clicking on the OData Model Editor and choosing Layout and selecting a layout of your choice from the context menu. If there are no extra layouts other than basic, then no additional layout(s) will be displayed.

    basic Layout

  3. Choose Apply to apply the layout for the OData Model Editor.
  4. Open the OData Model Editor to view the OData model in the selected layout.