RiverWare 6.1: Unit Schemes
Value Display Attribute Scheme Editor
Phil Weinstein, CADSWES.

Document History / Status:

Contents

  1. Overview
  2. Mockup Image: Value Display Attribute Scheme Editor Dialog
  3. ... ... ...

Overview

A "Value Display Attribute Scheme Editor" dialog shows and allows the editing of a Mapped Display Attribute Scheme instance. The "mapped" schemes are those which are defined as a set of "scheme rules" which map slot and slot-column selection criteria to Display Attribute Groups. This includes all schemes other than the "Local Scheme" which uses the display attributes configured on each slot and slot column.

The dialog supports these general capabilities:

Mockup Image: Value Display Attribute Scheme Editor Dialog

Note: The item order shown here does not correctly represent an actual sorted state.

Switching between defined schemes

The user is able to switch between the different Mapped Value Display Attribute Schemes defined in the model using the illustrated combo box. If there are any unapplied edits in the dialog when operating this combo box, the warning popup dialog is shown allowing the user to:

"Scheme Rule" Types

Four types of scheme rules are supported:

All scheme rule types include a Unit Type criteria. The latter three scheme rule types can optionally be limited to a particular Simulation Object or Account Type (including the abstract "Reservoir" and "Power Reservoir" abstract classes). These generally differ in whether or not a Slot Column Reference's (SlotColRef's) slot name and column label are considered when matching the rule.

"Scheme Rule" Type Filtering

 The user will be able to either show all scheme rules within the scheme, or show only one of the four types of scheme rules, through the use of the illustrated combo box.

File Menu Operations

Scheme Rules Menu Operations

Note: When a Slot Name or Column Name having multiple unit types is selected (see below), a scheme rule for each unit type is added. Multiple unit types will exist for the following reasons:

Adding a Unit Type Scheme Rule

Adding a Slot Name Scheme Rule

Adding a Column Name (Label) Scheme Rule

Adding a Slot and Column Name Scheme Rule

Scheme Rule Edit Operations

The "ellipsis" button brings up a popup menu with the following operations:

The Scale, Unit, Format and Precision fields can be immediatly edited.

Any changes made to the set of scheme rules marks the scheme as edited (if the new state is different from the last applied state). This effects the enabledness of the "Apply" button (disabled if there are no changes), and effects whether or not a warning dialog is shown if the user attempts to close the dialog or change to a different scheme.

--- (in progress) ---