The NaturalONE Perspective

This document covers the following topics:


Opening the NaturalONE Perspective

In order to use NaturalONE, you have to open the NaturalONE perspective. The following is an example of the NaturalONE perspective; it shows a Natural project where a Natural program has been opened for editing.

Natural perspective

When the NaturalONE perspective is not active, you can open it as described below.

Start of instruction setTo open the NaturalONE perspective

  1. From the Window menu, choose Open Perspective > Other.

  2. In the resulting Open Perspective dialog box, select NaturalONE and choose the OK button.

    The NaturalONE perspective is opened. The views which are part of the NaturalONE perspective are described in the section below.

Views of the NaturalONE Perspective

The NaturalONE perspective makes use of several views. Some of these views are Natural-specific views and other views are standard Eclipse views. In addition to the Eclipse views which are shown by default in the NaturalONE perspective, you can also use any other Eclipse view.

The following list briefly describes the most important views of the NaturalONE perspective (these are the views which are shown by default when you open the NaturalONE perspective for the first time):

  • Navigator
    Shows the Natural projects defined in your workspace. Other types of projects (for example, Java projects) will also appear in this view. For further information, see Working with Natural Projects in Local Mode.

  • Natural Navigator
    When none of the toggle buttons is selected in the local toolbar of this view, the Natural Navigator view shows the same information as the standard Eclipse Navigator view. However, the Natural Navigator view offers enhanced support for Natural projects and allows you to switch on and off different Natural-specific options for displaying your Natural projects in the tree. For further information, see Using the Natural Navigator View.

  • Natural Server
    Used to make a connection to a Natural server. For further information, see Accessing a Remote Development Environment.

  • Outline
    The different types of Natural editors show different information in this view. For further information, see Using the Natural Editors.

  • Dependencies
    Shows the dependencies to other Natural objects that are referenced in the active editor window. For further information, see Using the Natural Editors.

  • Properties
    Shows the properties for a selected item. NaturalONE uses this view to display Natural-specific information.

  • Console
    When console output is enabled in the Natural preferences (different types of console output can be enabled there), NaturalONE uses this view to display, for example, information from the Natural builder or output of the internal Tomcat server. You can also open a console in which you can enter Natural system commands; for further information, see Using the Natural Command Console for Mainframes.

  • Problems
    NaturalONE uses this view to display Natural-specific problems such as compiler errors, parser errors or NATstyle violations. For further information, see Problems in Your Natural Sources and Checking Natural Code with NATstyle.

  • Tasks
    Shows the tasks (for example, for programming steps that still need to be done) that you have added to your source code. NaturalONE uses this view to display tasks of type "Natural Task". For further information, see Working with Tasks.

  • Details
    Shows detailed information on the children of the project, library or folder that is currently selected in the Navigator view or in the Natural Navigator view. For further information, see Using the Details View.

The following Natural-specific views are not shown by default when you open the NaturalONE perspective:

Editor Area in the NaturalONE Perspective

One of the following Natural editors is shown in the editor area when you open a Natural object:

  • source editor

  • map editor

  • DDM editor

For further information on the above editors, see Using the Natural Editors.

Other editors are shown in the editor area, for example, when you open the following items:

Showing a View of the NaturalONE Perspective

If a view of the NaturalONE perspective is currently not shown, you can display it as described below.

Start of instruction setTo show a Natural view

  1. From the Window menu, choose Show View > Other.

  2. In the resulting Show View dialog box, expand the Software AG NaturalONE node and select one or all of the following views:

    • Dependencies

    • Details

    • NATdoc

    • Natural Navigator

    • Natural Server

    • Profiler Sessions

    • Report Data

    • RTL Visual Order

    • Time Stamp Conflicts

    • Unlock Objects

    Notes:

    1. The views which are listed above pertain to the basic functionality of NaturalONE as described in this Using NaturalONE documentation. Other views in the Software AG NaturalONE node which are not listed above are used by other (optional) components of NaturalONE. See the corresponding documentation for further information.
    2. When you expand the General node in the Show View dialog box, most of the standard Eclipse views (such as the Navigator view or the Outline view) can be selected.
  3. Choose the OK button.

Resetting the NaturalONE Perspective

When you have closed one or more views, or moved a view to a different location, you can reset the perspective so that its default settings are used again.

Start of instruction setTo reset the NaturalONE perspective

  1. Make sure that the NaturalONE perspective is active.

  2. From the Window menu, choose Reset Perspective.

  3. In the resulting dialog box, choose the OK button to confirm that you want to reset the perspective to its defaults.