Opening OData Perspective

 

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.

  1. Open Eclipse.
  2. Navigate to Window> Open Perspective> Other.

    The Open Perspective window appears.

  3. Locate and choose OData from the list of perspectives.

    The OData Perspective opens.

    The table below summarizes the views that are available in the OData Perspective.
Table 1: OData Perspective-Views
Views Description Actions
Project Explorer The project explorer displays all the project(s) created in the current workspace. 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.
Properties View This region displays the properties of the artifacts selected in the OData Model Editor/Project Explorer. Select either the Properties or Problems views to view the appropriate information .
Problems OData model validation errors are displayed in the Problem view. On saving a OData model validation will be triggered for the underlying model. On selecting an error message, the corresponding erroneous artifact will be highlighted.
Miniature View This view displays a copy of the OData Model Editor in a very small scale. You can also activate/deactivate the Miniature View from the  Windows> Show View> Others> General menu.

Properties and Problems Views

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 Windows> Show View .

  • Properties- 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.

  • Problems- 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.