Accounting View: Tooltips and Status Bar include Account and Supply Attributes
RiverWare 6.1, 6-17-2011, phil weinstein, CADSWES

Prior Functionality

Prior to this enhancement, when hovering the mouse over an account or supply in the Accounting View, the name of that account or supply was shown momentarily as a tooltip, and also in the status bar at the bottom of the workspace.

If the mouse pointer was over an aggregated account icon (representing more than one account in an Account Display Group with "Aggregate Accounts" turned on), the tooltip showed the name of each account, one per line.

If the mouse pointer was proximate to several supplies, the tooltip showed the name of each supply, one per line.

In either of those cases (multiple accounts or supplies), the name of only one of the objects near the mouse pointer was shown in the status bar at the bottom of the workspace.

Enhanced Functionality

Tooltips and status line messages for both accounts and supplies have been enhanced to include the following user-defined character string attributes:

In tooltips, an account's or supply's attributes are shown on distinct rows, indented, below the account's or supply's name.

Multiple proximate supplies and accounts ...

 

Only a single status line row is supported, and that always shows only one proximate object (an object close to the mouse pointer). As currently implemented, the status line includes all (both) relevant attributes, regardless of whether or not those attributes are defined in the model file (edited in the Accounting System Configuration dialog). For attributes without definitions, a value of "NONE" is shown, e.g. ("Destination Type: NONE") in the examples below.

Tooltips for accounts and supplies show all proximate objects, but include only attributes for which the user has defined attribute values within the model. In the images below on the left side, notice that "Destination Type" is shown in the status bar, but not in the tooltip. That is because no "Destination Types" are defined in the Accounting System Configuration box (for the current model).

Implementation Options

There are some hard-code symbols and parameters which determine some of the current behaviors. For example, an initially developed behavior was that, in tooltips, attributes were NOT shown if the tooltip was showing multiple objects. This was changed to unconditionally show objects' attributes, regardless of how many objects are being described in the tooltip. Any of these options could be recoded OR controlled as a user preference (as an additional enhancement).

  Accounts Supplies
  Tooltips Status Line Tooltips Status Line
Attributes shown for
single proximate object?
YES YES YES YES
Attributes shown for
multiple proximate objects?
YES n/a YES n/a
Mulitple proximate
objects supported.
YES no
(design
limitation)
YES no
(design
limitation)
Attribute indicated even
if not defined in model?
no YES no YES

See technical notes: Notes-2011jun17b.txt

---