Rational Programming Patterns

New Logical View wizard

To create a Logical View, you must open a Segment creation wizard in the Design Explorer view and select Logical View as Segment type. When the required information is entered in the other fields and the creation wizard closed, you can see as a result the Logical View instance saved in the Design Explorer view, under the current location, in the Segment folder.

Package
A package corresponds to a logical group of information in a project.

If you are maintaining a Pacbase application, selecting a package is not advised. The instance override mechanism is then made easier because the overriding instance is always in the same package as the overridden instance. You do not need to manage the presence of both the instances in the same package, which is the requirement of an override.

Project
Select a project in the list or enter the name of the project in which the instances are to be saved.

A project represents the physical distribution of your instances in your workspace. It groups directories and files. It is used to organize resources which can be built, shared, or stored as a version.

A Pacbase project contains a subset of files, which correspond to the models and the generated sources that make up an application.

There can be various projects for each location (a location is the equivalent of a database).

Segment type
Select 'Logical View' in the drop-down list.
Name
Enter the name of the new Logical View.

The Logical View name is made of the name of the Data Structure associated with the new Logical View instance and a record code. The Data Structure name is made up of two alphanumeric characters. This name is a logical code internal to the database. It is therefore independent of the names used in Database Blocks and Programs. The second part of the Logical View name must be two characters long. The first character must be a number, and the second character can be a number or letter. If the second character is a letter, the first character must be different from zero. If a Library is defined with the protection of extracted entities or no modification of extracted lines, the creation of a Logical View is authorized if its Data Structure exists in the same Library and if the Segment does not exist in a protected Library of the network.

Label
Enter the label, which identifies the new instance. It constitutes a search criterion for a subsequent search.
Open editor on finish
Select this check box if you want the editor of the instance you are creating to open up automatically. The editor opens up on the Overview tab. From there, you can access the other tabs to specify all the characteristics of the instance.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)