blob: 3574106ffa5074e25bfd701db235680804f2a09d [file] [log] [blame]
<!--?xml version="1.0" encoding="UTF-8"?-->
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="" name="abstract" />
<meta content="" name="description" />
<link href="../css/documentation.css" rel="stylesheet" type="text/css" />
<title></title>
<!--[if lte IE 7]><style>
.codeblock{
overflow:visible;
}</style><![endif]-->
<div id="wrapper">
<div id="container">
<h1 class="title topictitle1">Opening OData Perspective</h1>
<div class="body conbody">
<p class="shortdesc">&nbsp;</p>
<p class="p">The OData Perspective is a customized view, which is recommended to be used to create OData models. This section will describe the default views available in the OData Perspective.</p>
<div class="p">
<ol class="ol" id="loiof4a962fc49d94c05b6e44ab9b5fd7a8c__ol_oxh_rqr_wj">
<li class="li">Open Eclipse.</li>
<li class="li">Navigate to <span class="ph menucascade"><span class="ph uicontrol">Window&gt;&nbsp;</span><span class="ph uicontrol">Open Perspective&gt;</span> <span class="ph uicontrol">Other.</span></span>
<p class="p">The <span class="ph pname">Open Perspective</span> window appears.</p>
</li>
<li class="li">Locate and choose <span class="ph emphasis emphasis">OData</span> from the list of perspectives.
<p class="p">The OData Perspective opens.</p>
The table below summarizes the views that are available in the OData Perspective.</li>
</ol>
<div class="tablenoborder">
<table border="1" class="table" frame="border" id="loiof4a962fc49d94c05b6e44ab9b5fd7a8c__table_gn5_jjm_z3" rules="all" summary="">
<caption><span class="tablecap">Table 1: OData Perspective-Views</span></caption>
<thead align="left" class="thead">
<tr class="row">
<th class="entry" id="d126274e55" valign="top" width="20.40816326530612%">Views</th>
<th class="entry" id="d126274e57" valign="top" width="35.306122448979586%">Description</th>
<th class="entry" id="d126274e59" valign="top" width="44.285714285714285%">Actions</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry" headers="d126274e55 " valign="top" width="20.40816326530612%">Project Explorer</td>
<td class="entry" headers="d126274e57 " valign="top" width="35.306122448979586%">The project explorer displays all the project(s) created in the current workspace.</td>
<td class="entry" headers="d126274e59 " valign="top" width="44.285714285714285%">The project folder holds folders, packages etc. The OData file created using the OData Model Editor will be stored in the relevant folder and when expanded, the underlying artifacts of the OData model can be seen. Furthermore, you can select an OData artifact and the properties view will show the properties of this artifact, which can then be edited.</td>
</tr>
<tr class="row">
<td class="entry" headers="d126274e55 " valign="top" width="20.40816326530612%">Properties View</td>
<td class="entry" headers="d126274e57 " valign="top" width="35.306122448979586%">This region displays the properties of the artifacts selected in the OData Model Editor/Project Explorer.</td>
<td class="entry" headers="d126274e59 " valign="top" width="44.285714285714285%">Select either the Properties or Problems views to view the appropriate information .</td>
</tr>
<tr class="row">
<td class="entry" headers="d126274e55 " valign="top" width="20.40816326530612%">Problems</td>
<td class="entry" headers="d126274e57 " valign="top" width="35.306122448979586%">OData model validation errors are displayed in the Problem view. On saving a OData model validation will be triggered for the underlying model.</td>
<td class="entry" headers="d126274e59 " valign="top" width="44.285714285714285%">On selecting an error message, the corresponding erroneous artifact will be highlighted.</td>
</tr>
<tr class="row">
<td class="entry" headers="d126274e55 " valign="top" width="20.40816326530612%">Miniature View</td>
<td class="entry" headers="d126274e57 " valign="top" width="35.306122448979586%">This view displays a copy of the OData Model Editor in a very small scale.</td>
<td class="entry" headers="d126274e59 " valign="top" width="44.285714285714285%">You can also activate/deactivate the Miniature View from the <span class="ph menucascade">&nbsp;<span class="ph uicontrol">Windows&gt;</span>&nbsp;<span class="ph uicontrol">Show View&gt;</span>&nbsp;<span class="ph uicontrol">Others&gt;</span>&nbsp;<span class="ph uicontrol">General</span></span>&nbsp;menu.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="topic concept nested1" id="concept_ddg_syr_wj">
<h2 class="title topictitle2">Properties and Problems Views</h2>
<div class="body conbody">
<p class="p">The Properties View is the region that is below the OData Model Editor. This region has a customized view, and you can select the views to be displayed here from the <span class="ph menucascade"><span class="ph uicontrol">Windows&gt;</span> <span class="ph uicontrol">Show View</span> </span>.</p>
<div class="p"><img src="OP1.png" alt="" style="width:404px;height:328px />
<ul class="ul" id="concept_ddg_syr_wj__ul_or5_j1s_wj">
<li class="li"><span class="ph emphasis emphasis">Properties</span>- Choose either the element or the OData model element in the OData Model Editor to view its property. You can also edit the values for the selected elements here, and the changes will be reflected in the OData model element. <p></p>
<img src="OP2.png" alt="" style="width:404px;height:328px"/> <p> </p>
<li class="li"><span class="ph emphasis emphasis">Problems</span>- On saving a OData model, the underlying OData errors are displayed in the OData Model Editor. The details of error can be viewed by selecting the Problem tab. On selecting an error message and corresponding erroneous elements are selected in the OData model element. The Problems view displays all the existing errors and warnings and information of all the existing projects in the eclipse workspace. Any java or xml validation errors are also listed here.
<p> </p>
<img src="OP3.png" alt="" style="width:604px;height:428px" /></li>
</ul>