<html lang="en-us"> | |
<head> | |
<title>Basic Layout</title> | |
</head> | |
<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> | |
<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 <b>Windows</b></span> and then | |
<span class="ph pname"><b>Preferences</b></span></span><div class="itemgroup stepresult">The <b>Preferences</b></span> page appears.</div></li> | |
<li class="li step stepexpand" id="loiof159edb90e754bd78496eec86c7e66ea__step_N10039_N1001E_N10012_N10001"><span class="ph cmd">Expand <b>OData Development</b> and choose <b>OData Model Editor</b>. | |
</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><img src="BasicLayout1.png" alt="basic Layout" style="width:240px;height:300px"/></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><img src="BasicLayout2.png" alt="basic Layout" style="width:240px;height:200px"/></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> |