| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| <meta name="abstract" content="This section provides information on setting up the basic layout for your OData model in the OData model editor."/> |
| <meta name="description" content="This section provides information on setting up the basic layout for your OData model in the OData model editor."/> |
| |
| <link rel="stylesheet" type="text/css" href="../css/documentation.css"/> |
| <title>Basic Layout</title> |
| <!--[if lte IE 7]><style> |
| .codeblock{ |
| overflow:visible; |
| }</style><![endif]--> |
| </head> |
| <body class="" id="loiof159edb90e754bd78496eec86c7e66ea"> |
| <div id="wrapper"><div id="container"> |
| <h1 class="title topictitle1">Basic Layout</h1> |
| <div class="body taskbody"><p class="shortdesc">This section provides information on setting up the basic layout for your OData model in |
| the OData model editor.</p> |
| <div class="section context" id="loiof159edb90e754bd78496eec86c7e66ea__context_N10015_N10012_N10001"><div class="tasklabel"><h2 class="sectiontitle tasklabel">Context</h2></div> |
| <p class="p">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.</p> |
| |
| </div><div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><ol class="ol steps" id="loiof159edb90e754bd78496eec86c7e66ea__steps_b5f_v3w_sp"><li class="li step stepexpand" id="loiof159edb90e754bd78496eec86c7e66ea__step_N10021_N1001E_N10012_N10001"><span class="ph cmd">From the Eclipse main menu, select <span class="ph pname">Windows</span> and then |
| <span class="ph pname">Preferences</span></span><div class="itemgroup stepresult">The <span class="ph pname">Preferences</span> page appears.</div></li> |
| <li class="li step stepexpand" id="loiof159edb90e754bd78496eec86c7e66ea__step_N10039_N1001E_N10012_N10001"><span class="ph cmd">Expand <span class="ph pname">OData Development </span>and choose <span class="ph pname">OData Model |
| Editor</span>.</span><div class="itemgroup stepresult">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: |
| <p class="p"><img class="image" id="loiof159edb90e754bd78496eec86c7e66ea__image_knn_4jj_tp" src="b887226740e74fd2a7d600de0f53abb9.image"/></p> |
| <div class="p">The basic layout avoids overlapping of the |
| models and layouts the model in the following order:<ol class="ol" type="a" id="loiof159edb90e754bd78496eec86c7e66ea__ol_f3y_mdw_fj"><li class="li">Self associated entities and non-associated entitites.</li> |
| <li class="li">Associated entities</li> |
| <li class="li">Function Imports</li> |
| <li class="li">Complex Types</li> |
| </ol> |
| <div class="note note" id="loiof159edb90e754bd78496eec86c7e66ea__note_N1006D_N10052_N10047_N10038_N1001E_N10012_N10001"><span class="notetitle">Note</span> You |
| can also select a layout by right clicking on the OData Model Editor and |
| choosing <strong class="ph b">Layout</strong> 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.<p class="p"><img class="image" id="loiof159edb90e754bd78496eec86c7e66ea__image_wth_1kj_tp" src="c8508c807aab4a39b18d485d2ff60d0a.image"/></p> |
| </div> |
| </div> |
| </div></li> |
| <li class="li step stepexpand" id="loiof159edb90e754bd78496eec86c7e66ea__step_N10081_N1001E_N10012_N10001"><span class="ph cmd">Choose <strong class="ph b">Apply</strong> to apply the layout for the OData Model Editor.</span></li> |
| <li class="li step stepexpand" id="loiof159edb90e754bd78496eec86c7e66ea__step_N1008E_N1001E_N10012_N10001"><span class="ph cmd">Open the OData Model Editor to view the OData model in the selected |
| layout.</span></li> |
| </ol> |
| </div> |
| </div></div> |
| </body> |
| </html> |