Building Model View Groups and Data Types

The lower left section of the Model View Manager window contains the data model groups and data types. The lower right section of the Model View Manager window contains the model view groups and data types.

ModelViewBottomSection.jpg

The model view data type groups and data types are built up by dragging data model data types and/or groups from the lower left section of the window and dropping them in the lower right section. Dragging and dropping a group bring over all of the data types that exist in the data model group. Groups and data types that have been added to the model view can be renamed or removed by clicking them and pressing the right mouse button. A popup menu appears that contains options to create a group, rename the selected group or data type, or delete the selected group or data type. Deleting a group or data type does not remove it from the data model in the lower left section of the window. They can always be dragged over to the model view again.

Dragging the same data type to the model view a second time causes the Name exists window to appear.

NameAlreadyExistsDialog.jpg

This window gives you the opportunity to share the data type within the model view, create a data type within the model view, or cancel the drag. Data types are shared in order to have them appear in more than one model view group. Shared data types appear in multiple groups, but they are actually a single data type. Renaming shared data types or editing their configuration applies to all occurrences of the shared data type within the model view.

A new name must be given to the data type when selecting the Create New option. The new model view data type is used to view the same data model data type, but appear in the model view with a different name and can have different attributes enabled, different query filters, and other settings from the other model view data types created from the same data model data type.

Tip: Sharing was done with the Project data type in the OpenSpirit Default model view. The Project data type appears in all of the model view groups so it can be easily accessed without having to select a different group tab in the Data Selector. The Create New option was used in the OpenSpirit Default model view to create details tabs in the Data Selector. For example, the Well group in the OpenSpirit Default model view contains a Well data type and a Well Details data type. Both of these model view data types were derived from the OpenSpirit data model's Well Bore data type joined with attributes from the Well data type. The Well data type and a Well Details data type both represent a Well Bore. They differ in the attributes that are available for display and in the View Scope choices.

The Visible checkbox VisibleCheckBoxIcon.gif next to each model view data type determines if the tab representing the data type is turned on in the Data Selector by default.

The top to bottom order that the model view data types appear within the group determines the left to right order that the data type tabs appear in the Data Selector. Model view data types can be dragged up or down to change the order.

MoveDataType.jpg

Click the Configure icon EditIcon.gif next to each model view data type to open the model view data type details window that is used to configure the attributes to be included in the data type and how they are displayed. The details window is described in the next section of this help guide.

New groups can be created by typing a new group name in the field at the bottom center of the Model View Manager window and pressing the Add New Group button AddNewGroupButton.gif. The new group appears at the bottom of the Model View - Groups and Data Types table. Data types can then be added to the group and the group can be moved up or down in the group order by dragging it with the mouse.

AddNewGroup.jpg