Display Builder User's Guide
Display Builder User's Guide
This document is a guide to the use of Display Builder, the display development tool for e-terrabrowser.
NOTE: CONTAINS AREVA T&D INC. PROPRIETARY INFORMATION. DO NOT COPY, STORE IN A RETRIEVAL SYSTEM, TRANSMIT OR DISCLOSE TO ANY THIRD PARTY WITHOUT THE PRIOR WRITTEN PERMISSION FROM AN OFFICER OF AREVA T&D INC. __________________________________________________________________
Trademarks
ESCA and HABITAT are registered trademarks of AREVA T&D Inc. e-terra is a registered trademark and/or service mark of E-Terra, LLC, licensed for use by AREVA T&D Inc. in connection with its e-terra family of products and services.
Other product and company names in these materials may be trademarks or registered trademarks of other companies, and are the property of their respective owners. They are used only for explanation and to the respective owners benefit, without intent to infringe.
Contents
About This Document.............................................................................. xv
Purpose of This Document...........................................................................................xv Who Should Use This Document .................................................................................xv Structure of This Document .........................................................................................xv For More Information................................................................................................... xvi Conventions ............................................................................................................... xvii Change Summary ..................................................................................................... xviii
1. Overview ................................................................................................. 1
1.1 Display Concepts .................................................................................................... 1 1.1.1 Common Display Features and Capabilities ...................................................... 1 1.1.2 Common Definable Display Attributes................................................................ 2 1.1.3 Display Elements ............................................................................................... 3 1.1.3.1 Drawn and Typed Graphical Elements ......................................................... 4 1.1.3.2 Graphic Attributes of Primitives and Text...................................................... 4 1.1.3.3 Symbols ........................................................................................................ 4 1.1.3.4 Scale Factors ................................................................................................ 4 1.1.3.5 Shift Factors.................................................................................................. 6 1.1.3.6 Pictures......................................................................................................... 6 1.1.3.7 Menus ........................................................................................................... 8 1.1.3.8 Keysets ......................................................................................................... 9 1.1.3.9 Conditional Attribute Modifiers (CAMS) ........................................................ 9 1.1.3.10 Geometry Modifiers (GEMs) ..................................................................... 10 1.1.3.11 Conditional Text (CT)................................................................................ 10 1.1.3.12 Popups...................................................................................................... 11 1.1.3.13 Picgroups .................................................................................................. 12 1.1.3.14 Placeable and Attachable Elements ......................................................... 12 1.1.3.15 ActiveX Controls ....................................................................................... 13 1.1.4 Display Layers ................................................................................................. 14 1.1.4.1 Simple Layers ............................................................................................. 14 1.1.4.2 Database Linkages ..................................................................................... 15 1.1.4.3 Tabular Layers ............................................................................................ 15 1.1.4.4 Features of Tabular Layers......................................................................... 16 1.1.4.5 Picgroup Spatial Relationships ................................................................... 18 1.1.4.6 Driving Data Structures............................................................................... 19 1.1.4.7 Data Linkage to Linked List Structures ....................................................... 19 1.1.5 Overall Attachments......................................................................................... 20 1.1.6 Permission Area Tests ..................................................................................... 20 1.2 Display Builder Concepts ...................................................................................... 21 1.2.1 Definition Manager ........................................................................................... 21 1.2.1.1 Element Set Window................................................................................... 22
Proprietary See Copyright Page
iii
1.2.2 Display Set Window ......................................................................................... 23 1.2.2.1 Editor Windows ........................................................................................... 24 1.2.2.2 Browser Window ......................................................................................... 24 1.2.3 Definition Manager Menus Title Bar ................................................................. 25 1.2.4 Definition Manager Tool bars ........................................................................... 27 1.2.5 Display Builder Pointers ................................................................................... 28 1.2.6 Display Builder Sets ......................................................................................... 29 1.2.6.1 Element Sets .............................................................................................. 29 1.2.6.2 Display Sets ................................................................................................ 29 1.2.6.3 How Element and Display Sets Relate ....................................................... 30 1.2.6.4 Display Builder Set Storage ........................................................................ 30 1.2.6.5 Display Definition Language (DDL)............................................................. 30 1.2.6.6 Display Builder Set Access ......................................................................... 30 1.2.7 Display Builder Editors ..................................................................................... 31 1.2.7.1 Scratch Pad Editor Components................................................................. 31 1.2.7.2 Dialog Editor Components .......................................................................... 32 1.2.8 Display Builder Tools ....................................................................................... 35 1.2.8.1 Primitives .................................................................................................... 36 1.2.8.2 Static Text ................................................................................................... 37 1.2.8.3 Formatted Fields ......................................................................................... 37 1.2.8.4 Placeholders ............................................................................................... 37 1.2.8.5 Drag-and-Drop Utility .................................................................................. 38
iv
2.3.2.1.13 Clip to Regions .................................................................................... 45 2.3.2.1.14 Dynamic Simple Layers ....................................................................... 45 2.3.2.1.15 Indexed Placement .............................................................................. 46 2.3.2.1.16 Placement Rotation ............................................................................. 46 2.3.2.1.17 Secondary Application on Simple Layer .............................................. 46 2.3.2.1.18 Background Image............................................................................... 46 2.3.2.1.19 Halo Style ............................................................................................ 47 2.3.2.1.20 Hidden Data Entry ............................................................................... 47 2.3.2.1.21 Conditional Permission Checks ........................................................... 47 2.3.2.1.22 Scale to Fit Style.................................................................................. 47 2.3.2.1.23 Tool Tips .............................................................................................. 47 2.3.2.1.24 Enhanced Support of ActiveX Controls................................................ 48 2.3.2.1.25 Enhanced Support for Raster Images.................................................. 48 2.3.2.1.26 CAM Enhancements ............................................................................ 48 2.3.2.1.27 Placement Identifiers ........................................................................... 48 2.3.2.1.28 Multi-Layer CAMs ................................................................................ 48 2.3.2.1.29 Windows TrueType Fonts .................................................................... 49 2.3.2.1.30 Multiple Data Sources.......................................................................... 49 2.3.2.1.31 Signed Pair Arrow Size ........................................................................ 49 2.3.2.1.32 Limits for Inner Dimensions for Multi-Dimensional Data ...................... 49 2.3.2.1.33 Layer Refresh Rate.............................................................................. 49 2.3.2.2 Compatibility Version Features ................................................................... 50 2.3.2.2.1 Compatibility Version FG 2.6.1 .............................................................. 50 2.3.2.2.2 Compatibility Version FG 3.0 ................................................................. 51 2.3.2.2.3 Compatibility Version FG 3.0.2 .............................................................. 52 2.3.2.2.4 Compatibility Version FG 5.0 ................................................................. 53 2.3.2.2.5 Compatibility Version FG 5.1 ................................................................. 54 2.3.2.2.6 Compatibility Version FG 5.2 ................................................................. 55 2.3.2.2.7 Compatibility Version FG 5.2.1 .............................................................. 57 2.3.2.2.8 Compatibility Version e-terrabrowser 2.1 ............................................... 58 2.3.2.2.9 Compatibility Version e-terrabrowser 3.0 ............................................... 59 2.3.2.2.10 Compatibility Version e-terrabrowser 3.1.2 .......................................... 60 2.3.2.2.11 Compatibility Version e-terrabrowser 3.2.1 .......................................... 61 2.3.2.2.12 Compatibility Version e-terrabrowser 3.3.0 .......................................... 63 2.3.2.2.13 Compatibility Version e-terrabrowser 3.4.0 .......................................... 64 2.3.2.2.14 Compatibility Version e-terrabrowser 3.5.0 .......................................... 66 2.4 Opening Display Builder Sets................................................................................ 68 2.5 Creating New Sets ................................................................................................ 68 2.6 Starting Scratch Pad and Dialog Editors ............................................................... 69 2.6.1 Starting Scratch Pad Editors ............................................................................ 69 2.6.1.1 Creating New Symbols and Pictures........................................................... 69 2.6.1.2 Creating New Picgroups and Displays........................................................ 69 2.6.2 Starting Dialog Editors ..................................................................................... 70 2.6.2.1 Creating New Dialog Elements ................................................................... 70 2.6.3 Opening Existing Components......................................................................... 70 2.6.3.1 Using Component Lists............................................................................... 70
2.6.3.2 Using the Browser Window ......................................................................... 71 2.7 Renaming a Display Component........................................................................... 71 2.8 Resolving Name Conflicts ..................................................................................... 71 2.9 Changing Display Set References ........................................................................ 73 2.10 Saving Sets and Editor Definitions ...................................................................... 74 2.10.1 Saving All Open Sets and Editor Definitions .................................................. 74 2.10.2 Saving the Active Set ..................................................................................... 74 2.10.3 Saving the Current Editor............................................................................... 74 2.10.4 Using Auto Save ............................................................................................ 75 2.11 Copying Component Definitions.......................................................................... 75 2.12 Recovering Changes from Temporary Files........................................................ 75 2.13 Printing the Contents of a Scratch Pad ............................................................... 76 2.14 Transferring Sets for Compilation........................................................................ 76 2.15 Closing Editors .................................................................................................... 77 2.15.1 Closing the Current Editor.............................................................................. 77 2.15.2 Closing All Editors .......................................................................................... 77 2.16 Closing Sets ........................................................................................................ 78 2.17 Closing Display Builder ....................................................................................... 78
vi
3.3.10 Specifying a Shift Factor on a Picture Object................................................. 96 3.3.11 Defining Placement Declutter......................................................................... 96 3.3.12 Attaching Elements in Pictures ...................................................................... 97 3.3.13 Defining Popups............................................................................................. 97 3.3.14 Popup Picture Properties ............................................................................... 98 3.3.15 Specifying Picture Attachments and Permission Tests .................................. 99 3.4 Defining Picgroups ................................................................................................ 99 3.4.1 The Picgroup Tab .......................................................................................... 100 3.4.2 The Attachments Tab..................................................................................... 101 3.4.3 Adding Primitives to Picgroups ...................................................................... 101 3.4.4 Placing Elements in Picgroups....................................................................... 101 3.4.5 Attaching Elements in Picgroups ................................................................... 101 3.4.6 Specifying a Secondary Picture Driving Field ................................................ 102 3.4.7 Locking Picgroup Objects .............................................................................. 102 3.5 Defining Displays ................................................................................................ 102 3.5.1.1 Display Tab ............................................................................................... 103 3.5.1.2 Applications Tab ....................................................................................... 105 3.5.1.3 Viewport Tab............................................................................................. 106 3.5.1.4 Menus Tab................................................................................................ 107 3.5.1.5 Background Tab........................................................................................ 108 3.5.1.6 Specifying Display Attachments and Permission Tests ............................ 109 3.5.1.7 Background Image Tab............................................................................. 109 3.6 Defining Layers ................................................................................................... 111 3.6.1 Simple Layer Construction Tasks .................................................................. 112 3.6.2 Defining Simple Layers .................................................................................. 112 3.6.2.1 The Simple Layer Tab............................................................................... 113 3.6.2.2 Attaching Elements on Simple Layers ...................................................... 115 3.6.2.3 The Attachments and Permission Test Tabs ............................................ 115 3.6.2.4 Primitives on a Simple Layer .................................................................... 115 3.6.2.5 Placing Elements on Simple Layers.......................................................... 115 3.6.2.5.1 Adding ActiveX Controls ...................................................................... 115 3.6.2.6 Moving Selected Objects Between Simple Layers.................................... 116 3.6.2.7 Defining a Placeholder.............................................................................. 116 3.6.2.8 Replace Dialog Box .................................................................................. 116 3.6.2.9 Placement Forms for Simple Layer Objects.............................................. 117 3.6.2.10 Move to Layer Dialog Box....................................................................... 117 3.6.2.11 Defining Simple Layer Database Linkages ............................................. 118 3.6.3 Tabular Layer Construction Tasks ................................................................. 118 3.6.4 Defining Tabular Layers ................................................................................. 119 3.6.4.1 Tabular Definition Tab............................................................................... 119 3.6.4.2 Repeat Tab ............................................................................................... 121 3.6.4.3 Hierarchical Tab........................................................................................ 123 3.6.4.4 Link List Tab ............................................................................................. 125 3.6.4.5 Multi-Dimensional Tab .............................................................................. 128 3.6.4.6 Indexed Tab .............................................................................................. 130 3.6.5 Add Picgroup Dialog Box ............................................................................... 134
vii
3.6.5.1 Placing Constant Picgroups ...................................................................... 135 3.6.5.2 Placing Data-Oriented Picgroups.............................................................. 135 3.6.5.3 Specifying Picgroup Layout ...................................................................... 136 3.6.5.4 Simulating Tabular Layer Database Linkages........................................... 136 3.6.6 Tabular Simulation Form................................................................................ 137 3.6.6.1 Specifying Layer Attachments and Permission Tests ............................... 139 3.6.7 Tabular Layout Form...................................................................................... 139 3.6.8 Layers Tab ..................................................................................................... 140 3.6.9 Specifying the Active Layer............................................................................ 142
viii
4.1.21 Hiding or Showing Popups........................................................................... 154 4.1.22 Grouping and Ungrouping Objects in the Scratch Pad................................. 154 4.1.22.1 Grouping Objects .................................................................................... 154 4.1.22.2 Ungrouping Objects ................................................................................ 154 4.1.23 Moving an Object ......................................................................................... 154 4.1.23.1 Moving Directly ....................................................................................... 155 4.1.23.2 Moving an Object Incrementally.............................................................. 155 4.1.23.3 Moving Using a Properties Form............................................................. 155 4.1.24 Moving to the Front or Back ......................................................................... 155 4.1.24.1 Moving to the Back ................................................................................. 156 4.1.24.2 Moving to the Front ................................................................................. 156 4.1.24.3 Moving an Object One Level................................................................... 156 4.1.25 Removing an Object from the Scratch Pad .................................................. 156 4.1.26 Aligning an Object to the Grid ...................................................................... 157 4.1.27 Aligning Objects on Edges and Centers....................................................... 157 4.1.27.1 Aligning Objects Horizontally .................................................................. 157 4.1.27.2 Aligning Objects Vertically ...................................................................... 157 4.1.27.3 Centering Objects ................................................................................... 158 4.1.28 Changing the Graphic Attributes of a Primitive ............................................ 158 4.1.29 Undoing Edit Actions.................................................................................... 158 4.1.30 Redoing Edit Actions.................................................................................... 159 4.2 Defining Permission Area Tests .......................................................................... 159 4.2.1 Defining a Picture Permission Area Test........................................................ 159 4.2.2 Defining a Layer Permission Area Test.......................................................... 160 4.2.3 Defining a Display Permission Area Test ....................................................... 160
ix
5.10.1 The Edit Keyset Tab..................................................................................... 184 5.10.2 Keyset Definition Tab ................................................................................... 185 5.10.3 Defining Keysets Using Third-Party Scripting .............................................. 185
xi
Figures
Figure 1: Scale Factor Definition Page............................................................................ 6 Figure 2: Display Builder Definition Manager ................................................................ 22 Figure 3: Definition Manager with Element Set Window Open...................................... 23 Figure 4: Definition Manager with Display Set Window Open ....................................... 24 Figure 5: Definition Manager with Browser Window Open ............................................ 25 Figure 6: Definition Manager with Sample Scratch Pad ................................................ 32 Figure 7: Name Conflict Error Message ........................................................................ 72 Figure 8: Name Conflict Dialog Box .............................................................................. 73 Figure 9: Scratch Pad with Arc Selected and Handles Visible ...................................... 84 Figure 10: Picture Tab................................................................................................... 89 Figure 11: Formatted Field Definition Tab ..................................................................... 92 Figure 12: Popup Picture Properties Form .................................................................... 98 Figure 13: Picgroup Tab.............................................................................................. 100 Figure 14: Display Tab ................................................................................................ 104 Figure 15: Applications Tab......................................................................................... 105 Figure 16: Viewport Tab .............................................................................................. 106 Figure 17: Menus Tab ................................................................................................. 107 Figure 18: Background Tab......................................................................................... 109 Figure 19: Background Image Tab .............................................................................. 110 Figure 20: Simple Layer Tab ....................................................................................... 113
Proprietary See Copyright Page
xii
Figure 21: Replace Dialog Box.................................................................................... 117 Figure 22: Move to Layer Dialog Box .......................................................................... 117 Figure 23: Tabular Definition Tab ................................................................................ 120 Figure 24: Repeat Tab ................................................................................................ 122 Figure 25: Hierarchical Tab ......................................................................................... 124 Figure 26: Link List Tab............................................................................................... 126 Figure 27: Multi-Dimensional Tab................................................................................ 128 Figure 28: Indexed Tab ............................................................................................... 131 Figure 29: Add Picgroup Dialog Box ........................................................................... 134 Figure 30: Tabular Simulation Form ............................................................................ 138 Figure 31: Tabular Layout Form .................................................................................. 139 Figure 32: Layers Tab ................................................................................................. 141 Figure 33: CAM Editor Dialog Box............................................................................... 162 Figure 34: GEM Editor................................................................................................. 167 Figure 35: Conditional Text Editor ............................................................................... 169 Figure 36: Menu Editor................................................................................................ 180 Figure 37: Definition Tab of the Menu Editor Dialog Box............................................. 182 Figure 38: Edit Keyset Tab.......................................................................................... 183 Figure 39: Keyset Definition Tab ................................................................................. 185 Figure 40: Keyset Definition Tab Enabled for Third-Party Scripting Configuration ...... 186 Figure 41: Change Reference Dialog Box................................................................... 188 Figure 42: File Transfer Form...................................................................................... 192 Figure 43: Add Placement Dialog Box......................................................................... 194 Figure 44: Add Attachment Dialog Box ....................................................................... 195 Figure 45: Options Tab of the Options Form ............................................................... 196 Figure 46: Customize Colors Tab................................................................................ 198 Figure 47: Font Mapping Tab ...................................................................................... 200 Figure 48: Scratch Pad Options Dialog Box ................................................................ 201 Figure 49: Attachments Tab ........................................................................................ 203 Figure 50: Permission Test Tab .................................................................................. 204 Figure 51: Placements Tab ......................................................................................... 205 Figure 52: Define Link Tab .......................................................................................... 206 Figure 53: Lock Tab .................................................................................................... 207 Figure 54: Scale Tab ................................................................................................... 208 Figure 55: Declutter Tab.............................................................................................. 209 Figure 56: Colors Tab.................................................................................................. 210 Figure 57: Lines and Fills Tab ..................................................................................... 211 Figure 58: Fonts Tab ................................................................................................... 213 Figure 59: TrueType Fonts Tab................................................................................... 214 Figure 60: Standard Windows Fonts Dialog Box ......................................................... 215 Figure 61: Multi-Dimensional Tab................................................................................ 217 Figure 62: Definition Tab of the Formatted Field Properties Form .............................. 224 Figure 63: How Bounding Rectangles Are Defined ..................................................... 235 Figure 64: Overlap of Bounding Rectangles on a Display ........................................... 236 Figure 65: Position and Expansion of Text.................................................................. 238 Figure 66: e-terrabrowser Server Display Processing ................................................. 247
xiii
Tables
Table 1: Clipping and Locked Regions.......................................................................... 45 Table 2: Version FG 2.6.1 Features .............................................................................. 50 Table 3: Version FG 3.0 Features ................................................................................. 51 Table 4: Version FG 3.0.2 Features .............................................................................. 52 Table 5: Version FG 5.0 Features ................................................................................. 53 Table 6: Version FG 5.1 Features ................................................................................. 54 Table 7: Version FG 5.2 Features ................................................................................. 55 Table 8: Version FG 5.2.1 Features .............................................................................. 57 Table 9: Version e-terrabrowser 2.1 .............................................................................. 58 Table 10: Version e-terrabrowser 3.0 Features............................................................. 59 Table 11: Version e-terrabrowser 3.1.2 Features.......................................................... 60 Table 12: Version e-terrabrowser 3.2.1 Features.......................................................... 62 Table 13: Version e-terrabrowser 3.3.0 Features.......................................................... 63 Table 14: Version e-terrabrowser 3.4.0 Features.......................................................... 64 Table 15: Version e-terrabrowser 3.5.0 Features.......................................................... 66 Table 16: Primitive Editing and Resizing Rules ............................................................. 86 Table 17: Standard Display Formats ........................................................................... 225 Table 18: Character Field Display Examples .............................................................. 227 Table 19: Integer and Real Data Type Display Formats.............................................. 227 Table 20: Integer Field Display Examples (I*2) ........................................................... 228 Table 21: Real Field Display Examples (R*4).............................................................. 228 Table 22: Integer and Real Fields with Text Pairs ....................................................... 229 Table 23: Boolean and Logical Field Text Pair Definitions .......................................... 229 Table 24: Allowed Date and Time Field Display Formats............................................ 230 Table 25: Time and Date Field Display Examples....................................................... 232 Table 26: Average-Size Characters of Fonts .............................................................. 237
xiv
xv
For more information about e-terrahabitat, refer to the following: e-terrahabitat Software Installation and Maintenance Guide Basic information about and instructions for the installation and maintenance of e-terrahabitat. Hdb Users Guide Basic information about and instructions for developing databases in e-terrahabitat. Introduction to e-terrahabitat Programming Basic information about and instructions for developing applications in e-terrahabitat.
For more information about e-terrabrowser, refer to the following: e-terrabrowser Users Guide An introduction to the concepts and features of e-terrabrowser, and instructions for accessing and using e-terrabrowser displays. e-terrabrowser Reference Manual Supporting information about e-terrabrowser commands, utilities, proxy strings, and terms.
For specific information about migrating Rapport-FG displays to an e-terrabrowser system: e-terrabrowser User Interface Migration Guide Comparisons of Rapport-FG and e-terrabrowser, a summary of differences and new features, and strategies for trouble-free migration.
xvi
Conventions
The following conventions are used throughout this document. Commands that are particular to an operating system are shown with the corresponding prompt symbol. Operating System UNIX Prompt % Command Prompts Description All commands preceded by a percent sign prompt (%) are issued from a UNIX terminal window. Note that all UNIX commands are case-sensitive. All commands preceded by a greater than sign prompt (>) are issued from the Windows command-line window. The absence of any prompt character before a command indicates that the command is valid on all operating systems.
Windows
>
Delimiter Italics
Text in italics indicates information you must supply. (*) UNIX [] Text enclosed in square brackets "[ ]" indicates optional qualifiers, arguments, or data. (*) All Operating Select When used in command strings, the term Select Systems means placing the pointer over the specified item and pressing the left (default) mouse button. (*) Note: All UNIX commands are case-sensitive and must be typed exactly as shown.
xvii
Change Summary
The following changes were made to this document for this release: Updates to the Defining Popups section for popup pictures at a display level. Added the Substring Testing in CAMs and CT section. Added information about support for indirect links for scale factors. Added information about the TrueType Fonts tab.
xviii
1. Overview
This chapter provides an overview of the concepts associated with display building, and the concepts and graphical features of Display Builder.
An entire display can be set to appear at a given zoom factor by defining a default zoom factor. The declutter feature allows objects to be removed from (decluttered) or added to the display at specified zoom factors. An object is defined to declutter by providing a low and a high declutter zoom factor. The object will appear when the zoom factor of the display is greater than or equal to the low declutter zoom factor and less than or equal to the high declutter zoom factor.
The following attributes, which affect the characteristics of the viewport into which the display is called, can be defined for each display. Default settings are shown in parentheses. The minimum and maximum viewport size (no minimum or maximum). This attribute sets whether the viewports size can be decreased or increased beyond specified limits. 2
Overview Display Builder Users Guide
Whether the viewport can be occluded (can be occluded). This controls whether or not other viewports are allowed in front of the viewport associated with the display. Whether the standard menu bar menus are used (use the standard menu bar menus). This sets whether the default menu bar menus will appear in the main menu bar. Whether other menus are added to the standard menu bar menus (no other menus). This allows other menus to be added to or replace the standard menu bar menus. Whether the display is locked in the viewport (not locked in the viewport). This determines if another display can replace this display once it is called to the viewport. Whether the viewport has a command window (no command window). This sets whether a viewport command window is created when this display is called to the viewport. Whether the viewport has horizontal or vertical scroll bars (no scroll bars). This sets whether scroll bars on the viewport are created when this display is called. Which screen of a multi-headed console the viewport is to be created on when the client is already running (viewports are created on the screen with input focus). The Screen Option menu, from which you select the desired screen, appears on the Station Viewport Control dialog box only when the client is running on a multiheaded console.
When a display is called up, its defined settings will always override those defined for the viewport. As an example, assume a display has been defined to have no scroll bars, and the active viewport has them. When the display is called to the viewport, the scroll bars will disappear. You can later add scroll bars to the viewport; however, these scroll bars will remain only until the next call-up of the current display or another display defined with no scroll bars.
1.1.3.1 Drawn and Typed Graphical Elements Graphical elements that are drawn or typed in scratch pads1 are called primitives. They provide Display Builder with a means of creating easily recognizable patterns that will assist the displays user in interpreting display information and performing operations. Primitives are applied directly to a scratch pad, such as the Symbol Editor scratch pad. 1.1.3.2 Graphic Attributes of Primitives and Text The graphic attributes of primitives, formatted fields, and text are established by the default Graphic Attribute Bundle (GAB) when these objects are created, and they can be changed by attaching shared GABs. Note: The user should specify the final graphic attributes of all primitives by attaching shared GABs. Failing to apply a shared GAB to a primitive creates a Private GAB by default. Private GABs should be used only to temporarily set attributes in the scratch pad. Shared GABs are graphical devices that contain settings of frequently used graphic attributes. Shared GABs are used to uniformly apply a set of graphic attributes to primitives and elements. They provide a means of ensuring that similar objects always appear the same. Once defined, a shared GAB can be applied to any drawn primitive using drag-and-drop techniques. A specified shared GAB is also part of a conditional text definition. See Defining GABsfor details about defining Graphic Attribute Blocks/Bundles. See the section Attachments Tab for details about how a shared GAB can be attached to an element. 1.1.3.3 Symbols Symbols are collections of primitives, excluding text, that are used to represent common objects on displays. By defining a symbol once, it can be placed as often as needed on other elements, displays, or picgroups. See Defining Symbols for instructions on how to define symbols in the Symbol Editor. 1.1.3.4 Scale Factors Scale factors are graphical objects that can be attached to primitives and symbols, to make them grow or shrink in relation to a value in a database field called the scaling field.
Display Builder scratch pads are context-sensitive, grid-based work areas in which display components are built, placed, and aligned. Proprietary See Copyright Page
Scale factors are defined on the Scale Factor tab of the Primitive and Symbol placement forms. The basic concepts of defining a scale factor are: Defining the scaled object in the scratch pad to represent a value in the scaling field of one (1), or 100% growth. This means that, by default, the object will appear on the online display exactly as drawn when the scaling field value is 1. It will appear 50% of its defined size when the scaling field value is 0.5, and it will appear at 125% of its defined size when the scaling field value is 1.25. Defining proportionality values when scaling field values are not decimal representations of percentages (i.e., values such as 0.5, 1, 1.25, etc.). Proportionality values are those scaling field values that the user wants to represent 0% and 100% growth, respectively. Example: Assume the values in a scaling field range between 20 and 50, and the user wants 0% growth represented by the value 20 and 100% growth represented by the value 40. In this case, a value of 30 would scale the object to 50% of its defined size; a value of 45 would scale it to 125%. Minimum or maximum proportionality values can be specified literally, or the user can reference a field that will contain the values. Specifying the growth directions. The object can be defined to grow in any combination of dimensions. Defining minimum and maximum growth percentages that limit the growth of the object. Example: If the minimum growth percentage is set at 20% and the maximum is 125%, then the object can never shrink below 20% or grow beyond 125% of its defined size, regardless of the value in the scaling field. Indirect links for scale factors has been provided as of Display Builder 5.6. Previously, indirect links were only supported for Formatted Fields, CAMs, CT, and Shift Factors. Indirect links can be associated with the scaling field, minimum bound field, and maximum bound field. These fields are found on the Scale Factor definition page, shown in Figure 1.
Figure 1: Scale Factor Definition Page Note: This functionality is only available with Displays compiled with e-terrabrowser 3.5 compatibility. The user will be notified if an incompatibility is detected. 1.1.3.5 Shift Factors A shift factor is a non-named attachment; it modifies the location of the object to which it is attached based on the values in the database. See Defining GEMs for more information. Shift factors are defined using the GEometry Modifier (GEM) dialog editor. 1.1.3.6 Pictures Pictures are the primary elements of display building. They carry the graphical objects that make operating information, or database values, accessible to the displays user. If Display Builder has assigned interactive attributes to objects in the picture, the person viewing the display can interact with the database. Display Builder can assign the following elements to a picture: Formatted fields Represent record data with formatting. Formatted fields are placed in pictures to link to and display database field values. 6
Overview Display Builder Users Guide
The fields specified within a formatted field attribute must reside on, or be pointed to by, the pictures record type. By attaching a select and enter keyset to a formatted field, the data in the field can be edited in real time. By attaching conditional modifiers to a formatted field, additional visual information can be transmitted to the user. The graphic attributes of formatted fields are established by the default GAB when these objects are created. Symbols Provide easily recognizable objects that help make displays more usable and informative. Symbols can carry interactive mechanisms for toggling and editing database values. A symbol can be assigned a scale factor so that the symbol grows or shrinks in relation to a scaling field value. The scaling field must reside on the pictures record. Conditional text Indicates status by displaying text strings as an outcome of a test on one or more database values. Conditional text can be placed in a picture to provide a human-readable indication of state changes that are occurring in a system database.
Conditional text and symbols are defined in their own editors and are then placed in the picture. Formatted fields and scale factors are defined in the Picture Editor. Conditional Attribute Modifiers (CAMs) can be attached to objects in pictures or to the picture overall to indicate database changes. They do this by modifying an objects graphic attributes based on a test of database values. When pictures are defined, they are associated with a record type in an application database. When pictures are placed on a simple layer, they are linked to specific occurrences of their record type via a composite key. This allows specific field values of a record to be displayed. To display repeating data, Display Builder must place the picture in a picgroup and place the picgroup in a tabular layer. This allows the field values from multiple occurrences of the pictures record type to be displayed automatically in a repeating list. The picture, objects placed in the picture, and formatted fields can be defined to declutter (to appear or disappear at specified zoom factors) by specifying a low and a high declutter zoom factor. The range of allowable zoom factors is between a low of .10 (10%) and a high of 10 (1000%). Pictures can also be defined with a permission area test, in addition to the implicit application permission test. This test defines whether the picture will appear, or whether users can edit fields on the picture or execute commands from the picture, depending on tests of permission areas.
Pictures can also be defined to display information from multi-dimensional records (see Multi-Dimensional Displays for more information). Pictures can be assigned to other pictures so they have popup characteristics (see Popupsfor more information). Also see Defining Pictures for instructions on how to define pictures in the Picture Editor. 1.1.3.7 Menus Menus provide one means of issuing commands without having to type them. A menu is a list of one or more descriptive labels. Each label is associated with a command that is executed when the label is selected. A menu label is selected by positioning the pointer on the label and pressing a mouse button or key. Menus can be defined with submenus and base commands. Submenus are secondary menus that are activated by selecting a label of the parent menu. A base command is a command (or commands, or part of a command) that becomes part of all commands defined for the individual labels in the menu, including all submenu label commands. The base command can be defined to precede or follow all label commands. Defining a base command provides consistency and reduces the amount of typing needed to define a menu. There are three ways to use menus: Pulldown menus: These are attached to a display definition and appear in the main menu bar of viewports in the online display. These menus operate exactly like those found in any Windows-based application. Popup menus: These are menus that have been attached locally or as overall attachments. They appear, or pop up, when activated. Menus are activated by positioning the pointer on the object that has the menu attached and issuing the MENU command. The most common means of issuing the MENU command is through a virtual key definition in a key map (see the e-terrabrowser Users Guide for details about associating keys and mouse buttons with e-terrabrowser commands through the key map). When activated, popup menus always appear at the current pointer location. Submenus: Submenus are secondary menus that are activated by selecting a label of the parent menu.
1.1.3.8 Keysets A keyset is a collection of assignments of a command or a series of commands to a keystroke or series of keystrokes. The keyset allows you to define a display so that specific keystrokes execute specific commands whenever the pointer is positioned on the object with the keyset attached. When attached to a visible element on a display, the combination of the element and the keyset defines a pokepoint. A pokepoint is an area on the screen sensitized to a given command for a given keystroke or series of keystrokes. Commands are not directly assigned to specific keys or keystrokes in the keyset; rather the keyset assigns a command to a virtual key name. A virtual key name is an arbitrary name given to a set of physical keystrokes, and it is defined in e-terrabrowser using the key map. See the e-terrabrowser Users Guide for more information about defining virtual key names in the key map. A keyset can be defined so that the object it is attached to flashes when selected. The object the keyset is attached to turns magenta in color for a brief period while the command is executed. Keysets can be defined to allow text on the command line to be appended to the command defined in the keyset. This allows the user to add parameters or qualifiers to the commands. See Defining Keysets for details about defining keysets. 1.1.3.9 Conditional Attribute Modifiers (CAMS) CAMs provide the means for specifying how the visual attributes of primitives, elements, and picgroups would change based on the outcome of a test of database values. In a conditional attribute definition, the user specifies the specific visual attributes and test(s) that will cause the attribute to appear. A common attribute controlled by CAMs is visibility. Multiple CAMs can affect the attributes of a single element or primitive. The precedence of which CAM will override the others follows the last attached rule. The last attached rule states that the CAM that was attached last in the display definition process will override all other CAMs. Each CAM is associated with a specific record type and application database. When used in a display definition, the CAM is linked to a specific occurrence of this record type. The CAM is defined to test the field values in this specific occurrence, in a global field, or in another record type specified by one or more pointer fields (see the Hdb Users Guide in the e-terrahabitat documentation set for more information about pointers in e-terrahabitat).
Proprietary See Copyright Page
See Defining CAMsfor details about defining CAMs. 1.1.3.10 Geometry Modifiers (GEMs) A GEM is a named attachment, like a CAM or a shared GAB. It allows users to shift (reposition) elements to which it is attached. Each GEM is made up of a shift factor, along with e-terrahabitat context information (app, db, record(s)). A GEM can be attached to picture elements (this includes primitives, symbols, text, fields, and CTs) and/or to pictures as an overall attachment. That is, a GEM can be attached within a picture or via the Picture Properties form. In the hierarchical structure of a display, GEMs may be attached at two different levels, so the precedence of the attachment is very important. The following rules define how multiple GEMs and/or non-named geometrical modifier attachments are processed: Transformations are performed one after the other, from highest precedence to lowest. The precedence order is based on the attachment point. The precedence of attachment points is as follows (highest first): GEM attached to a picture definition GEM attached to a picture part Non-named shift factor attached to a picture part At most, one GEM may be attached on the picture definition level. Either one GEM or one non-named geometrical modifier may be attached to a picture part. Relative mode shift transformations are cumulative. This means that a transformation applied at a lower level of precedence acts on top of any transformations previously applied at a higher level.
1.1.3.11 Conditional Text (CT) Conditional text provides a means of defining and displaying text strings, with any combination of visual attributes, based on the outcome of a test of database values. In a conditional text definition, the user specifies the text string, specific visual attributes, and the test(s) that will cause the text to appear. Conditional text can be defined to display a default text string if no conditional test passes. This text string performs an additional function as a position holder for the conditional text in the Picture Editor scratch pad. Without a default output text defined, the conditional text will not be visible in the Picture Editor scratch pad unless it is selected.
Proprietary See Copyright Page
10
Each instance of conditional text is defined with a default shared GAB that sets the default attributes of any displayed text. The conditional tests can be defined to override any of these default attributes. The Picture Editor scratch pad is the only scratch pad in which conditional text can be placed. Each item of conditional text placed in a picture must test a field or fields in, or pointed to from, the same record type as the picture in which it is placed. See the Hdb Users Guide in the e-terrahabitat documentation set for more information about pointers in e-terrahabitat databases. See Defining Conditional Text (CT) for instructions on how to define conditional text. 1.1.3.12 Popups Popups are simply pictures that are attached to other pictures. Popups are automatically defined to open that is, pop up when the picture to which they are attached is clicked. When activated on the display, popups appear in a temporary viewport (window). Popups act like other pictures, with these special features: Popups can be defined to be either fixed (to pop up at a specific location in the parent display) or floating (to pop up at the current pointer location). Popups can be defined so that the temporary viewport is modeless, modal, or system modal. Modeless popups perform like all other viewports or windows. They can be moved, stacked, minimized, maximized, etc. Modal and system modal popups have these common features: They cannot be moved. They cannot be occluded by other viewports or windows. Modal and system modal popups differ in that modal popups allow you to interact with applications other than e-terrabrowser. System modal popups lock you out of all applications on the screen, allowing interaction only with the popup. Popups, when activated, always grab input focus. A popups temporary viewport cannot be resized. A popup is dismissed if the parent display is called down or if the parent viewport is dismissed. 11
Overview Display Builder Users Guide
See Defining Popups for more information. 1.1.3.13 Picgroups Picgroups are groupings of pictures, elements, and primitives that are defined for the purpose of displaying repeating instances of a specific record in a tabular display. Picgroups are the only components of tabular displays and their definitions to provide e-terrabrowser with instructions for how each instance of the specified records should be displayed. Picgroups are associated with a specific record in the database the primary record by selecting one picture in the picgroup as the primary picture. The record of the selected picture becomes the primary record. Note: For each instance of the driving record, only one picgroup is displayed, corresponding to a single instance of the primary pictures record. For secondary pictures those pictures that are not the primary picture e-terrabrowser needs to know which occurrence of these secondary records to display for each occurrence of the primary pictures record. This information is supplied in a field in either the primary pictures record or the driving record. The name of this field must be specified in the picgroup definition for each secondary picture. If a field name is not supplied, e-terrabrowser will paint the occurrence of the secondary record whose record number matches the primary record type. Record occurrences can be deleted, inserted, copied, and edited (the DICE actions) from a tabular display. Because each instance of a picgroup on a tabular display represents one occurrence of the primary record, these DICE attributes of the primary record are definable in the picgroup. Objects placed or drawn in the picgroup can be defined to remain in the viewport as the user scrolls down or to the right. These objects are referred to as being Locked in Y or Locked in X, respectively. Those objects Locked in Y must be placed or drawn at the top of the picgroup. Those objects Locked in X must be drawn or placed along the left side of the picgroup. 1.1.3.14 Placeable and Attachable Elements Elements are display components that can be combined together to form other elements, picgroups, or displays. There are many types of elements. Each type is defined in its own editor. Elements can be categorized into two groups: (1) those that can be placed in and (2) those that can be attached to other elements, picgroups, or displays.
12
Placeable elements are so named because, once they have been created, they can be placed on a scratch pad. Display Builder activates the Add Placement and Draw-Add Placement commands for the user, depending on the context of the editing window. Conditional text, symbols, pictures, and picgroups are examples of placeable elements. Attachable elements are so named because, once they have been created, they can be attached to objects in a display definition, thus becoming one of the objects properties. Attaching a popup menu to a button symbol in a picture is an example of an attachable element. Shared GABs, CAMs, keysets, pictures, and menus are examples of elements that can be attached in scratch pad editors. Attachable elements can be attached at two levels of influence: to objects placed on a scratch pad (local attachment), and to display component definitions such as picture definitions, picgroup definitions, and display and layer definitions (overall attachment). Local attachments influence objects only in the setting where the objects are placed. Display Builder does not permanently change the properties of the elements that make up the object or the object itself. Overall attachments affect the element permanently. Because overall attachments are added to an elements definition, the element carries the attachment with it as a permanent property. Placing an element is the task of selecting a defined element and positioning it in a scratch pad. As an example, a picture can be created in its own editor, selected from a list, and placed on a simple layer scratch pad. See Placing Elements in Pictures for details about how elements are placed on scratch pads. 1.1.3.15 ActiveX Controls An ActiveX control is a re-usable software component that supports a set of industry-standard interfaces for integration with other components. Anybody who has used Microsoft Visual Basic has used ActiveX controls to build the user interface for their application. e-terrabrowser now provides similar functionality. You can place any ActiveX control on a simple layer, and you can write JavaScript or VBScript to handle its events and update its properties. These controls enable customers to build displays that have capabilities well beyond those provided by built-in e-terrabrowser features. Note: Currently, this feature is only supported on simple layers.
Proprietary See Copyright Page
13
CAM Attachment: Use the Add button to link the control instance to a CAM that is defined to use third-party scripts to drive the control.
Information about details for specifying simple layers can be found in Defining Simple Layers. 1.1.4.2 Database Linkages Database linkages must be defined for the pictures and CAMs in the simple layer. These linkages are specified as text strings (as opposed to record subscripts) that identify the record type and an identifier that will be found in the record types key field. A key field is a character field suitable for storing a name. A linkage guides the e-terrabrowser server to a records location in a database based on the records key field. In this way, the linkage associates the picture or CAM using it with a specific record occurrence. Database linkages are often specified with composite record keys, which guide the e-terrabrowser server through a sequence of key fields until the destination key field and record are found. See the e-terrahabitat documentation set for more information about composite record keys and key fields. Database linkages are defined using the attached Element Definition form. See Data Linkage to Linked List Structures for details about linkage definitions. 1.1.4.3 Tabular Layers Tabular layers can automatically display a list of any or all occurrences of specified records in an application database, in any desired order. The tabular layer definition provides the information needed by e-terrabrowser to automatically link pictures to the desired record occurrences and then display them in the proper order. This allows the actual list of displayed occurrences to reflect the current values in the database. The linkage to current database occurrences is done automatically at display call-up, as e-terrabrowser processes the displays driving record. The driving record is processed to determine the order and occurrence of the records to display. In most cases, the driving record is the record list of the application database being displayed. However, the driving record can be any record structure that can supply e-terrabrowser with the information it needs. This information is called the driving data and it is specified in the tabular display definition (there is driving data for each layer). Driving data includes: Which records from which database(s) should be displayed, and in what order. Which occurrences of these records should be displayed. 15
Overview Display Builder Users Guide
Which specific data in these records should be displayed or represented, and how. How the repeating instances of the data for each record should be spaced, grouped (blocked), and oriented to one another and other records.
Tabular displays are defined by first defining the picgroups to be used on the display, and then defining the display itself with a tabular layer. Picgroups can be selected and placed to perform in two different ways: As a constant picgroup: This type of picgroup appears constantly in the viewport of the online display. It is primarily used to display titles and column and row headers. Only one constant picgroup may be placed per tabular layer. As a repeating picgroup: This type of picgroup is painted repeatedly on the online display. One occurrence of the picgroup is painted, corresponding to one occurrence of the primary record, for each occurrence of the driving record.
1.1.4.4 Features of Tabular Layers Tabular layers are defined to automatically display a list of any or all occurrences of specified record types, in any defined order. Linkage to all current occurrences of the specified record types is done automatically at display call-up, causing the actual display appearance to vary as the database values vary. To accomplish this, the display is constructed by assigning a specific database to a tabular layer and assigning picgroups to that layer. Picgroups consist of pictures associated with a specific record type in a database. The picture database and tabular layer database must match for linkage to occur. A typical tabular layer consists of a hierarchical presentation of the substations, devices, and their associated values for a Supervisory Control and Data Acquisition (SCADA) system. When a tabular layer is called up, e-terrabrowser automatically displays record type occurrences based on the picgroups placed there. The sequence and occurrence of the picgroups are determined by the database hierarchy, the record list, and the layer definition. Tabular layers have the following unique features and definable attributes: Constructed solely of picgroups. Ability to automatically list all occurrences of a given record type in a database. 16
Overview Display Builder Users Guide
Ability to automatically list all occurrences of all (or some subset of all) record types in a given hierarchy of a database. Ability to create a custom list of record occurrences, in any order, in any grouping. Ability to automatically display a multi-dimensional array. Ability to divide the display into tabs, and to position within the display page by page or by specifying the exact page number. Ability to create column and row headers that will appear on every page of the display as the user scrolls up or down or right or left. Ability to specify the distance between, the grouping of, and the direction of repeat of the picgroups.
Note: Tabular layers do not have the simple layer capabilities of declutter and placeholders. In addition, the following tabular layer attributes can be defined: The page size, which can be defined by specifying either of the following: Picgroups as page headers or page enders. This indicates that a display page is begun with the primary record of a page header picgroup and is ended with the primary record of a page ender picgroup. A number of picgroup primary records per page. Pages are a set number of primary record types long, counting all picgroup primary records that have been displayed. For multi-dimensional picgroups, the primary record type is the record that repeats with the picgroup, not within the picgroup. Only one of these methods can be used per display or display layer. Which picgroups will be locked in the viewport. Picgroups can be locked in the viewport in either the X (horizontal) or Y (vertical) dimension. These picgroups remain in the viewport as it is scrolled right (Locked in X) or down (Locked in Y), and they will appear on each page of the display. Which layers are held constant. All repeating placements on a layer can be made to appear on each page of the display, whenever that layer is visible. However, these placements will not be locked in X and Y, so as the user scrolls, the user will see other instances of the picgroups. 17
Overview Display Builder Users Guide
For example, the user can use current database values to create row and column headers. This is done by placing two repeating picgroups on a layer, specifying one to repeat right (column header) and the other down (row header), and then holding the layer constant. The user then defines another layer to display the actual data in each row and column. Note: For a given display, all objects locked in the viewport (placements in picgroups and the picgroups themselves), combined with all layers held constant, must adhere to the inverted L rule of placement locking. Which picgroups display free records. Free records can be inserted anywhere in an e-terrahabitat database. For example, text records are often defined as free records so that they can accompany many other records (see the e-terrahabitat documentation set for more information about free records). Any overall attachments to the display. Keysets are the only element that can be attached as an overall attachment to displays.
1.1.4.5 Picgroup Spatial Relationships The user can define the spatial relationships between the repeating instances of picgroups in the online display. Three aspects define how repeating picgroups appear, with respect to the previous picgroup, in the online display. These aspects (defaults in parentheses) are: The physical space, in X,Y coordinates, between the picgroups, called picgroup spacing. (All spacing is set at 0,0. There is no space between individual picgroups, blocks of picgroups, or picgroups in a block.) How instances of the same picgroup are grouped together as they repeat, called blocking. (The block count is 1. Each copy of a picgroup in the scratch pad represents a block that contains one (1) picgroup.) The direction that a picgroup appears in relation to the previous picgroup (either below, to the right of, or both), called the picgroup repeat direction or orientation. (The direction of repeat is down. Repeating instances of different picgroups and blocks of picgroups appear directly below the previous one. When block counts are increased, the default repeat direction of the picgroups within a block is also down.)
The above three spatial relationships exist between: Instances of different picgroups. 18
Overview Display Builder Users Guide
Instances of different blocks of the same picgroup. Instances of the same picgroup within a block of picgroups.
1.1.4.6 Driving Data Structures Tabular layers are built with a specific data structure in mind. The user specifies the tabular display data structure so the e-terrabrowser server can find and deliver the data and its associated display components to the client upon request. Tabular layers are classified by the type of data structure that drives them. The structure options are as follows: Repeat Placement: Find every instance of a single record type. This requires one picgroup. Hierarchical Placement: Find every instance of several record types in a tree structure. This structure requires one picgroup for each record type in the hierarchy. Linked List Placement: Find a linked list structure and follow the pointers to the specified record instances (filtered data). This structure requires a picgroup for the record type being filtered. Indexed Placement: Find every instance of several record types in an index data structure maintained by the e-terrabrowser data server. The structure requires one picgroup for record type in the index. Note: If the linked list filters more than one record type, the filtered data can also be grouped by name (picgroup name). In this case, a picgroup sequencing data structure may also be involved. Multi-Dimensional Placement: Find a 2- or 3-dimensional array and detect the orientation of the data on the X, Y, and possibly Z axes. This structure requires one picgroup for each record type in the array.
A tabular layer can be defined as circular, which causes e-terrabrowser to process through all occurrences of the driving record, regardless of the starting point. Circular displays can be processed in ascending or descending order of the driving record subscript value. 1.1.4.7 Data Linkage to Linked List Structures Special linked list driving record structures and linked list software allow sequencing of display data. Fields in linked list record structures supply the needed processing information to the e-terrabrowser server. The parameters supplied by these fields are as follows: Sequence: A sequence field specifies which picgroup to paint for each occurrence of the linked list driving record. When the sequence field is 19
Overview Display Builder Users Guide
a character field, it must contain the name of the picgroup to paint. If the sequence field is an integer field, an index or record slot number can be supplied. See the e-terrahabitat documentation for more information about defining driving structures. Occurrence: An occurrence field specifies which occurrence of primary record type to display for each occurrence of the linked list driving record. Forward/Backward Link: A link field specifies the next occurrence of the linked list driving record. In the case where only one picgroup will be displayed, the link field controls the sequence and occurrence of the primary record. Picgroup List: If a picgroup sequence is specified, the name of the record containing the picgroup names must be specified.
20
When more than one permission area test is defined: Both the implicit application test AND all of the defined permission area tests must pass. Either the application test OR any of the defined permission area tests can pass.
See the e-terrahabitat Software Installation and Maintenance Guide for more information about and instructions for defining permissions and permission areas.
See Figure 2 for an illustration of the Definition Manager with display and element sets open in it.
The Definition Manager work area is the area of the Definition Manager window in which the Display Builder set windows and component editors open. Proprietary See Copyright Page
21
Figure 2: Display Builder Definition Manager The Definition Manager can be moved, minimized, and resized. Details about the components of the Definition Manager can be found in the following sections. 1.2.1.1 Element Set Window Element sets appear on the Display Builder work area in their own windows, displaying the opened element set name in their title bars. Selecting a tab opens the list box for the selected element type: pictures, symbols, shared GABs, CAMs, conditional text, keysets, menus, and GEMs. The elements of the type selected appear with their graphical identifier and assigned name. Double-clicking an element opens the elements editor. The Element Set window (Figure 3) also contains a filter text box in which the user can enter a search string to locate an element or subset of elements. Right-clicking over the Element Set window element list activates the windows popup menu. Right-clicking on any element in the list activates the popup menu for that element.
22
23
Figure 4: Definition Manager with Display Set Window Open 1.2.2.1 Editor Windows When an object is double-clicked in a display set list box, the selected objects editor starts and opens its window in the Display Builder work area. The editor window title bar displays the set name and selected object name. Right-clicking over an editor window activates an editor-specific Save Data/Close Editor and Options popup menu. Other options, such as Properties and Placement, appear in the menu depending on the context and content of the scratch pad. 1.2.2.2 Browser Window By default, the browser window appears at the left side of the Definition Manager window when Display Builder is opened. The window can be closed and re-opened by selecting View > Browser Window or by pressing Alt+1. The browser window can be resized by positioning the cursor over the right border until a double-headed arrow appears, then dragging the border.
24
The browser window presents a schematic view of the selected object definition, complete with icons and names of the components of the definition. The user can unbundle and review the definition hierarchy by opening the schematic using the level indicators of the browsing tool. The browsing tool will take the user to the lowest depth of the schema, which is an attached element such as a shared GAB. Note: Using the browser window, the user can discover all aspects of a display definition without having to trace for attachments or placements in associated editors. This can greatly facilitate display maintenance and troubleshooting.
The Definition Manager menus that appear in the three display building contexts are as follows: The File, View, and Help menus appear when Definition Manager has appeared, but the work area is empty. Their usage is described below: The File menu is used to create new Display Builder sets, open existing ones, start the File Transfer Protocol (FTP) utility, and define Print options. Note: The Definition Manager File menu has two forms of support for e-terrabrowser users. When the Definition Manager is idle (no sets are in the work area), a Batch Compile option appears in the menu for binary compilation of displays using the Batch Compile dialog box. If the user has a display set (dset) open in the work area and the dset has input focus, the File menu provides the Save As Binary option for compiling only the displays in that set. If the user has a display open in the Display Editor, the Save As Binary function provides an application selection window and supports the compilation with a tool bar button labeled Save Binary. The View menu is used to assign tool bars, the status bar, and the browser window, and to set global display building options. The Help menu provides information about the Display Builder version and general help about windows. The Edit, New, and Window menus join the File, View, and Help menus when one or more Display Builder sets have been opened. Their usage is described below: The Edit menu provides standard Cut, Copy, and Paste editing and Select All selection. If the set window with input focus contains a display set, this menu allows the user to re-set the element assignment (to the display set) with the Change References command. The New menu is used to create new display components. The option in this menu varies according to the Display Builder set that has input focus. For example, the Display and Picgroup options are the options available when a display set has focus. The Window menu provides standard options for window management.
26
The Draw and editor-specific menus join the File, View, Help, Edit, New, and Window menus when an editor has been opened. Their usage is described below: The Draw menu is an attribute of the scratch pad editors; it is used to select drawing tools, and to add placements and attachments. The Draw menu is also used to manipulate selected objects. The editor-specific menu is an attribute of a specific scratch pad editor. For example, the Picture menu label appears here when the Picture Editor is open. The editor-specific menu provides access to the Element Definition form, the Browser utility, and the Scratch Pad Options form.
The Print option is activated on the File menu if a scratch pad editor has input focus. This option captures the image on the scratch pad and sends it to the default printer.
27
Layers: The active layer dropdown list box and the layer (properties), tabular simulation data, and tabular layout icons appear here.
Note: The icons on a tool bar are activated and deactivated dynamically according to the context of the activated editor. For example, the Placeholder push button is only active when the Display Editor is active and its active layer is a simple layer. The Definition Manager tool bars can be activated and deactivated by selecting View from the main menu and choosing the desired tool bar, or by using the appropriate shortcut key: View Alt+2 Draw Alt+3 Arrange Alt+4 Scratch Pad Alt+5 Default GAB Alt+6 Layer Alt+7
Each tool bar can be relocated and docked within the Definition Manager using drag-and-drop techniques.
the work area pointer is something other than the default, the pointer changes to a large arrow. When the drag-and-drop operation is a copy operation (CTRL-key assisted), a plus + accompanies the pointer. When the pointer is used to attach elements, an equal sign = accompanies the pointer. Diamond, 4-arrow pointer: The work area pointer changes to this pointer of black arrows whenever it is positioned over an object in the scratch pad. Clicking the located object with this pointer will select the object. Double-clicking the object will call up its Placement Properties form.
Note: If the Show DB Linkage Tips option is active on the Display menu and the located object has a database linkage defined, the linkage information will pop up over the object. Square, 4-arrow pointer: The work area pointer changes to this pointer of black arrows whenever a primitive is selected and the end point under the pointer is determined to be extensible. When this pointer appears, the user can drag the pointer in any direction to extend the line. Vertical/horizontal arrowhead pointers: The work area pointer changes to one of these double-ended arrow pointers to indicate that the side of a quadrilateral can be moved up or down.
29
1.2.6.3 How Element and Display Sets Relate Elements can be re-used in many displays and picgroups. Displays can contain elements from several element sets. However, an element can only be composed of elements from the same set in which it is defined. Correspondingly, a tabular layer can only be composed of picgroups from the same set in which the display is defined. When an element or picgroup is modified, all affected display definitions are automatically updated to capture the change. 1.2.6.4 Display Builder Set Storage Element and display sets are stored in Display Definition Language (DDL). DDL files contain the ASCII definitions of the elements, displays, and picgroups defined in each set. Display Builder assigns filenames to sets according to the following convention: setname_xSET.DDL where setname is the user-specified name given to the set in Display Builder and x is either e for an element set or d for a display set. The default location for these files is a DDL directory on the development machine hard drive. 1.2.6.5 Display Definition Language (DDL) Element and display definitions are composed of ASCII text strings written in Display Definition Language (DDL). Each element and display definition consists of one or more text strings called statements. Each statement is defined according to a set of syntax rules. Statements are composed of reserved keywords, other statements, and delimiters (such as parentheses). 1.2.6.6 Display Builder Set Access Display Builder set files can be accessed through Display Builder or by using a basic text editor. Sets are accessed in Display Builder through the File menu of the Definition Manager. When accessed through a text editor, the user can create and modify elements and displays by defining proper DDL statements. This method is not recommended; it can easily lead to parser errors.
30
31
Figure 6: Definition Manager with Sample Scratch Pad 1.2.7.2 Dialog Editor Components Dialog editors are so called because the definitions created and modified with them are done exclusively with dialogs. Details about dialog editor components can be found in the following sections: Text boxes: Text boxes accept text entry. A text box usually has a title or label to indicate the context and type of text to enter in the box. Each text box will have a blinking insertion cursor (I) when it has input focus. Only one text box in a window can have input focus at a time. When there is more than one text box in a dialog box or form, you can move between the boxes and give input focus to each in succession by either: Clicking in the desired text box. Pressing Tab The Tab key gives each successive text box input focus, starting with the text box that currently has input focus, and proceeding to the lower right and then returning to the upper left, etc. Pressing Shift+Tab Using this key combination gives each successive text box input focus in reverse order of pressing the Tab key.
32
Push buttons: Push buttons are used to control the dialog box and to issue commands. To use a push button, simply click on it. The action indicated by the button then takes place. Usually, only one command button on a dialog box is active, or highlighted. The action associated with the highlighted button is the action that occurs when the Return key is pressed. This allows you to take this action directly from the keyboard during extensive text entry. OK push button: Clicking OK causes the following to occur: The attributes specified in the box are applied to the definition. The dialog box is closed.
Clicking OK means Apply and save this dialog box to the definition and close the dialog box. Apply push button: Clicking Apply causes the following to occur: The attributes specified in the box are applied to the definition. The dialog box remains open. This allows you to preview the results of the definition and make changes before closing the dialog box.
Clicking Apply means Apply and save this dialog box to the definition, but dont close it. Cancel push button: Clicking Cancel causes the following to occur: The attributes defined or modified in the box since the last OK or Apply are not applied to the definition. The dialog box is closed.
Clicking Cancel means Do not apply or save the dialog box definition, and close the dialog box. Update push button: Clicking Update causes items in definition list boxes to be updated with information supplied by Display Builder. An example of an update action is the revision of a menu label. Add and Delete push buttons: Add and Delete are used to modify the contents of list boxes by adding or removing items from the list. Radio buttons: Radio buttons appear in an option group; only one radio button in an option group can be selected at a time. Clicking on a radio button sets one of a group of attributes ON while turning the others OFF. 33
Overview Display Builder Users Guide
Toggle buttons: Toggle buttons set an attribute ON or OFF. The button contains an X to indicate ON and a blank to indicate OFF. Check boxes: Check boxes are used to turn an attribute ON or OFF. When selected, a check mark will be displayed in the check box. Sliders: Sliders are used to set numerical values within a defined scale.
Note: Most sliders in Display Builder have accompanying text boxes for direct entry of the slider value. Dropdown list boxes: Dropdown list boxes provide a list of choices to define an attribute. The current attribute setting is displayed in the box. The attribute is modified by selecting an option from the list. Directory list boxes: Directory list boxes have the following common features: A file filter text box used to filter the list of items. A file filter parameter causes those items matching the text string to be listed in the list box when Update is clicked. Any items not matching the text string will be excluded. Example 1: Typing the character string SCADA in the filter text box causes only the item named SCADA to appear in the list box. Example 2: Typing the character string SCADA* in the file filter text box causes only those items that begin with the letters S-C-A-D-A to appear in the list. Example 3: Typing the character string *SCADA* in the file filter text box causes only the items with the letters S-C-A-D-A, in that order, anywhere in their names to appear in the list. A window where the list of items is displayed. This window has a vertical scroll bar for positioning in lists that are longer than the window. Definition list boxes: Definition list boxes are filled in by the user to specify the content of an element such as a menu that requires labels. Another example is the creation of a list of virtual key names and associated commands in a keyset definition. All definition list boxes in Display Builder have the following common features: One or more text boxes used to define the item in the list.
34
Add, Delete, and Update buttons used to add the item to the list, delete it from the list, or modify the list item. A window where the list of items is displayed. This window has a vertical scroll bar for lists with more items than can be displayed at one time. Up and Down push buttons, which are used to adjust the position of items in the list. Option menus, radio buttons, toggle buttons, or check boxes for defining the list items.
35
Permission test definitions: These serve to filter access to displayed data by screening display and picture call-ups based on user-defined database permission values (see Defining Permission Area Tests).
Display Builder features many of the interactive tools common to windowbased graphical applications, plus other graphical devices that are unique. Some of these powerful tools are: Tool bars: Related editing operations are grouped as push buttons into tool bars (see Definition Manager Tool bars). Drag-and-drop: Graphical placements and attachable elements can be selected and dropped onto scratch pads using the drag-and-drop technique. In addition, selected objects can be transferred from one scratch pad to another using drag-and-drop (see Drag-and-Drop Utility). Browser window: This is an online display construction analyzer that operates in its own window in the Definition Manager (see Browsing Object Definitions in Scratch Pads). Context-sensitive pulldown menus: The contents of the Definition Manager menu bars adjust to the editing context to provide the user with only applicable command menus. Context-sensitive popup menus: Based on the editing context, rightclicking opens the editors popup menu of commonly used commands, such as Save Data, Options, and Properties. Previewing panels: Graphical elements such as picgroups appear in previewing panels so the user can confirm their contents. Shared GAB attributes are applied to objects in a previewing panel so the user can confirm attribute effects. Previewing popups (on simple layers): When the pointer crosses a picture or primitive on a simple layer, the objects assigned composite key pops into view. This feature is set using the Show DB Linkage Tips option from the Display menu. These tips are active only at design time. Data simulation work area: For data that will be displayed in tabular format, a picgroup distribution and sequencing simulation area is provided.
1.2.8.1 Primitives Display Builder provides tools for drawing the following primitives: Lines and polylines
36
Polygons Rectangles Circles, ellipses, and arcs Graphical elements closely related in usage to primitives are static text and placeholders. These elements are applied directly to a scratch pad.
Primitives are defined by specifying a sequence of points. The extension of the primitive in the scratch pad is controlled by the pointer and mouse button actions: Clicking the left mouse button provides the scratch pad anchor point. Dragging the pointer in any direction from the anchor point sizes the primitive (see Resizing a Primitive). The shape of the primitive outline (sometimes called the rubber-band model) matches the type of primitive being drawn. Releasing the left mouse button defines: The extent of circles, rectangles, and ellipses. The bounding circle of an arc. The end of the first line segment for polylines and polygons. 1.2.8.2 Static Text Static text is text that does not change. It is defined by typing in a text box that opens on the scratch pad. 1.2.8.3 Formatted Fields Formatted fields are placed in pictures to provide linkage to data in an application database. 1.2.8.4 Placeholders A placeholder is a graphic device that provides a target for navigation within a simple layer. The user provides access to the placeholder by supplying its name as the object of a PLACEHOLDER qualifier in a DISPLAY command. This command is captured as the outcome of a menu option in a menu definition. Selection of the option causes the display to open over the placeholder.
37
1.2.8.5 Drag-and-Drop Utility The user can place and attach elements in scratch pads using drag-anddrop functionality. Pictures and symbols can be placed in Picgroup and Display scratch pads (simple layers), and object modifiers such as shared GABs, CAMs, and keysets can be attached to target objects using dragand-drop techniques. Following are the requirements for using drag-and-drop: The receiving scratch pad must be open, and the target object must be visible. The element set window in which the desired object resides must have input focus. The drag-and-drop pointer must appear over the target object. If the Not a Legal Move pointer appears, the selected placeable/attachable item will not drop when the left mouse button is released.
See Making Attachments to Placed Objects and Copying Component Definitions for more information about drag-and-drop.
38
39
4. Specify any desired work area margin in pixels. 5. Specify the zoom level of the work area (see Setting Scratch Pad Zoom). 6. Click OK to save the changes and close the dialog box. See Scratch Pad Options Form for more information. See Setting the Default Shared GAB Element Set and Setting the Default Shared GAB for details about specifying an editors default GAB.
40
version will be named according to the e-terrabrowser version that has been modified for the new features. Thus, it is important to understand that not all versions will be listed in the compatibility version combo box, only versions that required changes to the DDL syntax. 2.3.1.1 Background Display Builder is the only supported tool for building and maintaining displays. It replaced the VMS-based Display Builder in late 1996. Since existing installations use a wide variety of FG and e-terrabrowser release versions, it is important that Display Builder be able to support them all. It is also important to be able to add features to e-terrabrowser over time, without creating compatibility problems between Display Builder and the version of FG or e-terrabrowser used by a given installation. To do this, the concept of a compatibility version has been added to Display Builder. The compatibility version can be set by selecting View > Options from Display Builders menu bar.
41
2.3.2.1.2 Specify Picture/Picgroup Size The picture and picgroup size can be saved. To make it easier to line up tabular placements, such as column and row headers defined on multiple layers, users now have the option to set a fixed picture and/or picgroup size. The default is that the picture or picgroup size is calculated by the compiler/binder. Later, if a picture size is changed slightly, it could be enough to cause placements on one tabular layer to no longer align with placements on another layer. This could be done unintentionally by simply adding/removing or changing the size of a placement near the border of the picture or picgroup. Now the display designer can choose to manually set the size at design time. If this feature is used consistently, it could help to reduce the display maintenance due to incorrect alignments between layers. It could also help solve similar problems with simple placements. Set the picture size by selecting Picture Properties in the Picture Editor. In the Picture Property dialog box, change the Set Picture Size radio button from Automatic to Manual and specify the appropriate Width and Height. For more information, see Picture Tab. Set the picgroup size by selecting Picgroup Properties in the Picgroup Editor. In the Picgroup Property dialog box, change the Set Picgroup Size radio button from Automatic to Manual and specify the appropriate Width and Height. For more information, see The Picgroup Tab. Version introduced: FG 3.0. 2.3.2.1.3 Text Origin Saved in DDL Prior to FG version 5.0, all text placements saved in a DDL file had both a text origin and a placement origin. FG 5.0 and later versions of a host do not need the text origin, so it is no longer saved. This is an internal feature that cannot be controlled by the user. Version introduced: FG 5.0. 2.3.2.1.4 New Multi-Dimensional Picture Group Layout Multi-dimensional layout information is now saved correctly. Previously, multi-dimensional layout information was incorrectly saved in the picgroup definition rather than as part of the picgroup placement, which could cause problems when multi-dimensional picgroups were re-used. This is an internal feature that cannot be controlled by the user. Version introduced: FG 5.0.
42
2.3.2.1.5 Special Characters Allowed Support for single quotes has been added. Now, text strings such as 2.0 can be used in displays; previously, this would cause parser errors. This is an internal feature that cannot be controlled by the user. Version introduced: FG 3.0.2. 2.3.2.1.6 Localize String A localize token has been added to the DDL syntax. The token localize will precede every text string, to help find text strings that might need to be internationalized. This is an internal feature that cannot be controlled by the user. Version introduced: FG 3.0. 2.3.2.1.7 Menu Bar Item Application If a given menu bar item is pertinent to only one application, the applications name can be specified. When the compiled version of the display appears at the console, the menu will only appear in the menu bar of the specified application. If Application is left blank, the menu can be shared among all applications. For more information, see Menus Tab. Version introduced: FG 5.1. 2.3.2.1.8 Uppercase Formatted Fields It is now optional to uppercase formatted fields. Prior to this version, data entry performed on any formatted field was uppercased. With support for UNIX, it has become required to make sure that certain data entry values are not uppercased. This can be done on formatted fields by un-checking the Uppercase Data Entry check box in the Formatted Field Properties dialog box. For more information, see Defining Formatted Fields. Version introduced: FG 5.1. 2.3.2.1.9 Format Factor A multiplication factor has been added to the formatted field properties. The format factor applies to formatted fields of the types Real, Integer, and Exponent. The format factor will be multiplied by the given formatted fields database value before being displayed. When a data entry is performed, the entered value will be divided by the format factor before being entered into the database. The purpose of the format factor is to facilitate displays in the distribution arena. For more information, see The Formatted Field Definition Tab. Version introduced: FG 5.2.
Proprietary See Copyright Page
43
2.3.2.1.10 Third-Party Scripts Active Scripting provides a new mechanism to greatly extend what users can do to FG displays at run time. Third-party scripts are user-defined scripting functions that will be invoked as a result of user interactions with an FG display, or a change in database field values. Operations such as changing graphics colors, mobilizing display objects, altering online display definitions, exchanging messages with other processes, and launching external programs can be achieved with third-party scripts written in various scripting languages such as JScript (Microsoft JavaScript), VBScript, and PerlScript. Keysets and CAMs can be defined to execute third-party scripts. Scriptenabled CAMs can be used to interact with ActiveX controls placed on displays. See Defining Keysets Using Third-Party Scripting for details about creation of keysets using third-party scripting. See Defining CAMs Using Third-Party Scripting for details about creation of CAMs using third-party scripting. Version introduced: e-terrabrowser 2.1. 2.3.2.1.11 ActiveX Controls An ActiveX control is a re-usable software component that supports a set of industry-standard interfaces for integration with other components. Anybody who has used Microsoft Visual Basic has used ActiveX controls to build the user interface of their application. e-terrabrowser now provides similar functionality. You can place any ActiveX control on a simple layer, and you can write JavaScript or VBScript to handle its events and update its properties. These controls enable customers to build displays that have capabilities well beyond those provided by built-in e-terrabrowser features. For more information, see Adding ActiveX Controls. Version introduced: e-terrabrowser 3.0. 2.3.2.1.12 GEM Support The GEM is a named attachment, like a CAM or a shared GAB. It allows users to reposition (or shift) and scale elements to which it is attached. Each GEM comprises a scale factor and a shift factor, along with e-terrahabitatcontext information (app, db, record(s)). A GEM can be attached to picture parts (this includes primitives, symbols, text, fields, and CTs) and/or to pictures as an overall attachment. That is, it can be attached within a picture or via the Picture Properties form. For more information, see Defining GEMs.
Proprietary See Copyright Page
44
Version introduced: FG 5.2. 2.3.2.1.13 Clip to Regions Since FG started to support placements to be locked on the simple layers in a display, the scrollable placements disappeared underneath the locking regions on simple displays. Users were often confused by these disappearing placements. In order to accommodate both tabular layers and mixing simple and tabular layers in a display, a toggle button was introduced so the creation of locking regions could be turned on or off on a per-layer basis. e-terrabrowser and Display Builder share the same method to calculate the locking regions. The XYlocked region, the Xlocked region, the Ylocked region, and the Unlocked region can be overlapped. This was not allowed in Rapport-FG. Below is a table that shows how the regions are calculated in e-terrabrowser and Display Builder. Each region is given by top left point (x1, y1) and bottom right point (x2, y2). Table 1: Clipping and Locked Regions e-terrabrowser and Display Builder (0, 0), (max(XY locked placements right boundary), max(XY locked placements bottom boundary)) (min(Ylocked Placements x origin), min(Ylocked Placements y origin)), (infinity, infinity) (min(Xlocked Placements x origin), min(Xlocked Placements y origin)), (infinity, infinity) (min(Unlocked Placements x origin), min(Unlocked Placements y origin)), (infinity, infinity)
For more information, see Layers Tab. Version introduced: FG 5.2. 2.3.2.1.14 Dynamic Simple Layers This new type of layer allows placements to be generated programmatically by a special kind of OLE DB provider each time the display is called up. This feature is intended to be used by the AREVA T&D distribution automation OLE DB provider, and it should not be used without consultation with an AREVA T&D engineer. For more information, see The Simple Layer Tab. Version introduced: e-terrabrowser 3.0.
Proprietary See Copyright Page
45
2.3.2.1.15 Indexed Placement Indexed placement is tabular layers type, which uses a new mechanism for resolving the query that generates the placements on a layer. An index is a data structure supported by the e-terrabrowser data server and updated by notifications from various applications. When you use an indexed layer, you need to specify the name of the index that should provide the data for the layer, along with a parameter string that specifies sorting and filtering criteria. All indexes automatically filter by area of responsibility, so there is no need to use permission tests on these layers. Also, CAMs are not usually required, because the existence of a record in the index indicates that it meets specific conditions. For more information, see Indexed Tab. Version introduced: e-terrabrowser 3.0. 2.3.2.1.16 Placement Rotation A rotation angle property has been added to all placeable objects except for Picgroups. Both Display Builder and the e-terrabrowser client will rotate the given placement according to each rotation angle before rendering the placement. For more information, see Placement Properties Forms. Version introduced: e-terrabrowser 3.0. 2.3.2.1.17 Secondary Application on Simple Layer The Secondary Application property has been added to simple layers. This should be used to specify an application that is different from the displays primary application. This property has been introduced in order to give the display compiler an opportunity to check application context. It is strongly recommended that pictures displaying data from an application different from the primary application are moved to a layer that has the given application name specified as a secondary application. For more information, see The Simple Layer Tab. Version introduced: e-terrabrowser 5.2.1. 2.3.2.1.18 Background Image The Background Image property allows the designer to specify an image to serve as a background. A display can have a maximum of one background image at any given time, but it can change to show a different image when certain conditions are met. For more information, see Background Image. Version introduced: e-terrabrowser 3.0.
46
2.3.2.1.19 Halo Style The Halo Style is a new attribute member of a GAB. Similar to other GAB attributes, Halo Style affects how a piece of graphics is rendered. Specifically, it determines whether and how an enclosing band in background color of the GAB should be drawn around the primary graphics. Halo Style is intended to create the Highlight effect during abnormal conditions. For more information, see Lines and Fills Tab. Version introduced: e-terrabrowser 3.0. 2.3.2.1.20 Hidden Data Entry This is a new attribute that can be used with formatted fields. If a field with this attribute checked is selected for data entry, the characters typed into the edit box will not be visible and the data entry is encrypted. This attribute is typically used for fields that contain passwords. For more information, see Defining Formatted Fields. Version introduced: e-terrabrowser 3.0. 2.3.2.1.21 Conditional Permission Checks CAMs can now be used to test permissions. Four new operators have been introduced, to test the four types of permissions supported by PERMIT: permitted_read, permitted_write, permitted_execute, and permitted_audible. For more information, see Defining CAMs with Permission Checks. Version introduced: e-terrabrowser 3.0. 2.3.2.1.22 Scale to Fit Style The Display Definition dialog box provides Scale to Fit options, which will be used in e-terrabrowser to better size displays when the DISPLAY/FIT feature is enabled. The options are as follows: Fit in XY, Fit in X Only, Fit Either XY or X Based on Aspect Ratio. For more information, see Defining Displays. Version introduced: e-terrabrowser 3.0. 2.3.2.1.23 Tool Tips A tool tip is a small popup window that appears when the cursor hovers over a location. e-terrabrowser allows a tool tip to be associated with any visible object on a display. It can contain any combination of static text, proxy strings, and database fields. This allows the display to provide context-sensitive information about the object under the cursor and how it can be used. For more information, see Placement Properties Forms. Version introduced: e-terrabrowser 3.1.2.
Proprietary See Copyright Page
47
2.3.2.1.24 Enhanced Support of ActiveX Controls The support for ActiveX controls that was introduced in e-terrabrowser 3.0 has been extended. You can now place controls on pictures, which can be used on tabular displays. New proxy strings and commands provide easier access to the properties and methods of controls, without the need for a scripting language such as JavaScript (see the e-terrabrowser Reference Manual for more information about proxy strings and commands). New data-aware controls have also been added and are delivered with the e-terrabrowser client. Version introduced: e-terrabrowser 3.1.2. 2.3.2.1.25 Enhanced Support for Raster Images Earlier versions of e-terrabrowser support the use of a bitmap as background for a display. e-terrabrowser 3.1 extends this feature to allow bitmap, gif, jpeg, or icon files to be specified as background for displays, pictures, and symbols. These image files can be included in the compiled display file, or referenced as separate files. Display Builder includes a preview window that allows you to browse through images in any directory on your hard drive, so you can easily find the one you want. Version introduced: e-terrabrowser 3.1.2. 2.3.2.1.26 CAM Enhancements CAMs have been enhanced to test and set the values of proxy strings. CAMs can also define a command to be executed when a clause evaluates to TRUE. Among other things, this capability allows the ability to test and set properties of ActiveX controls based on conditional logic in CAMs. Version introduced: e-terrabrowser 3.1.2. 2.3.2.1.27 Placement Identifiers All placeable objects can be assigned a unique identifier. Version introduced: e-terrabrowser 3.1.2. 2.3.2.1.28 Multi-Layer CAMs The e-terrabrowser compiler has been enhanced to process multi-layer CAMs containing the %pgmax% proxy. Note: This enhancement did not involve a change to the DDL syntax, but it did result in a change to the binary structure of compiled displays. Displays using the %pgmax% proxies in CAMs must be re-compiled using the compatibility version 3.2.1 or higher (see the e-terrabrowser Reference Manual for more information about proxies).
Proprietary See Copyright Page
48
Version introduced: e-terrabrowser 3.2.1. 2.3.2.1.29 Windows TrueType Fonts e-terrabrowser has been enhanced to support Windows TrueType Fonts rather than the limited number of FG fonts supported in the past. This feature can be used wherever fonts can be selected. Rather than being able to select from a limited set of FG fonts, the user can select fonts from the standard Windows font dialog box. This feature also allows users to specify underscore and strikethrough effects. Version introduced: e-terrabrowser 3.3.0. 2.3.2.1.30 Multiple Data Sources e-terrabrowser has been enhanced to support multiple data sources on a single display. This feature can be used to create displays that show e-terrahabitat data alongside e-terracontrol data and/or relational data. Version introduced: e-terrabrowser 3.3.0. 2.3.2.1.31 Signed Pair Arrow Size The Formatted Field dialog box has been enhanced to allow the size of signed pair arrows to be specified independently of the font size. This feature should be used to enlarge signed pair arrows so they are easier to see on one-line displays. Version introduced: e-terrabrowser 3.3.0. 2.3.2.1.32 Limits for Inner Dimensions for Multi-Dimensional Data This feature allows for the restriction of multi-dimensional data in all dimensions. In the past, only one dimension could be restricted in the case of two- or three-dimensional data. This feature will allow all dimensions to be restricted. Version introduced: e-terrabrowser 3.3.0. 2.3.2.1.33 Layer Refresh Rate This enhancement allows display designers to specify the refresh rate on the layer level rather than on the display level. Normally, the refresh rate has been specified in the display definition, which assigned the same refresh rate to all layers. The layer level refresh rate options will allow display designers to specify different refresh rates for layers. Note: In order to disable refreshes for a given layer, specify the layer refresh rate 9999. This should be used in cases where a given layer contains only an ActiveX control.
49
Version introduced: e-terrabrowser 3.3.0. 2.3.2.2 Compatibility Version Features The following tables list all features added to Display Builder over time. The Supported column indicates whether or not a given feature is supported in this compatibility version. Yes indicates that the feature is supported. No indicates that the feature is not supported in this compatibility version. e-terrabrowser Only indicates that the feature is only supported in e-terrabrowser and not in Rapport-FG. The Introduced column lists the compatibility version in which the feature was first introduced. Version FG 2.6.1 is the initial version used for backward compatibility. The syntax generated is the same as the old VMS-based Display Builder generated. Customers who use both the old VMS-based Display Builder as well as the new Display Builder interchangeably can do so safely by setting the Display Builders compatibility version to FG 2.6.1. 2.3.2.2.1 Compatibility Version FG 2.6.1 Table 2: Version FG 2.6.1 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 ActiveX Controls e-terrabrowser 3.0 12 Gem Support FG 5.2 13 Clip To Regions FG 5.2 14 Dynamic Simple Layers e-terrabrowser 3.0 15 Indexed Layers e-terrabrowser 3.0 16 Placement Rotation e-terrabrowser 3.0 17 Secondary Application On Simple Layer FG 5.2.1 18 Background Image e-terrabrowser 3.0
Proprietary See Copyright Page
Supported No No Yes No No No No No No No No No No No No No No No
50
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
No No No No No No No No No No No No No No
e-terrabrowser 3.3.0 No
2.3.2.2.2 Compatibility Version FG 3.0 Table 3: Version FG 3.0 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 ActiveX Controls e-terrabrowser 3.0 12 Gem Support FG 5.2 13 Clip To Regions FG 5.2 14 Dynamic Simple Layers e-terrabrowser 3.0 15 Indexed Layers e-terrabrowser 3.0
51
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
No No No No No No No No No No No No No No No No No
e-terrabrowser 3.3.0 No
2.3.2.2.3 Compatibility Version FG 3.0.2 Table 4: Version FG 3.0.2 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 ActiveX Controls e-terrabrowser 3.0 12 Gem Support FG 5.2
52
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
No No No No No No No No No No No No No No No No No No No No
e-terrabrowser 3.3.0 No
2.3.2.2.4 Compatibility Version FG 5.0 Table 5: Version FG 5.0 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2
Proprietary See Copyright Page
53
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Third Party Scripts ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
e-terrabrowser 2.1 e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
No No No No No No No No No No No No No No No No No No No No No No No
e-terrabrowser 3.3.0 No
2.3.2.2.5 Compatibility Version FG 5.1 Table 6: Version FG 5.1 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0
54
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Menu Bar Item Application Uppercase Formatted Field Format Factor Third Party Scripts ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
FG 5.1 FG 5.1 FG 5.2 e-terrabrowser 2.1 e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
Yes Yes No No No No No No No No No No No No No No No No No No No No No No No No
e-terrabrowser 3.3.0 No
2.3.2.2.6 Compatibility Version FG 5.2 Table 7: Version FG 5.2 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0
Proprietary See Copyright Page
55
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Layout Special Characters Allowed Localize String Menu Bar Item Application Uppercase Formatted Field Format Factor Third Party Scripts ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
FG 3.0.2 FG 3.0 FG 5.1 FG 5.1 FG 5.2 e-terrabrowser 2.1 e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
e-terrabrowser 3.3.0 No
56
2.3.2.2.7 Compatibility Version FG 5.2.1 Table 8: Version FG 5.2.1 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 ActiveX Controls e-terrabrowser 3.0 12 Gem Support FG 5.2 13 Clip To Regions FG 5.2 14 Dynamic Simple Layers e-terrabrowser 3.0 15 Indexed Layers e-terrabrowser 3.0 16 Placement Rotation e-terrabrowser 3.0 17 Secondary Application On Simple Layer FG 5.2.1 18 Background Image e-terrabrowser 3.0 19 Halo Style e-terrabrowser 3.0 20 Hidden Data Entry e-terrabrowser 3.0 21 Conditional Permission Checks e-terrabrowser 3.0 22 Scale To Fit Style e-terrabrowser 3.0 23 Tool Tips e-terrabrowser 3.1.2 24 Enhanced Support of ActiveX Controls e-terrabrowser 3.1.2 25 Enhanced Support for Raster Images e-terrabrowser 3.1.2 26 CAM Enhancements e-terrabrowser 3.1.2 27 Placement Identifiers e-terrabrowser 3.1.2 28 Multi-Layer Cams e-terrabrowser 3.2.1 29 Windows TrueType Fonts e-terrabrowser 3.3.0 30 Multiple Data Sources e-terrabrowser 3.3.0 31 Signed Pair Arrow Size e-terrabrowser 3.3.0 32 Limits for inner dimensions for multie-terrabrowser 3.3.0 dimensional data
Proprietary See Copyright Page
Supported Yes Yes No Yes Yes Yes Yes Yes Yes No No Yes Yes No No No Yes No No No No No No No No No No No No No No No
57
33
e-terrabrowser 3.3.0 No
2.3.2.2.8 Compatibility Version e-terrabrowser 2.1 Table 9: Version e-terrabrowser 2.1 Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts 58 e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0
Supported Yes Yes No Yes Yes Yes Yes Yes Yes e-terrabrowser Only No Yes Yes No No No No No No No No No No No No No No No No
30 31 32 33
Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
2.3.2.2.9 Compatibility Version e-terrabrowser 3.0 Table 10: Version e-terrabrowser 3.0 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 12 13 14 15 16 17 18 19 20 ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0
Supported Yes Yes No Yes Yes Yes Yes Yes Yes e-terrabrowser Only e-terrabrowser Only Yes Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only
59
21 22 23 24 25 26 27 28 29 30 31 32 33
Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
e-terrabrowser 3.3.0 No
2.3.2.2.10 Compatibility Version e-terrabrowser 3.1.2 Table 11: Version e-terrabrowser 3.1.2 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 12 13 14 ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 60
Supported Yes Yes No Yes Yes Yes Yes Yes Yes e-terrabrowser Only e-terrabrowser Only Yes Yes e-terrabrowser Only
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
e-terrabrowser Only e-terrabrowser Only Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only No No No No No
e-terrabrowser 3.3.0 No
2.3.2.2.11 Compatibility Version e-terrabrowser 3.2.1 This compatibility version did not introduce any new display features. It was added to capture a compiler change needed to support multi-layer CAMs using the proxy %pgmax%.
61
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Table 12: Version e-terrabrowser 3.2.1 Features Feature Introduced Mixed Simple And Tabular Layers FG 3.0 Specify Picture/Picgroup Size FG 3.0 Text Origin FG 5.0 New Multi-Dimensional Picture Group FG 5.0 Layout Special Characters Allowed FG 3.0.2 Localize String FG 3.0 Menu Bar Item Application FG 5.1 Uppercase Formatted Field FG 5.1 Format Factor FG 5.2 Third Party Scripts e-terrabrowser 2.1 ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images 62
Yes Yes Yes Yes Yes e-terrabrowser Only e-terrabrowser e-terrabrowser 3.0 Only FG 5.2 Yes FG 5.2 Yes e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only FG 5.2.1 Yes e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser
Display Builder Basics Display Builder Users Guide
26 27 28 29 30 31 32 33
CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
e-terrabrowser 3.3.0 No
2.3.2.2.12 Compatibility Version e-terrabrowser 3.3.0 Table 13: Version e-terrabrowser 3.3.0 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 12 13 14 15 16 ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation 63 e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0
Supported Yes Yes No Yes Yes Yes Yes Yes Yes e-terrabrowser Only e-terrabrowser Only Yes Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate
FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.2.1 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0 e-terrabrowser 3.3.0
Only Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only
2.3.2.2.13 Compatibility Version e-terrabrowser 3.4.0 Table 14: Version e-terrabrowser 3.4.0 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0
Proprietary See Copyright Page
64
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Text Origin New Multi-Dimensional Picture Group Layout Special Characters Allowed Localize String Menu Bar Item Application Uppercase Formatted Field Format Factor Third Party Scripts ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers 65
FG 5.0 FG 5.0 FG 3.0.2 FG 3.0 FG 5.1 FG 5.1 FG 5.2 e-terrabrowser 2.1 e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 FG 5.2.1 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.0 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2 e-terrabrowser 3.1.2
No Yes Yes Yes Yes Yes Yes e-terrabrowser Only e-terrabrowser Only Yes Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only Yes e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser Only e-terrabrowser
28 29 30 31 32 33 34 35
Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate DDL Cross Reference Tool Nested Picture Support
Only e-terrabrowser 3.2.1 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only Provided with the Display Builder Installation Kit e-terrabrowser 3.4.0 e-terrabrowser Only
2.3.2.2.14 Compatibility Version e-terrabrowser 3.5.0 Table 15: Version e-terrabrowser 3.5.0 Features Feature Introduced 1 Mixed Simple And Tabular Layers FG 3.0 2 Specify Picture/Picgroup Size FG 3.0 3 Text Origin FG 5.0 4 New Multi-Dimensional Picture Group FG 5.0 Layout 5 Special Characters Allowed FG 3.0.2 6 Localize String FG 3.0 7 Menu Bar Item Application FG 5.1 8 Uppercase Formatted Field FG 5.1 9 Format Factor FG 5.2 10 Third Party Scripts e-terrabrowser 2.1 11 12 13 14 ActiveX Controls Gem Support Clip To Regions Dynamic Simple Layers e-terrabrowser 3.0 FG 5.2 FG 5.2 e-terrabrowser 3.0
Supported Yes Yes No Yes Yes Yes Yes Yes Yes e-terrabrowser Only e-terrabrowser Only Yes Yes e-terrabrowser Only
66
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Indexed Layers Placement Rotation Secondary Application On Simple Layer Background Image Halo Style Hidden Data Entry Conditional Permission Checks Scale To Fit Style Tool Tips Enhanced Support of ActiveX Controls Enhanced Support for Raster Images CAM Enhancements Placement Identifiers Multi-Layer Cams Windows TrueType Fonts Multiple Data Sources Signed Pair Arrow Size Limits for inner dimensions for multidimensional data Layer Refresh Rate DDL Cross Reference Tool Nested Picture Support
e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only FG 5.2.1 Yes e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser e-terrabrowser 3.0 Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.0 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.1.2 e-terrabrowser Only e-terrabrowser 3.2.1 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only e-terrabrowser 3.3.0 e-terrabrowser Only Provided with the Display Builder Installation Kit e-terrabrowser 3.4.0 e-terrabrowser Only
Display Builder Basics Display Builder Users Guide
e-terrabrowser 3.0
67
36 37 38
Popup Pictures on Polylines Active Scripting in CTs Indirect Links in Scale Factor
e-terrabrowser 3.5.0 e-terrabrowser Only e-terrabrowser 3.5.0 e-terrabrowser Only e-terrabrowser 3.5.0 e-terrabrowser Only
68
3. Specify the element name and click OK. 4. A blank scratch pad opens in the Definition Manager work area, with symbol- or picture-specific features enabled on the tool bar. 2.6.1.2 Creating New Picgroups and Displays The Picgroup and Display Editors can be started using the following procedure: 1. Give input focus to the desired display set window. 2. To open the New Name dialog box, choose the editor by name from the Definition Managers New menu. Note: The New Name dialog box for displays differs from that for picgroups (below).
69
3. Specify the picgroup or display name. For new displays, you are required to select whether the display will include either a simple (default) or a tabular layer. Click OK. 4. A blank scratch pad opens in the Definition Manager work area, with picgroup- or display-specific features enabled on the tool bar.
70
3. Double-click the desired component. For example, double-clicking on a picture name in the Pictures tab will open the Picture Editor. For details about defining display components using the Display Builder editors, see Using the Scratch Pad Editors and Using the Dialog Editors. 2.6.3.2 Using the Browser Window To open components for editing or to start an editor using the browser window, use the following procedure: 1. Select the Browse Current Object icon from the Definition Manager tool bar, or select the Browse option from the editor-specific menu to populate the browser window. Note: The browser window can only be populated if a display component is already open in the Definition Manager work area; therefore, this method is used for opening a placed or attached object for editing. 2. Click the +/- icon at the top of the object schema to display the first level of the definition schema. Continue to navigate the component hierarchy until the desired object is visible. 3. Right-click on the object to display the Scratch Pad Option popup menu, and select the Edit option. The selected object opens in the Definition Manager work area.
71
Figure 7: Name Conflict Error Message To resolve this conflict, enter a different name in the text box and click OK. The Name Conflict form appears when Display Builder detects an identical display component definition in the Display Builder set that is the target of a drag-and-drop operation. This form commonly appears when the user has copied a definition from one set to another. Display Builder safeguards display component definitions by ensuring that they are not accidentally overwritten (replaced). When Display Builder detects a conflict, the Name Conflict dialog box opens.
72
Figure 8: Name Conflict Dialog Box To resolve a name conflict, use the following procedure: 1. To keep the existing definition, select Keep Existing Item. 2. To replace the existing definitions with new ones, select Keep New Items. 3. To keep the existing definitions as well as capture the new definitions, select Make Copies of New Items. Display Builder creates a new display component name by adding a number to the root name of the existing component. 4. Click OK to close the dialog box.
73
3. Type the desired element set root name in the text box. 4. Click OK to change the references or Cancel to keep the current references.
74
75
1. Open the set into which the backed-up work will be captured. 2. Open the backup file for the open set from the backup location; this location appears on the Options Tab of the Options form. The sets backup file contains all the changes made to objects/definitions in the set during the previous session. 3. Select the changed items from the backup set and drag them into the destination set. 4. When the Name Conflict dialog box appears, select the Keep New Items option. 5. Click OK to close the Name Conflict dialog box.
76
path name of the .DDL directory and the selected file names appear in their text boxes on the File Transfer form.) 7. Click the Transfer Now button on the File Transfer form. Display Builder saves the contents of the selected set(s) if they are open, then transfers the files. 8. Determine whether file control is an issue. Click the Lock button to create a Lock (.LCK) file in the destination directory. The user can repeat transfers using the Send to Host option from the Definition Manager File menu or the Send to Host push button. Send to Host transfers the contents of the set window with input focus after saving changes in any editors that are open for writing to the set.
78
79
2. Position the pointer on the scratch pad where you want the line to begin. 3. Click to establish the anchor point. 4. Position the cursor at the desired end point. It is not necessary to hold down the left mouse button while moving the cursor. 5. Click again to define the end point. The line appears with the attributes of the default Graphic Attribute Bundle (GAB). Handles are provided at the anchor point and end point of the newly defined line. When the handles are visible, the line is currently selected and can be resized or otherwise edited. The line can be modified by manipulating the handles, or by double-clicking on the line to call up the Polyline Properties form and modify the line definition.
80
When the handles are visible, the line is currently selected and can be resized or otherwise edited. The user can modify the polyline by manipulating the handles, or by double-clicking on the line to call up the Polyline Properties form and modify the line definition.
81
4. Click and hold down the left mouse button, and drag the mouse in any direction to draw the rectangle to the desired size. 5. Release the mouse button to define the close point. The rectangle appears with the attributes of the default GAB. Handles are provided at each corner and at the midpoint of each side of the newly defined rectangle. When the handles are visible, the rectangle is currently selected and can be resized or otherwise edited. The user can modify the rectangle by manipulating the handles, or by double-clicking on or in the rectangle to call up the Rectangle Properties form and modify the rectangle definition.
82
3. Click and hold down the left mouse button to establish the anchor point. Note: Clicking and releasing the left mouse button will place an ellipse of the minimum size on the scratch pad, which can then be resized. By holding down the mouse button, it is possible to draw the ellipse to the desired size. 4. Click and hold down the left mouse button, and drag the mouse in any direction to define the size and shape of the ellipse. 5. Release the mouse button to define the close point. The ellipse appears on the scratch pad with the attributes of the default GAB. When selected, the ellipse appears within a bounding rectangle. Handles are provided at each corner and at the midpoint of each side of the newly defined ellipse. When the handles are visible, the ellipse is currently selected and can be resized or otherwise edited. The user can modify the ellipse by manipulating the handles, or by double-clicking on or in the ellipse to call up the Ellipse Properties form and modify the ellipse definition.
To define an arc, use the following procedure: 1. Select the arc icon from the Draw tool bar. 2. Position the pointer in the scratch pad where you want the anchor point (A) of the bounding circle. 3. Click and hold down the left mouse button to establish the anchor point. 4. Drag the pointer to the initial extent of the arcs radius. 5. Release the mouse button. The arc appears on the scratch pad with the attributes of the default GAB. When selected, the arc appears within a bounding circle. Four
Proprietary See Copyright Page
83
handles are provided, evenly spaced around the circumference of the newly defined arcs bounding circle.
Figure 9: Scratch Pad with Arc Selected and Handles Visible Two other handles are provided on the arc definition for altering the arc angle (sweep) and the vertical attitude of the arc relative to the bounding circles center. To modify the arc angle, use the following procedure: 1. Position the pointer over the extent handle marked E. Note: Positioning the pointer over one of the two remaining handles and allowing it to hover for a few moments will cause either an E or an A to appear, depending on the handle. 2. Click and hold down the left mouse button, and drag the handle to indicate the extent of the arc angle. 3. Release the mouse button. The extent of the arc angle is drawn on the scratch pad. To modify the arc attitude, use the following procedure: 1. Position the pointer on the attitude handle marked A.
84
Note: Positioning the pointer over one of the two remaining handles and allowing it to hover for a few moments will cause either an E or an A to appear, depending on the handle. 2. Click and hold down the left mouse button, and drag the A to pivot the arc around its center. 3. Release the mouse button. The arc appears on the scratch pad in the desired vertical or horizontal attitude. The user can double-click within or on the arc to call up the Arc Properties form and modify the arc definition.
85
Table 16: Primitive Editing and Resizing Rules Primitive Handle Result Rectangle Side Moves that side only and stretches or contracts the rectangle in only one dimension Corner Moves the corner and stretches or contracts the rectangle in two dimensions Circle Any Stretches or contracts the circumference of the circle Ellipse Side Moves that side only and stretches or contracts the ellipse in only one dimension Corner Arc Radius Arc Anchor Arc Extent Polyline Any Anchor Point A Extension Point E Either End Point Moves the corner and stretches or contracts the ellipse in two dimensions Stretches or contracts only the radius of the bounding circle Rotates the arc around the center of the bounding circle Adjusts the arc angle Moves either the begin point of the first line segment or the end point of the last line segment, respectively Moves the end point and begin point, respectively, of adjoining line segments Moves the begin and end point, respectively, of adjoining sides of the polygon
3.1.9.2 Resizing Using the Properties Form To resize a primitive using its Properties form, use the following procedure: 1. Open the primitives Properties form by: Double-clicking the primitive Or: Right-clicking the primitive and selecting the objects Properties option from the popup menu
86
2. When the Properties form opens, the Definition tab will be selected. The resize attributes appear on the Definition tab. These attributes differ depending upon the type of primitive being modified (see Primitive Placement Properties for information about the usage of definition dialog boxes for primitives). 3. Make the desired changes. 4. Click OK to save the changes and close the form. The primitive snaps to its new size.
87
Method Two 1. Right-click on the text and select Edit Static Text from the popup menu. The user can also double-click on the text and modify the text using the Static Text Properties form.
88
5. The Picture Editor scratch pad opens with the name of the new picture in the title bar. 6. Select Picture > Picture Properties from the Definition Manager menu bar to open the Picture Definition form. 7. Provide values for all parameters as required on each tab of the Picture Definition form. 8. Click OK to save your changes and close the form. See the following sections for more information about completing each tab.
Figure 10: Picture Tab The following are included on the Picture tab:
89
Name: The name that was specified in the New Name dialog box when the picture was created. Database: Enter a database name. If the picture is used to transmit data, this must be the records database. Leave this field blank if the picture does not reference data.
Note: If the picture contains no formatted fields linked to record data, then only a database and picture name is required. Application: Enter an application name only when the application context restricts data display. Leave this field blank for unrestricted picture usage. Comment: Enter a description of the pictures usage. Records: Enter the name(s) of the record(s) that define the location of the data. Declutter (%): Check this box to allow entry of declutter values. Low: Specify the zoom level at which the picture must disappear. A value of 10 represents 10 percent of normal. High: Specify the zoom level at which the picture must disappear as the image shrinks. Set Picture Size: Specify whether the picture size is automatically set by Display Builder or manually set by the user. Automatic: Select this button for automatic sizing. Manual: Select this button to allow manual entry of picture dimensions: Width: Specify the width in pixels. Height: Specify the height in pixels.
90
91
Figure 11: Formatted Field Definition Tab The following are included on the Definition tab: Field Name and Indirect Record Links: Specify the field name and any indirect pointer field names.
Note: Whenever record linkages/indirect pointers are specified to access data in records other than the picture record, these pointers must be specified in a sequence that proceeds from the record instance defined by the formatted field and points upward/outward into the target database structure. This linkage sequence must match the upward linkage of the records specified in the target database hierarchy.
Proprietary See Copyright Page
92
Note: By placing a $ or _ _ (two underscores) in the Field Name text box, e-terrabrowser will display the subscript value of the record instance; however, dollar-sign and underscore usage cannot be mixed. Justify: Select a radio button to indicate the alignment of data on the screen: left, centered, or right. Numeric values are right-justified by default; all other values are left-justified. Display Builder Character: Enter the alphanumeric character that is used to represent the formatted field in the scratch pad. The font of the chosen character determines the width of the data displayed and the entry widget of an enterable field. Type: Select the data type to be output, such as character, integer, or text pair. The Text Pair and Time/Date options require additional detail; see their descriptions below. Factor: The format factor edit box becomes active only when Exponent, Integer, or Real format type is selected. The default value is 1, but the user can specify any real number with precision less than 7. The following two operations will be placed at run time: Database values will be multiplied by a format factor before being displayed. Entered data will be divided by a format factor before being stored in the database. Size: Specify the total number of alphanumeric characters that will be displayed. Position: Specify the position in the alphanumeric string from which character painting will start. This attribute specifies digits to the right of the decimal in a real field.
The display options for formatted fields are as follows: Enterable: Set ON to indicate that the field is editable in the online display. e-terrabrowser creates a text entry box when an enterable formatted field is selected for editing.
Important: The background color of the text entry box is determined by the value of the background field in the formatted fields attached GAB. Therefore, attach a GAB whose background color provides adequate contrast. Uppercase Data Entry: Set this toggle ON to specify that e-terrabrowser will convert text entry in this field to uppercase.
93
Hidden Data Entry: Set this toggle ON to specify that e-terrabrowser will not display characters typed into this field. This option is typically used for fields that contain passwords; the data entry is encrypted. Do Not Display Field: Set ON to suppress data output when the picture is displayed. This feature is used to create password-like fields. Do Not Refresh Field: Set ON to suppress data refresh for this field.
Refresh Indirect Chain: Set ON to enable indirect pointer chain refresh. Text Pair: These field types are used to indicate True/False conditions by displaying text strings or bitmaps that show the sign value of a field, the setting of a boolean field, or the setting of a MASK field. The Text Pair format can accompany a numeric field format type, such as Real. When a text pair accompanies another field type, the text pair always appears to the left of the field value on the display. Text pair designations are as follows:
None: Set ON if no text pair association exists for the Type selected. Sign: Set ON to create a text pair based on whether the field value is positive or negative (zeroes are considered positive values). The text pairs specified as text pair values will be painted depending on the value of the data (see Text Pair Values below for details about specifying text pairs). Boolean: Set ON to enable the usage of a boolean field (1 or 0). Text Pair Values: The user can specify a pair of True/False indicators to override the default T/F indicators, as follows: Positive/True: Enter a positive status text string up to 16 characters in length. Alternatively, set the Bitmap flag ON, then select the bitmap arrow indicator to show direction or flow, based on the sign of the field. Negative/False: Enter a negative status text string up to 16 characters in length. Alternatively, set the Bitmap flag ON, then select the bitmap arrow indicator to show direction or flow, based on the sign of the field.
Time/Date formatting options are as follows: AM: AM or PM indicator. Date: Date in dd-mmm-yyyy format.
94
Day: Three-character weekday identifier, such as MON for Monday. DD: Two-character numeric indicator of the day of the month. DST: Daylight Savings Time indicator, as specified by the DSTCHAR global field in the TIMEDATE database. HC: Two-character indicator of the hour 00 to 24. HM: Two-character indicator of the hour 01 to 23. Holiday: Name of the current holiday defined in the TIMEDATE database. HR: Two-character indicator of the hour 01 to 12. MLTM: 24-hour time designation with minutes, such as 2356. MM: Two-character indicator of the month. MN: Two-character indicator of the minute. MON: Three-character month identifier, such as AUG for August. Month: Month in full-character format, such as AUGUST. SC: Two-character numeric indicator of the second. Time and Date: The date in dd-mmm-yyyy format, with time in hc:mm:sc format. TMZ: Time zone format; only the local time zone is displayed. VMS: DEC VMS time in hc:mm:sc format. Weekday: Day of the week in full-character format, such as THURSDAY. YY: Decade format for the year, such as 96. YYYY: Millennium format for the year, such as 1996.
95
2. Select the Shared GAB tab to display the directory list of available GABs. 3. Drag the desired shared GAB selection over the formatted field. 4. Release the mouse button. The new attribute is attached and the old attachment is deleted. An alternate procedure is as follows: 1. Open the Formatted Field Properties form. 2. Select the Attachments tab and attach the desired shared GAB (see Attachments Tab for more information).
96
Use the following procedure to define popup attributes for popup pictures defined at the picture level. 1. With the parent picture in the active scratch pad, select Picture > Show All Popup Pictures. Or: Right-click on the picture scratch pad and select Show Popup Pictures from the menu for popup pictures defined at the picture level. 2. Double-click the desired popup in the Picture Editor scratch pad to display the Popup Picture Properties form. Or: Right-click on the scratch pad and select Popup Picture Properties from the menu. 3. In the Popup Type option group, specify the mode for the popup viewport. 4. Click OK to save the changes and close the form. Use the following procedure to define popup attributes for popup pictures defined at the display level. 1. With the display containing the primitive with the popup picture attachment in the active scratch pad, first select the primitive, then right-click and select Show All Popup Pictures.
97
2. Double-click the desired popup in the scratch pad to display the Popup Picture Properties form. 3. In the Popup Type option group, specify the mode for the popup viewport. 4. Click OK to save the changes and close the form. See Popup Picture Properties for more information.
Figure 12: Popup Picture Properties Form The following are included on the Popup Picture Properties form: Origin: Set the X and Y coordinates for the upper left corner of the popup. Modeless: Select the modeless type for a movable popup. Modal: Select the modal type for a non-movable, non-occludable popup. Modal popups disallow interaction with any e-terrabrowser features other than the popup itself.
98
System Modal: Select the system modal type for a non-movable, nonoccludable popup. System modal popups disallow interaction not only with other e-terrabrowser features, but also with any other applications that may be active on the client computer. Activate at Cursor Position: Set ON to enable popup positioning at the cursor location on call-up.
To define a new picgroup, use the following procedure: 1. Select New > Picgroup from the Definition Manager menu bar to display the New Name dialog box. 2. Enter a name for the new picgroup in the text box. 3. Click OK to save the name and close the New Name dialog box. The picgroup is now named, and its name appears in the title bar of the Picgroup Editor. Note: Picgroups can also be created and named using the Picgroup from Picture option that is available on the Tabular Definition tab of the Tabular Layer Properties form. 4. Select Picgroup > Picgroup Properties from the Definition Manager menu bar to open the Picgroup Definition form. 5. Provide values for all parameters as required on each tab of the Formatted Field form. 6. Click OK to save your changes and close the form.
Proprietary See Copyright Page
99
Figure 13: Picgroup Tab The following are included on the Picgroup tab: Name: The name that was specified in the New Name dialog box when the picgroup was created. Primary Picture: If one or more pictures have been placed, select the picture whose record will drive the data display. Interactive Attributes: DICE operations are enabled using the following check boxes: Deletable: Check this box to enable deletion of the data displayed by the primary picture. Insertable: Check this box to make the data displayed by the primary picture insertable. Copyable: Check this box to make the data displayed by the primary picture copyable.
Proprietary See Copyright Page
100
Confirm Delete: Check this box to enable the confirm delete prompt. Margins: The margins of the picgroup can be extended beyond the maximum picture or symbol extent by using the margins fields: Bottom: Specify a value in excess of the Y extent. Right: Specify a value in excess of the X extent. Set Picgroup Size: Specify whether the picgroup size is automatically set by Display Builder or manually set by the user: Automatic: Select this button to make sizing automatic. Manual: Select this button to enable manual entry of picgroup dimensions: Width: Specify the width in pixels. Height: Specify the height in pixels.
101
To define a display, use the following procedure: 1. To open the New Name dialog box, with the input focus on the display set window, select New > Display from the Definition Manager menu bar. 2. Enter a name for the display name in the text box. 3. Click OK to save the name and close the New Name dialog box. The display name is now specified and the editor is opened to the definition. Any or all attributes of the display can now be defined. 4. Select Display > Display Properties from the Definition Manager menu to open the Display Definition form. 5. Provide values for all parameters as required on each tab of the Display Definition form. 6. Click OK to save your changes and close the form. See the following sections for more information about completing each tab. 3.5.1.1 Display Tab Display definition begins on the Display tab of the Display Definition form.
103
Figure 14: Display Tab The following are included on the Display tab: Name: The name that specified when the display was created appears for informational purposes. Title: The name that appears in the viewport title bar when the display is called up. Proxies such as %DISAPP% for the displaying application name can be inserted in this text string. Call-up Command: Specify one or more display call-up commands if e-terrabrowser commands are required to be issued when the display is accessed. Separate commands with semicolons (;). Calldown Command: Specify one or more display calldown commands if e-terrabrowser commands are required to be issued when the display is closed. Separate commands with semicolons (;). Scale to Fit: The Display Definition dialog box provides Scale to Fit options, which will be used in e-terrabrowser to better size displays when the DISPLAY/FIT feature is enabled. The options are as follows:
104
Fit In XY Fit in X Only Fit Either XY or X Based on Aspect Ratio Refresh Rate: Specify the interval between data updates in seconds. This value should usually be in the range of four to five seconds. Default Zoom Factor (%): Specify the zoomed aspect of the display; 100 is normal size, 200 is twice normal size.
3.5.1.2 Applications Tab The Applications tab is used to specify and edit the application list for the display.
Figure 15: Applications Tab The following are included on the Applications tab: Add: Click Add to enable the Application list box for entry. Enter an owning application name, and click anywhere on the form to exit entry mode, or click Add again to add another application. 105
Using the Scratch Pad Editors Display Builder Users Guide
Edit: Click Edit to enable editing for the highlighted application. Delete: Click Delete to delete the highlighted application.
3.5.1.3 Viewport Tab In Rapport-FG, the Viewport tab was used to set the attributes of the viewport into which a display was called.
Figure 16: Viewport Tab Always on Top: Set ON to specify that the viewport cannot be occluded. Lock In Viewport: Set ON to make the display the sole owner of the viewport. Command Window: Set ON to append an e-terrabrowser command-line window to the viewport. Last Page Number Proxy: Set ON to enable the e-terrabrowser proxy that produces the page N of total page identifier in the viewports title bar.
106
Horizontal Scroll Bar: Set ON to activate the viewports horizontal scroll bar. This toggle enables the Horizontal line and page sliders. Vertical Scroll Bar: Set ON to activate the viewports vertical scroll bar when the display is called into the viewport. This toggle enables the Vertical line and page sliders. Min/Max Width and Height Sliders: Move the slider to specify the size of the viewport. Horizontal/Vertical Line and Page Sliders: Move the slider to specify the unit step produced when the scroll bar arrow is activated, and the page step produced when the scroll bar itself is clicked. 3.5.1.4 Menus Tab The Menus tab is used to specify the user-defined menus that will appear in the menu bar when the display is called up in the viewport. Menus are identified by menu bar label, the name of the menu as created, and the owning element set.
107
Note: The e-terrabrowser user can define other menus for the viewport using a resource file. The following are included on the Menus tab: Add: Click Add to open the Add Attachment dialog box. A list of available menus will be displayed (see Using the Add Attachment Dialog Box for more information). Label: The menu label that will appear on the menu bar. The menu bar label is set when a menu is added, and it can be edited by clicking Edit Label. Sequencing Arrow Buttons: Use these buttons to modify the sequence of the menus in the menu bar. No Default Menu Bar Menus: Set ON to disable the creation of the default viewport menus: Viewport, Zoom, and Help. Application: If the menu is pertinent to only one application, enter the application name in the text box. When the compiled version of the display appears on the console, the menu will only appear in the menu bar of the specified application. If Application is left blank, the menu can be shared among many applications.
3.5.1.5 Background Tab The Background tab is used to specify a background color for the display.
108
Figure 18: Background Tab The following is included on the Background tab: Color: Select the desired background color from the color palette.
3.5.1.6 Specifying Display Attachments and Permission Tests The Permission Test tab of the Display Definition form is shared by the Display, Layer, and Picture Property Definition forms (see Permission Test Tab for more information). 3.5.1.7 Background Image Tab The Background Image tab is used to specify an image to appear as a backdrop for the display in lieu of or in addition to a background color.
109
Figure 19: Background Image Tab Note: Displays that reference external image files should not incur noticeable performance degradation for display call-up, scrolling, and zooming once these image files have been downloaded and cached. Displays that contain compiled-in image files will have a larger file size and will take longer to call up. The following are included on the Background Image tab: Apply Background Image: Select this check box to enable the remaining parameters. Image Scaling: Select the Image Scaling options: None: Do not scale the image. Display: Scale the image to the size of the display. Window: Scale the image to the size of the window. Image Folder: The image directory set on the Options tab of the Options form is displayed for informational purposes. 110
Using the Scratch Pad Editors Display Builder Users Guide
Note: The image path is not saved as part of the display. Display Builder will use the e-terrabrowser Image Directory setting on the Option dialog box to locate the image files. At run time, e-terrabrowser requires the image path to be specified in the webfg_config.txt file (see Options Tab for more information). Image File: Use the browse button to select the image file to use as display background. Thumbnails of the images available in the specified image directory will be displayed to ease the selection process. Note: Only bitmap (.bmp), jpeg (.jpg), and icon (.ico) images are supported at this time.
The following tabs are included for tabular layers: Layers Tabular Definition Repeat, Hierarchical, Link List, Multi-Dimensional, or Indexed, depending upon the type of layer selected on the Tabular Definition tab. Attachments Permission Test
The Layer Properties form is accessed using the following procedure: 1. Give input focus to the desired display. 2. Select Display > Layers and Driving Data from the Definition Manager menu bar. The user can specify whether a layer is called up or not on initial display call-up. A layer can also be set as not removable, meaning it cannot be controlled with either the DISPLAY command /LAYER qualifier or the LAYER command.
Proprietary See Copyright Page
111
To define a simple layer, use the following procedure: 1. Open the Layer Properties form as described above. The default layer will appear in the layer list box. 2. To add a new layer, enter a name in the New Layer text box and click Add. The new layer will appear in the layer list box. 3. Provide values for all parameters as required on each tab of the Simple Layer Properties form. 4. Click OK to save your changes and close the form.
112
Note: The Layers tab is shared with the Tabular Layer Properties form (see Layers Tab for more information). See the following sections for more information about completing each tab. 3.6.2.1 The Simple Layer Tab The Simple Layer tab becomes available when a simple layer is designated as active. The Simple Layer tab is used to define a database linkage for a picture or a CAM placed on a simple layer.
Figure 20: Simple Layer Tab The following are included on the Simple Layer tab: Layer: The name of the active layer as specified on the Layers tab. Secondary Application: Specify an application other than the application or applications that own the display, as specified by the
113
Applications tab of the Display Properties form. This feature allows the display compiler a better opportunity to check application context. Note: It is strongly recommended that pictures displaying data from an application different from the primary application be placed on layers that have the given application name specified as a secondary application. Currently, the display compiler will issue a warning message if the application context of a picture or CAM does not match that of the layer. This could indicate that the display could display different data than it was designed to do. Picture and CAM Linkages: Each picture placement and CAM attachment is listed on the Simple Layer tab. Clicking an object name in the list causes the object to flash in the scratch pad. When the pointer crosses a picture or primitive on a simple layer, the objects assigned composite key pops into view if the DB Linkage Tips feature is turned on. To enable this option, select the Show DB Linkage Tips option from the Display menu. The Show DB Linkage Tips option displays a check mark to indicate that it is active. Composite Key: The database linkages for pictures and CAMs are specified as a sequence of key fields that uniquely identify the Picture record or CAM target record. The fields are enterable in the format: record_name = key_field_identifier The record_name specifier tells the server which record type in the sequence to locate next, and the key_field identifier specifies the value in the key field (see Database Linkages for more information). Composite keys can be copied and pasted to other picture and CAM entries, then edited. Note: A global replace editing utility is provided for user convenience (see Replace Dialog Box for more information). Dynamic: Checking this box allows placements to be generated programmatically by a special kind of OLE DB provider each time the display is called up. This feature is intended to be used by the AREVA T&D distribution automation OLE DB provider, and it should not be used without consultation with an AREVA T&D engineer. Find/Replace: Select this button to display the Replace form (see Replace Dialog Box for more information).
114
3.6.2.2 Attaching Elements on Simple Layers Both local and overall attachments are allowed on simple layers. Instructions for attaching elements are provided in Making Attachments to Placed Objects. 3.6.2.3 The Attachments and Permission Test Tabs The Attachments and Permission Test tabs of the Simple Layer Properties form are shared by the Display, Layer, and Picture Property Definition forms (see Attachments Tab and Permission Test Tab for more information). 3.6.2.4 Primitives on a Simple Layer All types of primitives, including text, can be drawn on a simple layer. See Drawing Primitives for more information about drawing the various types of primitives. 3.6.2.5 Placing Elements on Simple Layers Previously defined symbols and pictures can be placed in a simple layer (see Placing an Element for more information). 3.6.2.5.1 Adding ActiveX Controls To place an ActiveX control on a simple display layer or picture, open the appropriate scratch pad editor. In the tool bar, select the ActiveX Control button (Ax), and select a rectangle on the display where the control should be placed. The Insert ActiveX Control dialog box will come up, populated with all the ActiveX controls installed on the machine. Scroll down to locate the control you want to add to your display. Select the control to insert and click OK. The ActiveX control inserted will be painted in the scratch pad editor. Note: It is important to set the controls Extended Properties before the display is called up. To set the Extended Properties, select the control and press the F4 key. The ActiveX Controls Properties dialog box will be displayed. Select the Extended Properties tab to set the following properties: Name: The control instance must be given a unique name. Left: Coordinate of the controls left edge. Top: Coordinate of the controls top edge. Width: Set the controls width. Height: Set the controls height. 115
Using the Scratch Pad Editors Display Builder Users Guide
Locking: (optional) X: Check box to lock the control in X. Y: Check box to lock the control in Y.
Note: e-terrabrowser 3.0 supports ActiveX controls only on simple layers. In e-terrabrowser 3.1.2, the support of ActiveX controls has been extended to pictures, which can be used on tabular layers. 3.6.2.6 Moving Selected Objects Between Simple Layers To move an object from one simple layer to another, use the following procedure: 1. Select the desired object in the scratch pad. 2. Select Display > Move to Layer Definition Manager menu bar. The Move to Layer form appears. 3. Select the layer name in the Move to Layer dialog box. 4. Click OK to close the form. 3.6.2.7 Defining a Placeholder Placeholders can be defined and placed on a simple layer. When defined, the placeholder is shown in the scratch pad with the words Placeholder xxxx, where xxxx represents the name of the placeholder. This text string does not appear in the online display. To define a placeholder, use the following procedure: 1. Select the Placeholder push button in the Drawing Tools tool bar. 2. Click at the position on the layer where you want the placeholder to be located. The New Name dialog box opens on the scratch pad. Type the placeholder name. 3. Click OK to close the dialog box. The placeholder appears in red text, with a bounding rectangle to show that it is currently selected in the scratch pad. 3.6.2.8 Replace Dialog Box The Replace form is used to modify composite key entries on the Simple Layer tab of the Layer Properties form.
116
Figure 21: Replace Dialog Box The user enters the string to modify and its replacement string, then uses the command buttons to complete the Find and Replace operation. See Database Linkages for details about composite key definitions. 3.6.2.9 Placement Forms for Simple Layer Objects Details about the Placement forms and their tabs for the objects commonly found on simple layers can found in Placement Properties Forms (see Placing an Element for more information). 3.6.2.10 Move to Layer Dialog Box The Move to Layer form is a property of the Display Editor when the context is a simple layer construction.
Figure 22: Move to Layer Dialog Box To move an object to a different layer on the display, use the following procedure: 1. Select the desired object on the scratch pad.
Proprietary See Copyright Page
117
2. Select Draw > Move to Layer from the Definition Manager menu bar. The Move to Layer dialog box will be displayed. 3. The text box lists all layers in the current display. 4. Select the desired layer and click OK. The desired object is transferred to the layer selected in the text box. 3.6.2.11 Defining Simple Layer Database Linkages To define a database linkage for a Picture or a CAM placed on a simple layer, do the following: 1. Choose the Layers and Driving Data option from the Display menu. The Layer Properties form appears. 2. Select the placed element from the Picture and CAMs Linkages list. 3. Enter the composite key in the Composite Key section of the entry. Note: A global replace editing utility is provided for user convenience. Use the Find/Replace button to activate this utility. When the pointer crosses a picture or a primitive on a simple layer, the objects assigned composite key pops into view if the DB Linkage Tips feature is turned on. To activate the Linkage Preview popup for composite key definitions, do the following: Choose the Show DB Linkage Tips option from the Display menu. The Show DB Linkage Tips option displays a check mark to indicate that it is active.
118
Specifying Alternate Driving Data: Specifying alternate record structures that drive the appearance of the tabular layer. By default, the layer is driven by the database hierarchy and the record list. Other database structures can be defined to modify the default appearance and then specified in the tabular layer definition. Attaching Elements: Attaching keysets as overall attachments to the layer. No local attachments can be made to the picgroups in a display layer; however, picgroups and picgroup components can be defined with local and overall attachments.
119
Figure 23: Tabular Definition Tab The following are included on the Tabular Definition tab: Layer: The name of the active layer as specified on the Layers tab. Driving Database: The name of the e-terrahabitat database for which this display layer binds to display data. Secondary Application: An application other than the application or applications for which the display is compiled, as specified on the Applications tab of the Display Properties form. Binding to the secondary application clone will occur when the display is called up. Note: In order to ensure data integrity, it is highly recommended that this field be completed if the layer will be bound to data from an application other than that specified on the Display Properties form. Constant Picgroup: Check this box to enable addition of a constant picgroup to the layer. Add: Select this button to display the Add Picgroup form.
120
Layer Placements Are Constant: Check this box to ensure the constant display of the picgroups on this layer. Page Breaks: The choices in this option group define the number of records at a time that will be delivered to the client. None: Data is delivered with no page separations. Records/Page: Data is delivered one page at a time, with each page containing the specified number of records. Tabular Type: The choices in this option group define the data structure that the server must find and deliver to the client. The selection made in this option group will be reflected in the tabs available for further layer configuration. The structure options are as follows: Repeat Placement: Find every instance of a single record type (see Repeat Tab for more information). Hierarchical Placements: Find every instance of several record types in a tree structure (see Hierarchical Tab for more information). Link List Placement: Find a linked list structure and follow the pointers to the specified record instances. Find a structure of required picgroup names if a sequencing requirement exists (see Link List Tab for more information). Multi-Dimensional Placement: Find a 2- or 3-dimensional array and detect the orientation of the data on the X, Y, and possibly Z axes (see Multi-Dimensional Tab for more information). Indexed Placement: Execute the query using one of the predefined indices, sorting and filtering according to the criteria specified in the index parameters (see Indexed Tab for more information).
3.6.4.2 Repeat Tab The Repeat tab is available when Repeat Placement has been specified on the Tabular Definition tab, and it allows entry of parameters for finding and delivering data (see Placing Data-Oriented Picgroups for more information).
121
Figure 24: Repeat Tab The following are included on the Repeat tab: Layer: The active layer as specified on the Layers tab. Repeat Picgroup: The picgroup containing the record of interest. Add: Select this button to change the repeat picgroup. Delete: Select this button to delete the repeat picgroup. Circular: Check this box to specify that database traversal will be circular and directional. Selection of this option activates the Ascending and Descending radio buttons: Ascending: Select this radio button to sort records in ascending order. Descending: Select this radio button to sort records in descending order.
122
First Record Subscript and Last Record Subscript: The choices in these option groups specify the bounds of the data retrieval sequence. First: Select this radio button to begin data retrieval at the first picture record subscript. Last: Select this radio button to end data retrieval at the last picture record subscript. Literal: Select this radio button to begin and end data retrieval at a specified subscript. Selection of this option enables the Literal text box in which to enter the desired value. Field: Select this radio button to begin and end data retrieval at the subscript identified by a specified field. Selection of this option enables the Field and Database text boxes in which to enter the desired values. Global Field: Select this radio button to begin and end data retrieval at the subscript identified by a specified global field. Selection of this option enables the Global Field and Database text boxes in which to enter the desired values. Composite Key: Select this radio button to begin and end data retrieval at the subscript whose location in the database tree is identified by one or more key fields. Selection of this option enables the Composite Key text box in which to enter the desired values. Display call-up is much enhanced when composite keys are used to bound data retrieval. Note: Composite keys are specified as a series of one or more equalities; the left side of the equation is the record type and the right side is a key field identifier. For example, the composite key SUBSTN = STATION1 tells the server to find the record instance of the SUBSTN record with an ID field equal to STATION1 and to proceed from there to find the first instance of the primary record. Field with Composite Key: Select this radio button to begin and end data retrieval at the subscript specified by this field, which resides on the key deepest in the tree structure. Selection of this option enables the Field, Database, and Composite Key text boxes in which to enter the desired values.
3.6.4.3 Hierarchical Tab The Hierarchical tab becomes accessible if Hierarchical Placements has been specified on the Tabular Definition tab to allow entry of parameters
123
for finding and delivering data (see Placing Data-Oriented Picgroups for more information).
Figure 25: Hierarchical Tab The following are included on the Hierarchical tab: Layer: The active layer as specified on the Layers tab. Picgroups: This option group allows you to add or delete picgroups and to indicate hierarchical relationships in the data. Add: Select this button to display the Add Picgroup form. Delete: Select this button to delete the highlighted picgroup. Schema Portrayal: By using the arrow buttons to indicate where its primary record resides in relation to others, the user can schematically represent a database structure. Clicking the up or down arrow buttons will move the selected picgroup up or down in the data hierarchy; clicking the left or right arrow buttons will promote or demote the selected picgroup in relationship to the picgroup immediately above it.
Proprietary See Copyright Page
124
Starting Record Subscript: Use this option group to specify the bounds of the servers picgroup data retrieval sequence. All: Selecting this option will instruct the server to start at the first instance of the first picgroups primary record and retrieve all subordinate picgroup data, then proceed to the next instance and repeat the retrieval. Data retrieval will continue until all records have been accessed. Composite Key: Selecting this option will instruct the server to start at the record instance specified by a composite of key fields that includes the primary records key field as the last entry.
Note: Display call-up is much enhanced when composite keys are used to bound the servers data retrieval (see Database Linkages for more information). 3.6.4.4 Link List Tab The Link List tab becomes accessible if Link List Placement has been specified on the Tabular Definition tab (see Data Linkage to Linked List Structures for more information).
125
Figure 26: Link List Tab The following are included on the Link List tab: Layer: The active layer as specified on the Layers tab. Picgroups: The list box contains the picgroup(s) associated with the display. The picgroup list can be edited using the Add and Delete buttons. Picgroup Ordering: By selecting a picgroup and using the directional arrows, the user can sort the picgroups into the desired order. Link List Driving Fields: Special driving data structures and linked list software allow sequencing and display of data in an order other than the default record list. The following fields are used for specifying data retrieval: Sequence: Specify the field containing the name of a picgroup to paint or the pointer to a picgroup list record.
126
Driving Record: Specify the special record used to carry the linked list sequencing information for the server. Occurrence: Specify the field containing the subscript of the picgroups primary record. Picgroup List Record: Specify the name of the picgroup list record. Forward Link: Specify the field containing the pointer to the next link in the chain. Note: When the driving record serves to independently arrange several record types in a database, the linked list software will create a dynamic list of picgroups that will carry the sorted data at display call-up. The picgroups added to the Picgroups list box must bear the same names and must represent the full range of potentially displayable record types. Picgroup List Database: Specify the name of the database where the picgroup list record resides. First Record Subscript and Last Record Subscript: The choices in these option groups specify the bounds of the data retrieval sequence. First: Select this radio button to begin data retrieval at the first picture record subscript. Last: Select this radio button to end data retrieval at the last picture record subscript. Literal: Select this radio button to begin and end data retrieval at a specified subscript. Selection of this option enables the Literal text box in which to enter the desired value. Field: Select this radio button to begin and end data retrieval at the subscript identified by a specified field. Selection of this option enables the Field and Database text boxes in which to enter the desired values. Global Field: Select this radio button to begin and end data retrieval at the subscript identified by a specified global field. Selection of this option enables the Global Field and Database text boxes in which to enter the desired values. Composite Key: Select this radio button to begin and end data retrieval at the subscript whose location in the database tree is identified by one or more key fields. Selection of this option enables the Composite Key text box in which to enter the desired values. Display call-up is much enhanced when composite keys are used to bound data retrieval.
Proprietary See Copyright Page
127
Note: Composite keys are specified as a series of one or more equalities; the left side of the equation is the record type and the right side is a key field identifier. For example, the composite key SUBSTN = STATION1 tells the server to find the record instance of the SUBSTN record with an ID field equal to STATION1 and to proceed from there to find the first instance of the primary record. Field with Composite Key: Select this radio button to begin and end data retrieval at the subscript specified by this field, which resides on the key deepest in the tree structure. Selection of this option enables the Field, Database, and Composite Key text boxes in which to enter the desired values. 3.6.4.5 Multi-Dimensional Tab The Multi-Dimensional tab becomes accessible when Multi-Dimensional Placement is selected on the Tabular Definition tab (see Multi-Dimensional Displays for more information).
128
The following are included on the Multi-Dimensional tab: Layer: The active layer as specified on the Layers tab. Multi-Dimensional: Specify the 2-D or 3-D picgroup using the Add button. Only a multi-dimensional picgroup can be specified. First Record Subscript and Last Record Subscript: The choices in these option groups specify the bounds of the data retrieval sequence. First: Select this radio button to begin data retrieval at the first picture record subscript. Last: Select this radio button to end data retrieval at the last picture record subscript. Literal: Select this radio button to begin and end data retrieval at a specified subscript. Selection of this option enables the Literal text box in which to enter the desired value. Field: Select this radio button to begin and end data retrieval at the subscript identified by a specified field. Selection of this option enables the Field and Database text boxes in which to enter the desired values. Global Field: Select this radio button to begin and end data retrieval at the subscript identified by a specified global field. Selection of this option enables the Global Field and Database text boxes in which to enter the desired values. Composite Key: Select this radio button to begin and end data retrieval at the subscript whose location in the database tree is identified by one or more key fields. Selection of this option enables the Composite Key text box in which to enter the desired values. Display call-up is much enhanced when composite keys are used to bound data retrieval. Note: Composite keys are specified as a series of one or more equalities; the left side of the equation is the record type and the right side is a key field identifier. For example, the composite key SUBSTN = STATION1 tells the server to find the record instance of the SUBSTN record with an ID field equal to STATION1 and to proceed from there to find the first instance of the primary record. Field with Composite Key: Select this radio button to begin and end data retrieval at the subscript specified by this field, which resides on the key deepest in the tree structure. Selection of this
129
option enables the Field, Database, and Composite Key text boxes in which to enter the desired values. Record Processing Order: Specify the record processing order. Record Held Constant (required for 3-D specifications; optional for 2D specifications): Specify the name of the record to hold constant. Set the radio button ON to identify the subscript of the record occurrence which will be held constant. None: Select only if no record is to be held constant. Literal: Select to identify the constant record by means of a specified subscript. Selection of this option enables the Literal text box in which to enter the desired value. Proxy: Specify the subscript of the occurrence by proxy. Composite Key: Specify the key field of the occurrence by proxy or literally. 3.6.4.6 Indexed Tab Indexed layers use a unique mechanism for resolving the query that generates the placements on a layer. An index is a data structure supported by the e-terrabrowser data server and updated by notifications from various applications. When you use an indexed layer, you specify the name of the index that will provide data for the layer and a parameter string that specifies sorting and filtering criteria. All indexes automatically filter by area of responsibility, so there is no need to use permission tests on these layers. CAMs are not usually required, because the existence of a record in the index indicates that it meets specific conditions. The Indexed tab becomes accessible if Indexed Placement has been specified on the Tabular Definition tab (see Placing Data-Oriented Picgroups for more information).
130
Figure 28: Indexed Tab The parameters for finding and delivering the data are specified on this tab as follows: Layer: The active layer as specified on the Layers tab. Index Name: Three indexes are currently supported: ALARMS EVENTS SCADA_EXCEPTIONS Params: Each index has a different parameter string syntax. The syntax for each is listed below: ALARMS Syntax: sortOrder filter filterValues "sortOrder" can be one of the following values:
131
unacked_first_desc_time, unacked_first_asc_time, unacked_first_desc_priority_desc_time, desc_time, asc_time, desc_priority_desc_time "filter" and "filterValues" can be one of the following: "filter" = priority ==> "filterValue" = priority,priority,... "filter" = category ==> "filterValue" = category,category,... "filter" = location ==> "filterValue" = location,location,... "filter" = priority_location ==> "filterValue" = priority,priority,... location,location,... Syntax: groupSortOrder filter "groupSortOrder" can be one of the following values: desc_severity asc_severity filter = groupbycategory filter = groupbylocation Examples: unacked_first_desc_time priority 1,3 unacked_first_desc_time category cat1,cat4 desc_time location loc1,loc5 asc_time priority_location 1,5 loc1,loc2 asc_severity groupbylocation EVENTS Syntax: sortOrder startTime filter filterValues "sortOrder" can be one of the following values: desc_time,
132
asc_time "startTime" can be a time in TimeDate "Time_Full" format, or "All" "filter" and "filterValue" can be one of the following: "filter" = location ==> "filterValue" = location1,location2,... "filter" = category ==> "filterValue" = category1,category2,... Syntax: groupSortOrder filter "groupSortOrder" can be one of the following values: desc_severity asc_severity filter = groupbycategory filter = groupbylocation Examples: desc_time All category cat1,cat4 desc_time All location loc1,loc5 asc_severity groupbylocation SCADA_EXCEPTIONS Syntax: sortOrder recordType filter filterValues "sortOrder" can be one of the following values: desc_time, asc_time "recordType" can be one of the following values: analog,point,both "filter" and "filterValue" can be one of the following: "filter" = location ==> "filterValue" = location1,location2,... "filter" = category ==> "filterValue" = category1,category2,... Examples: desc_time both category cat1,cat4 desc_time analog location loc1,loc5
Proprietary See Copyright Page
133
Picgroups: Use the list box in this section to Add and Delete picgroups and to indicate hierarchical relationships in the data.
Figure 29: Add Picgroup Dialog Box The Add Picgroup form includes the following: Select from Option Group: This section gives you the option of adding either an additional picgroup, or a picture that will be converted to a picgroup. Selecting the Pictures option will enable the Element Set list box. Element Set: If the Pictures option is selected, the Element Set list box will be activated, listing all open element sets. Click on the element set with the desired picture. 134
Using the Scratch Pad Editors Display Builder Users Guide
Filter: The filter text box allows you to narrow the number of picgroups or pictures displayed in the Picgroup/Picture list box. The search is dynamic with data entry, populating the list box with matches without other user action. The asterisk wildcard is supported. Picgroup/Picture List Box: All picgroups or pictures matching any filter criteria will be listed. Clicking on a selection will cause a preview of the item to be displayed in the preview box below. To make a selection, click on the desired object, then click OK.
See Placing Data-Oriented Picgroups for more information. 3.6.5.1 Placing Constant Picgroups The picgroups for a tabular layer are selected and placed using the Layer Properties tabbed form. To place a constant picgroup, use the following procedure: 1. Select Display > Layers and Driving Data from the Definition Manager menu bar to open the Layer Properties form. 2. Select the Tabular Definition tab. 3. Set the Constant Picgroup toggle ON. 4. Click Add to add the constant picgroup. 5. Click OK to save the changes and close the form. See Tabular Definition Tab for more information. 3.6.5.2 Placing Data-Oriented Picgroups The data-oriented picgroups for a tabular layer are selected and placed using the Layer Properties tabbed form. To place a data-oriented picgroup, use the following procedure: 1. Select Display > Layers and Driving Data from the Definition Manager menu bar to open the Layer Properties form. 2. Activate the tabular layer by selecting the layer button to the left of the tabular layer name. 3. On the Tabular Definition tab, specify the tabular layer type by selecting a Tabular Type radio button. This activates the Repeat, Hierarchy, Link List, or Multi-Dimensional context-sensitive tabs, reflecting your choice. 4. Select the context-sensitive tab. 5. Click Add to open the Add Picgroup form.
Proprietary See Copyright Page
135
6. Select the picgroup (or picture) from the directory. 7. Click OK to save the changes and close the form. See Add Picgroup for more information. 3.6.5.3 Specifying Picgroup Layout Display Builder specifies the picgroup painting details for the e-terrabrowser client (sent to the client from the e-terrabrowser server with the display definition and data) by describing the layout on the Tabular Layout form. To specify the layout of a picgroup on a tabular layer, use the following procedure: 1. Select Display > Tabular Layout from the Definition Manager menu bar to open the Tabular Layout form. 2. Choose the desired layer from the Current Layer dropdown list. The names of the picgroups residing on that layer will be displayed in the Current Picgroup dropdown list. 3. Select the desired picgroup from the Current Picgroup dropdown list. The current picgroup layout settings are echoed in the form. 4. Specify the picgroup blocking details in the Picgroups/Block text box. 5. Specify the selected picgroups horizontal and vertical offsets and gluing orientation details in the offset text boxes. 6. Set the special picgroup attribute toggles at the bottom of the form as desired. 7. Click OK to save the changes and close the form. See The Picgroup Tab for more information about picgroup offsets and orientations. See Tabular Layout Form for details about Tabular Layout form usage. 3.6.5.4 Simulating Tabular Layer Database Linkages To simulate linkage to a layers data structure, use the following procedure: 1. Select Display > Tabular Simulation Data from the Definition Manager menu bar to open the Tabular Simulation Data form. 2. Choose the desired tabular layer from the Choose Layer dropdown list. The names of the picgroups residing on that layer appear in the list box on the left.
136
3. Select the desired picgroup. The graphical contents of the picgroup appear in the Preview window. 4. Use the large arrow buttons to transfer picgroups to and from the simulation window (the list box on the right). Move enough picgroups to simulate the number of record instances that would appear in the online display. 5. Use the small arrow buttons to sort the picgroups in the simulation window. 6. Click OK to save the picgroup sequencing simulation and display the simulation in the Display Editor scratch pad. See Tabular Simulation Form for more information about using Tabular Simulation Data. See Multi-Dimensional Displays for information about using the Tabular Simulation Data form with picgroups containing multidimensional pictures.
137
Figure 30: Tabular Simulation Form The following are included in the Tabular Simulation form: Choose Layer: Select the desired layer from the dropdown list. Visible: Check this box to selectively make a layer visible for display building purposes. Clear All Layers/This Layer: Select these buttons to clear the simulation frame for one or all layers. Picgroup (Left) Window: Select the desired picgroup and move it into the simulation window using the large import arrow. Simulation (Right) Window: Select the desired picgroup and move it out of the simulation window using the large export arrow. Sequencing Arrows: Use these buttons to sequence the picgroups in the simulation window. Show Slices with These Picgroups: This parameter applies only to multi-dimensional layers. The list of picgroups in the simulation window
138
indicates the number of picgroups in one slice of the multi-dimensional layout. Use this text box to indicate the number of slices to display. Preview Window: The picgroup selected for transfer to the simulation window appears in the Preview window at the bottom of the form.
3.6.6.1 Specifying Layer Attachments and Permission Tests The Attachments and Permission Test tabs of the Tabular Layer Properties form are shared by the Display, Layer, and Picture Property Definition forms (see Attachments Tab and Permission Test Tab for more information).
139
The following are included on the Tabular Layout form: Current Layer: Select the layer containing the desired picgroup from the dropdown list. Current Picgroup: Select the desired picgroup from the dropdown list. Picgroups/Block: Specify the number of picgroups that will be displayed in a block. Values greater than 1 activate the Within Block Offset dialog box. Offset Option Groups: The Offset option groups allow you to specify picgroup layout parameters: Top Left Offset: X and Y offset from 0,0 coordinate in pixels. Between Block Offset: X and Y offset between the blocked data in pixels. Within Block Offset: X and Y offset between the picgroups in each block in pixels. This parameter is active only if Picgroups/Block is greater than 1. Multi-Dimensional Offset: X and Y offset between multidimensional picgroups in pixels. This parameter is active only if the selected picgroup is multi-dimensional. Glue Buttons: Specify the repeat orientation of a picgroup by selecting the Down, Right, or Both button. Picgroup Attributes: Checking these boxes specifies special attributes for a picgroup: Page Header: Only one picgroup per page appearing at the beginning of data. Page Ender: Only one picgroup per page appearing at the end of data. Free Record: This picgroup can appear anywhere in the data stream. Locked in X: Lock the data horizontally. Locked in Y: Lock the data vertically.
140
layer. The Layers tab is shared by the Simple Layer Properties and the Tabular Layer Properties forms.
Figure 32: Layers Tab The following are included on the Layers tab: Active Layer: Selecting the radio button next to a layer activates the tabs of the Layer Properties form that are applicable to the layer type. Layer Properties: The choices in this option group define layer attributes: Visible: Checking this box causes the layer to be visible during display design; clearing the box causes the layer to be invisible. Display On Call-Up: Checking this box causes the layer to be visible upon opening in e-terrabrowser; clearing the box causes the layer to be invisible. Not Removable: Checking this box locks the layer in the viewport.
141
Clip to Locking Regions: Checking this box causes the layer to be included from the calculation of locking regions; clearing the box causes the layer to be excluded. Delete: Selecting this button deletes the active layer. New Layer: The choices in this option group create new layers: New Layer Text Box: Specify the layer name in this text box. Simple: Selection of this radio button creates a simple layer. Tabular: Selection of this radio button creates a tabular layer. Add: Click this button to add the specified layer to the list of layers on the Layer tab.
142
143
144
To set the zoom factor to a custom value, see Scratch Pad Options Form for information about setting the zoom factor using the Scratch Pad Options form.
145
4.1.9.1 Using Drag-and-Drop To place an element on the Picture Editor scratch pad using drag-anddrop, use the following procedure: 1. Open the Picture Editor. 2. From the element set window, select the Symbol or Conditional Text tab. 3. Select the placeable element from the element list. 4. Drag the element from the element set window and drop it on the Picture Editor scratch pad. To place an element on a simple layer in the Display Editor scratch pad using drag-and-drop, use the following procedure: 1. Open the Display Editor. 2. Use the Active Layer tool bar button or the Layer Properties form to activate the simple layer. See Specifying the Active Layer for details about activating display layers. 3. From the element set window, select the Symbol or Picture tab. 4. Select the placeable element from the element list. 5. Drag the element from the element set window and drop it on the Display Editor scratch pad. 4.1.9.2 Using the Add Placement Dialog Box To add a placement using the Add Placement dialog box, use the following procedure: 1. Select the Add Placement icon from the Edit tool bar to display the Add Placement dialog box. Or: Select Draw > Add Placement to open the Add Placement dialog box. 2. Elements such as symbols and conditional text can now be placed. Select the placeable element type using the radio buttons. The available placeable elements are displayed in the list box. 3. Select the desired object from the list box. 4. Click OK to make the placement and close the dialog box. The selected element appears on the scratch pad positioned in the upper left corner.
Proprietary See Copyright Page
146
See Add Placement for more information about placing objects using this dialog box.
147
148
Picgroup and Display menus and the editors respective Definition forms are used. 4.1.12.2 Making Attachments to Layers To make an overall attachment to a display layer, use the following procedure: 1. Select Display > Layers and Driving Data from the Definition Manager menu bar to open the Layer Properties form. 2. Select the Attachments tab. 3. Click Add to open the Add Attachment dialog box (see Add Attachment for more information). 4. Click OK to close the Add Attachment dialog box. 5. Click OK to save the changes and close the Layer Properties form.
149
150
4.1.15.3 Selecting Objects Using the Rubber-Band Method To select an object or objects using the rubber-band method, use the following procedure: 1. Choose the Select (arrow) icon from the Draw tool bar to put the scratch pad in select mode. 2. Position the pointer in the scratch pad near the object(s) to be selected. 3. Click and hold down the left mouse button to define the anchor point of the rubber-band. 4. Drag the pointer so that the object(s) to be selected are inside the rectangular-shaped rubber-band. 5. Release the mouse button. Bounding rectangles and hot spots now appear around the objects to indicate that they are currently selected. Additional objects can be selected as follows: 1. While holding down the Shift key, click on the desired object. Or: Position the pointer in the scratch pad near the object(s) to be selected. 2. While holding down the Shift key, click and hold down the left mouse button to define the anchor point of the rubber-band. 3. Drag the pointer so that the additional object(s) to be selected are inside the rectangular-shaped rubber-band. 4. Release Shift and the mouse button. 4.1.15.4 Using the Select All Option All objects in a scratch pad may be selected at one time. To select all objects in the scratch pad, use the following procedure: 1. Select Edit > Select All from the Definition Manager menu bar. All objects in the scratch pad appear with their bounding rectangles and hot spots to indicate that they are currently selected.
151
4.1.16.1 De-Selecting All Selected Objects To de-select all selected objects in the scratch pad, use the following procedure: 1. Choose the Select (arrow) icon from the Draw tool bar to put the scratch pad in select mode. 2. Click anywhere in the scratch pad outside the bounding rectangle(s) of the selected object(s). Note: Selecting any primitive push button also de-selects all objects in the scratch pad. The bounding rectangle and hot spots of all selected objects disappear. 4.1.16.2 De-Selecting Individual Objects To de-select an individual object from a group of selected objects in the scratch pad, use the following procedure: 1. Choose the Select (arrow) icon from the Draw tool bar to put the scratch pad in select mode. 2. While holding down the Shift key, click inside the bounding rectangle of the object you want to de-select. The bounding rectangle and hot spots of this object disappear. All other selected objects remain selected. 4.1.16.3 De-Selecting Multiple Objects To de-select multiple objects in one step, use the following procedure: 1. Choose the Select (arrow) icon from the Draw tool bar to put the scratch pad in select mode. 2. Position the pointer in the scratch pad near the objects to be deselected. 3. While holding down the Shift key, click and hold down the left mouse button to define the anchor point of the rubber-band. 4. Drag the pointer so that the objects to be de-selected are inside the rubber-band. 5. Release Shift and the mouse button. The bounding rectangle and hot spots disappear from around the objects to indicate that they are de-selected. All other currently selected objects remain selected. 152
153
1. Select Show Picture Bounding Boxes from the scratch pad editor menu. A check mark next to the option indicates that the option is ON. The active scratch pad will reflect the selection.
154
be moved by direct manipulation or by using the objects Placement Properties form. 4.1.23.1 Moving Directly To move an object in the scratch pad by direct manipulation, use the following procedure: 1. Select the object on the scratch pad. 2. Click and hold down the left mouse button anywhere inside the objects bounding box. 3. Drag the pointer in any direction to move the object. An outline of the object moves with the pointer, while the object remains at the original position. 4. Release the mouse button when the outline is at the desired location. The outline disappears and the object snaps to the new position. 4.1.23.2 Moving an Object Incrementally To move an object one scratch pad unit up, down, to the right, or to the left, use the following procedure: 1. Select the object on the scratch pad. 2. Use the up, down, right, or left arrow keys on the keyboard to move the selection. 4.1.23.3 Moving Using a Properties Form To move an object using its Properties form, use the following procedure: 1. Double-click the object in the scratch pad to open its Properties form with the Definition tab selected. 2. In the Origin option group, enter coordinates in either or both of the X or Y text boxes. Note: The origin of an object is always the upper left corner. 3. Click OK to save the changes and close the Properties form. The selected object snaps to its new position.
155
4.1.24.1 Moving to the Back To move objects behind other objects, use the following procedure: 1. Select the desired object(s) in the scratch pad. 2. Select Draw > Send to Back from the Definition Manager menu bar. The selected objects now appears behind any other objects. 4.1.24.2 Moving to the Front To move some objects in front of others, use either of the following procedures: 1. If the object(s) to be moved to the front are visible in the scratch pad: Select the desired object(s). Select Draw > Bring to Front from the Definition Manager menu bar. 2. If the object(s) to be moved to the front are not visible in the scratch pad and cannot be selected: Select those object(s) you can see that are in front of the desired object(s). Select Draw > Send to Back from the Definition Manager menu bar. The desired object(s) are now seen in front of the other objects. 4.1.24.3 Moving an Object One Level To move the selected object up or down in the object placement order, use the following procedure: 1. Select the desired object. 2. To reposition the object, select Draw > Bring Forward One or Draw > Send Backward One from the Definition Manager menu bar.
156
157
The selected objects re-position on the scratch pad to reflect the selection. 4.1.27.3 Centering Objects To center objects relative to each other, either horizontally or vertically, use the following procedure: 1. Select the desired objects in the scratch pad. 2. Select Draw > Align > Middles or Draw > Align > Centers from the Definition Manager menu bar. Or: Select Align Middles or Align Centers from the Arrange tool bar. The selected objects re-position on the scratch pad to reflect the selection. Selecting Middles will center the objects on the X axis; selecting Centers will center the objects on the Y axis.
158
1. Select the Undo option of the Edit menu. Or: Press Ctrl+Z. The last edit action performed on the selected object is reversed. 2. Repeat the Undo action for reversal of the next-most-previous editing action. Display Builder supports infinite levels of Undo.
159
The user specifies the permission area by name or specifies a field that contains the name. If needed, an indirect pointer chain can be specified to point to this field. One or more permission area tests can be defined for a picture.
160
161
162
The following are included in the CAM dialog editor: Select Script Engine: Select the desired scripting option using the radio buttons. See Defining CAMs Using Third-Party Scripting for information related to creation of script-enabled CAMs. Database: To resolve conditional tests, enter the name of the database that this CAM will access. Application: If only one application owns the data, enter the name of the application. Record(s): Enter the name of the specific record type(s) from the Application database to which this CAM will link. Additional text boxes are provided for defining the record relationships for two- and threedimensional arrays. Note: The test fields specified in any of the conditional tests defined for this CAM must be in the record type specified here, unless pointers are used. Indirect Links: If all test values are accessed by the same indirect pointer, specify the pointer field or indirect chain. Note: Whenever record linkages/indirect pointers are specified to access data in records other than the CAM record, these pointers must be specified in a sequence that proceeds from the record instance defined by the formatted field and points upward/outward into the target database structure. This linkage sequence must match the upward linkage of the records specified in the target database hierarchy. Conditional Wizard: Select Conditional Wizard to activate the wizard for defining the CAMs conditional tests (see Defining Conditional Tests for CAMs and CT for more information). Conditional Statement Text Window: This text window is populated through either of two means: the Conditional Wizard, or direct entry of conditional statements. Select the desired statement line to give the line input focus for Attribute Set definition. A black dot appears to the left of the line when it is active. Verify Conditions: Select Verify Conditions to validate the conditional statements defined. Outcome Attributes Work Area: Define outcomes for each statement using the attribute tabs provided in the outcome attributes work area (see Defining Attribute Sets, Colors Tab, and Lines and Fills Tab for more information). 163
Note: All attribute types that are used (e.g., from the Colors, Lines and Fills, and TrueType Fonts tabs) must be enabled in the Conditional Attributes tab in order to preserve the changes after saving the CAM. For example, if you use an italic font from the TrueType Fonts tab, you must enable Font Slant from the Conditional Attributes tab.
164
To define a script-enabled CAM, use the following procedure: 1. Select the Third-Party Script Engine radio button from the Script Engine option group in the CAM dialog box. The available options will change.
2. Enter the name of the database that this CAM will access to resolve conditional tests in the Database text box. 3. Enter the name of the specific record type from the above database that this CAM will link to in the Record text box. 4. If only one application owns the data, type the name of the application in the Application text box. 5. Select the third-party script language from the combo box. If the desired language is not listed, type in the name. 6. Specify the name of the script function with which this CAM will interact in the Script Function text box. 7. In the Argument Value text box, specify the argument value. 8. In the Type text box, specify the argument value type. 9. When argument value and type have been specified, click Add Argument to add the argument. 10. To modify an argument, select the desired argument from the Arguments list. Make your changes to the Argument Value and/or Type. When changes are complete, click Update Argument to update the argument. 11. To delete an argument, select the desired argument from the Argument list. Click Delete to delete the argument.
Proprietary See Copyright Page
165
166
Figure 34: GEM Editor The following are included in the GEM dialog box: Apply Shift: Check the Apply Shift check box to enable the parameter fields. Database: Enter the name of the database that this GEM will access to resolve the database value. Application: If only one application owns the data, enter the name of the application. Record(s): Enter the name of the specific record type(s) from the above database that this GEM will link to. Text boxes are provided for defining the record relationships for two- and three-dimensional arrays. Coordinate Mode Relative To: Absolute means that the shift value is treated as absolute world coordinates (i.e., relative to the display origin). Relative means that the shift amount is relative to the default position of the element being shifted. Constrained By: 167
Using the Dialog Editors Display Builder Users Guide
X Movement: Use the check box to enable the text box for X axis movement. Enter a single field or an indirect chain in the X Field Name and Indirect Links text boxes. The semantics for ordering indirects matches the semantics required in the Formatted Field Properties dialog box. Y Movement: Use the check box to enable the text box for Y axis movement. Enter a single field or an indirect chain in the Y Field Name and Indirect Links text boxes. The semantics for ordering indirects matches the semantics required in the Formatted Field Properties dialog box. Note: At minimum, either an X or a Y shift factor must be specified.
168
Figure 35: Conditional Text Editor The following are included in the Conditional Text Editor dialog box: Shared GAB: Specify the default shared GAB. These attributes will be overridden by the outcome of conditional test results based on the contents of the assigned Attribute Set. Output Text: Enter a default text string for easier identification of the CT on the scratch pad. The output text field can be used to show the value of proxies. For example, assuming the enabled data server is named EMS1, then the output text string The Enabled Host is %%enabled%% will at run time be displayed as The Enabled Host is EMS1 if the given clause evaluates to true. Add GAB: Select Add GAB to open the Attachment form for shared GABs. Record(s): Enter the name of the specific record type(s) to which this conditional text will link. Text boxes are provided for defining the record relationships for two- and three-dimensional arrays.
169
Note: The test fields specified in any of the conditional tests defined for this CT must be in the record type specified here, unless pointers are used. Indirect Links: If all test values are accessed by the same indirect pointer, specify the pointer field or indirect chain. Note: Whenever record linkages/indirect pointers are specified to access data in records other than the conditional text record, these pointers must be specified in a sequence that proceeds from the record instance defined by the formatted field and points upward/outward into the target database structure. This linkage sequence must match the upward linkage of the records specified in the target database hierarchy. Conditional Wizard: Select Conditional Wizard to activate the wizard for defining conditional tests (see Defining Conditional Tests for more information). Conditional Statement Text Window: This text window is populated through either of two means: the Conditional Wizard, or direct entry of conditional statements. Select the desired statement line to give the line input focus for Attribute Set definition. A black dot appears to the left of the line when it is active. Verify Conditions: Select Verify Conditions to validate the conditional statements defined. Outcome Attributes Work Area: Define outcomes for each statement using the Attribute tabs provided in the outcome attributes work area (see Defining Attribute Sets, Colors Tab, and Lines and Fills Tab for more information). This work area is inactive when the Default statement is the active statement. For Attribute Set A, specify the text string in the Output text box that will appear on the display if the test associated with the A condition is true. Graphic attributes are controlled by the default shared GAB (see Statement Modifiers for more information). For Attribute Set B and all remaining Attribute Sets, specify the text string in the Output text box that will appear on the display if the test associated with the B (or other) condition is true.
170
KEYSET for several years. For Active Scripting to work properly, the respective scripting engine of the target language must be registered at the client machine. Supported script engines are Jscript, VBScript, Perl script, and Python script. The configuration of script files for CT should be the same as for CAM, MENU, and KEYSET. Refer to the e-terrabrowser Software Installation and Maintence Guide for general information on how to configure the script files. The Display Builder has been modified to allow the user to specify an associated script language and function with arguments to pass to the function. This is achieved via the user interface window shown below.
Below is a simple example of Substring testing for CT. Determine if both fields have the substring Brighton between two database values in CT:
function substring_test( val1, val2 ) { var gab, ct, test_result; context = document.ScriptingContext; ct = context.ConditionalText; gab = ct.DisplayGab; var i = val1.indexOf("Brighton"); var j = val2.indexOf("Brighton"); Proprietary See Copyright Page
171
if(i >= 0 && j >= 0) { gab.Foreground = "SandyBrown"; ct.DisplayString = "I found substring Brighton in both field"; } else { gab.Foreground = "Seagreen"; ct.DisplayString = "substring Brighton not found"; } document.Invalidate(); }
To create a conditional statement using the Conditional Wizard, use the following procedure: 1. Click Conditional Wizard. 2. The Test page of the Conditional Wizard appears.
172
3. Use the radio buttons to specify the conditional statement keyword and click Next. Each IF statement defines a separate test from which there is a single result. ELSEIF and ELSE statements support a given IF statement and do not stand alone. An IF statement can be supported by as many ELSEIF statements as desired, but only one ELSE statement. Note: The DEFAULT keyword is reserved for specifying default attributes that give CAMs and conditional text (CT) a default appearance until the test is resolved. 4. The Database Field page of the Conditional Wizard appears.
173
5. Specify the location of the test field using either the Database Field text box or the Indirect List text box. Click the radio button next to the desired text box to activate it. Click Next. Database Field: Enter the target field name in field_record format. Indirect List: Enter the chain of indirect pointer fields in field_record format, starting with the CAMs field record specification. Important: Indirect pointers specified in a CT definition must be listed in an order matching the database hierarchy, starting locally (at the picture record) and jumping upward through the database hierarchy. (See the Hdb Users Guide in the e-terrahabitat documentation set for more information about pointers in e-terrahabitat databases.) 6. The Logic page of the Conditional Wizard appears.
174
7. Using the radio buttons, specify the logic for comparing the test field to a comparison field or value, and click Next. Quantitative Test Radio Buttons: Select from the buttons provided to define a comparative test between database quantities or userspecified literal values. Boolean Test Radio Buttons: Select the True or False radio button to specify the boolean test desired. 8. The Comparison Value page of the Conditional Wizard appears. If you selected a quantitative test radio button on the Logic page, the fields on this page are active.
175
9. Specify the location of the comparison field using the Database Field text box, or specify a literal string for comparison. Click the radio button next to the desired text box to activate it. Click Next. Database Field: Enter the target field name in field_record format. Literal Value: Enter the literal value for the comparison. Type: Specify the format of the literal value by selecting the type from the dropdown menu. 10. The Check Statement page of the Conditional Wizard appears. The summation of the test statement, followed by the keyword SET (for attribute set), appears in the Check Statement text box.
176
11. Using the radio buttons, select between the following options: Apply GAB or text modifications when this statement is true: Select this radio button if an attribute set assignment is desired. Wait to add another phrase: Select this radio button if an attribute set assignment is not desired (when an AND or OR statement must be added). 12. Click the Finish button if the conditional statement is acceptable. The Conditional Wizard closes, and the results appear in the editors conditional statement text window. 13. If you selected the Apply GAB option, the wizard has added the keyword SET to complete the statement and has assigned an attribute set. This attribute set is identified by a letter. 14. If you selected the Wait to Add option, the user must add the modifying keywords. The keyword SET must also be added to conclude each statement (see Statement Modifiers for more information). 15. Click the Verify Conditions button to determine whether the statement(s) are acceptable. Keywords displayed in red indicate errors; correct and re-verify. The conditional statement(s) for the CAM or conditional text are now defined. The next step is to define the attribute set for each test. Note: You can also define conditional statements directly in the editor conditional text box using standard editing techniques.
Proprietary See Copyright Page
177
178
The following options are available: Visible: Selecting this option toggles between Visible (default) and Not Visible. Foreground: Selecting this option sets the foreground color to the color currently specified on the Colors tab. Background: Selecting this option sets the background color to the color currently specified on the Colors tab. Blink: Selecting this option toggles between Blinking (default) and Not Blinking. Line Width: Selecting this option sets the line width to the width currently specified on the Lines and Fills tab. Line Style: Selecting this option sets the line style to the style currently specified on the Lines and Fills tab. Fill: Selecting this option toggles between Filled (default) and Not Filled. Fill Style: Selecting this option sets the fill style to the style currently specified on the Lines and Fills tab. Fill Pattern: Selecting this option sets the fill pattern to the pattern currently specified on the Lines and Fills tab. Fill Rule: Selecting this option sets the fill rule to the rule currently specified on the Lines and Fills tab. Font Family: Selecting this option sets the font family to that currently specified on the Fonts tab. Font Size: Selecting this option sets the font size to that currently specified on the Fonts tab. Font Weight: Selecting this option sets the font weight to that currently specified on the Fonts tab. Font Slant: Selecting this option sets the font slant to that currently specified on the Fonts tab. Halo Style: Selecting this option toggles between Halo Style (default) and None. 3. Specify the parameters for Conditional Attributes other than toggles using the Colors, Lines and Fills, and Fonts tabs (see Colors Tab, Lines and Fills Tab and Fonts Tab for more information).
179
Figure 36: Menu Editor To define menu labels and commands, use the following procedure: 1. Select the element set window. 2. To open the New Name dialog box, select New > Menu from the Definition Manager menu bar. 3. Enter a name for the menu in the text box. 4. Click OK to save the name and close the New Name dialog box. The menu is now named, and its name appears in the title bar of the Menu dialog box. The Edit Menu tab is active. 5. Type a label in the Label text box. This is the text that will appear in the list of menu items when a menu is accessed. The label can be any alphanumeric text string, including blank spaces, up to 32 characters.
Proprietary See Copyright Page
180
6. Select the Command radio button if selecting the label will issue a command, and enter the command in the adjacent text box. This can be any e-terrabrowser command, a series of commands separated by semicolons, or part of a command. Or: Select the Submenu radio button to specify that the label will activate a submenu when selected. Enter the submenu name in the adjacent text box. 7. Click Add to add the label to the list box. 8. Right-click in the Menu Editor and select the Save Data option to save the menu definition. See Edit Menu Tab for more information. It is possible to define a base command that can be added to the commands defined for individual labels. This prevents redundancy when all commands will begin or end with the same base command (see Menu Definition Tab for more information).
181
Update: Use this button to save changes to an existing label. Delete: Use this button to remove an existing label from the Menu Items list box.
Figure 37: Definition Tab of the Menu Editor Dialog Box The following are included on the Menu Definition tab of the Menu Editor: Select Script Engine: Select the desired scripting option using the radio buttons. Base Command: Specify a base command to be associated with each label in the menu. Append Item to Base Command: Select this radio button if the base command should follow each label command. Append Base Command to Item: Select this radio button if the base command should precede each label command.
182
Figure 38: Edit Keyset Tab To define virtual keys and their commands, use the following procedure: 1. Select the element set window. 2. To open the New Name dialog box, select New > Keyset from the Definition Manager menu bar. 3. Enter a name for the keyset in the text box. 4. Click OK to save the name and close the New Name dialog box. The Keyset is now named, and its name appears in the title bar of the Keyset dialog box. The Edit Keyset tab is active. 5. Enter the virtual key name in the Key Name text box. This can be any alphanumeric text string up to 32 characters; characters must reside in the system key map. (See the e-terrabrowser Users Guide for information about defining virtual key names in the system key map.)
183
6. Specify the command for this virtual key in the Command text box. A series of commands must be separated by semicolons (;). 7. Click Add to add the key assignment to the list box. 8. Right-click in the editor window and select the Save Data option to save the keyset definition.
184
Figure 39: Keyset Definition Tab The following are included on the Keyset Definition tab of the Keyset Editor: Select Script Engine: Select the desired scripting option using the radio buttons (see Defining Keysets Using Third-Party Scripting for more information). Flash on Select: Select this toggle to cause the object to which the keyset is attached to flash when a valid keystroke is performed. Use Command Line to Complete: Select this toggle when command text will be entered by the operator from a command window. Append Keyset Command to Key Map Command: Select this toggle to cause commands defined in the keyset to be appended to the commands defined for the virtual keys.
185
or a change in database field values. Operations such as changing graphics colors, mobilizing display objects, altering online display definitions, exchanging messages with other processes, and launching external programs (just to name a few) can be achieved by third-party scripts written in various scripting languages such as JScript (Microsoft JavaScript), VBScript, and PerlScript. Third-party scripting is enabled on the Definition tab of the Keyset Editor.
Figure 40: Keyset Definition Tab Enabled for Third-Party Scripting Configuration To define a script-enabled Keyset, use the following procedure: 1. Create a new keyset (see Defining Keysets), or open an existing keyset for editing. 2. On the Definition tab, select Third-Party Script Engine from the Select Script Engine option group. 3. Select Flash on Select, if desired. This option causes the object to which the keyset is attached to flash when a valid keystroke is performed. 4. Select the desired script language. If the language is not available, type in the name.
186
After the script language has been specified, select the Edit Keyset tab to complete the keyset definition by setting the following parameters: Key Name: Specify the virtual key. Function: Specify the name of the script function this keyset will interact with when the specified virtual key is received. Argument Value: Specify the argument value. Type: Specify the argument value type. Add Argument: When argument value and type have been specified, press the Add Argument button to add the argument. Update Argument: Select the argument you want to update in the Arguments list. Make your changes to the Argument Value and/or Type. When the changes are complete, press the Update Argument button to update the argument. Delete Argument: Select the argument you want to delete in the Argument list. Press the Delete button to delete the argument.
187
Figure 41: Change Reference Dialog Box Change all references to Element Sets in this Display Set to: Enter the name of a valid element set, and click OK to change the reference.
Placement Properties forms contain one or more tabs. These tabs are activated and de-activated depending on the context of the selection. Angle: A rotation angle property has been added to all placeable objects except for picgroups. Both Display Builder and the 188
Other Forms, Dialogs, and Tabs Display Builder Users Guide
e-terrabrowser client will rotate the given placement according to each rotation angle before rendering the placement. Definition: This tab is unique to the selected object for each Placement Property form. Details about a placed objects Definition tab can be found in the following sections. Tool Tip: This placement property can be used to specify a descriptive text message that will be activated when the cursor hovers over the placement. Tool tips can contain any combination of static text, proxy strings, and database fields. This allows the display to provide contextsensitive information about the object under the cursor and how it can be used. Proxies can be embedded in the tool tip using normal syntax %myProxy% (see the e-terrabrowser Reference Manual for more information about proxies). Database fields can be embedded in a tool tip using the syntax %%myField%%. If needed, an indirect pointer chain can be specified to point to this field. There is no limitation on the number of proxies and/or field values that can be referenced in a given tool tip.
189
The subscript field appears if the picture selected resides on the Picgroup Editor scratch pad. This field is used for any picture whose record occurrence does not match the driving record subscript. The user must specify the field where this subscript can be found in field_record format. To change coordinates, edit the X and/or Y origin values. To change the picture appearing at the placement location, edit the reference picture and/or element set fields. See Attachments Tab, Define Link Tab, and Lock Tab for more information.
190
The attribute of this Definition tab is as follows: Size: The Width and Height text boxes contain the coordinates of the primitive.
See Attachments Tab, Declutter Tab, Colors Tab, Lines and Fills Tab, and Fonts Tab for more information. 6.2.5.3 Placed Circles Circles are defined by their diameters. The attribute of this Definition tab is as follows: Diameter: Enter a new number to change the diameter of the circle.
See Attachments Tab for more information. 6.2.5.4 Placed Arcs Arcs are defined by width and height parameters, and by their angle of rotation away from their anchor point and their angle of sweep or extent. The attributes of this Definition tab are as follows: Size: The Width and Height text boxes contain the symmetrical dimensions of the arc from its origin in pixels. Symmetry is maintained when a dimension is modified. Angles: Arcs are created in a rising sun attitude with their anchor points (A) to the right of center in the horizontal plane. The text boxes for modifying the attitude and extent of an arc are as follows: Anchor: This value represents an amount of rotation in a counterclockwise direction from the arcs anchor point. This rotation gives the arc its horizontal/vertical attitude. Extent: This value denotes how much of a circle the arc represents. See Attachments Tab for more information.
191
each option. The results of user selections are immediate; the View menu is updated, and the tool bar is made available or unavailable from the Definition Manager as specified.
Figure 42: File Transfer Form The following are included on the File Transfer form: Login: The user specifies login information in this section. Host: Enter the name of the e-terrabrowser server. The entry in this field is saved.
Proprietary - See Copyright Page
192
Account: Enter the user account on the destination machine. The entry in this field is saved. Password: Enter the password to the user account. The entry in this field is saved. File Transfer: The user controls file transfers with the buttons in this section. Send to Host: Set ON to put the FTP utility in upload mode. Get from Host: Set ON to put the FTP utility in download mode. Transfer Now: Click the Transfer Now button to start the transfer. Directory and Files: The user specifies the path names of the server and local transfer directories in this section. Note: This path is automatically defined if the user selects the transfer file(s) using the Windows File Open dialog (see Files below). Host Directory: Enter the path name of the server transfer directory in the text box provided. Local Directory: Enter the path name of the local transfer directory in the text box provided. File List Window: Enter the filenames in this window, or use the Files button described below. Files: Click the Files button to access the standard Windows File Open dialog box. When the user OKs this dialog, the selected file(s) appear in the Transfer Files text box. If the Change Local Directory text box is empty, the path to the file(s) is echoed there. Host File Locking: The user specifies file locking controls in this section. Lock ID: User ID supplied by Display Builder; enter a new identifier if desired. Lock/Unlock: Click the Lock button to create a .LCK file in the Host transfer directory for each file specified in the file list window. Reverse the lock with the Unlock button. Note: .LCK files indicate which files are currently being modified. Display Builder notifies the user if the current file transfer is targeting one of these files. The user must remove the lock before the transfer will be successful.
193
FTP Message Window: The FTP utility echoes its actions in the window at the bottom of the form.
Figure 43: Add Placement Dialog Box The user selects the placeable element type using the Symbol, Conditional Text, or Picture radio buttons and the set where it resides using the Element Set dropdown list box (only open sets appear in the list). The placeable elements appear in the forms list box. The user places an element by selecting it and clicking OK. A filter text box is provided to aid in the search for elements. The search is dynamic with data entry populating the list box with matches without other user action. The asterisk wildcard is supported.
194
Figure 44: Add Attachment Dialog Box The user selects the placeable element type using the Shared GAB, CAM, Keyset, Menu, or Popup Picture radio buttons and the set where it resides using the Element Set dropdown list box (only open sets appear in the list). The placeable elements appear in the forms list box. Drag-and-drop does not work in this context. The user places an element by selecting it and clicking OK. A filter text box is provided to aid in the search for elements. The search is dynamic with data entry populating the list box with matches without other user action. The asterisk wildcard is supported.
195
Figure 45: Options Tab of the Options Form The following are included on the Options tab of the Options form: Draw lines with flat ends: Set ON to apply this characteristic of blunting the end points of polylines.
Warning: This feature can produce unpredictable results if the displaygenerating hardware and software resident on a workstation do not support it.
Proprietary - See Copyright Page
196
Automatic Save: Set ON to activate Auto Save; specify the interval in minutes. Auto Save Directory: Specify the directory for the backup file. Compiler Compatibility Version: Select the version of e-terrabrowser with which your work will be compatible. This is an important feature that controls the availability of display features compatible with a given version. Note: It is very important to select the appropriate compatibility version. Please see Selecting the Compatibility Version for a detailed description of Display Builders compatibility version feature. See Display Feature Cross-Reference for a detailed cross-reference between compatibility versions and display features. Below is a list of all compatibility versions currently supported by Display Builder: Compatibility Version FG 2.6.1 Compatibility Version FG 3.0 Compatibility Version FG 3.0.2 Compatibility Version FG 5.0 Compatibility Version FG 5.1 Compatibility Version FG 5.2 Compatibility Version FG 5.2.1 Compatibility Version e-terrabrowser 2.1 Compatibility Version e-terrabrowser 3.0 Compatibility Version e-terrabrowser 3.1.2 Compatibility Version e-terrabrowser 3.2.1 Compatibility Version e-terrabrowser 3.3.0
WebFG Root Output Directory: Enter the destination directory for the output of any binary compilation of displays for e-terrabrowser usage. WebFG Image Directory: Enter the directory where image files are located. This directory path gives Display Builder access to image files at design time. Note: This path is not saved as part of the display definition. At run time, the image path must be supplied in the webfg_config.txt file in
197
order to give the e-terrabrowser client access to the image files used in a given display. Embed image data streams into compiles display file: This option allows you to choose between compiling background images into the display file, or linking to background images in the specified directory. Note: Displays that reference external image files should not incur noticeable performance degradation for display call-up, scrolling, or zooming once these image files have been downloaded and cached. Displays that contain compiled-in image files will have a larger file size and will take longer to load. Dont warn me about Compatibility Settings when opening files: When an element or display set is opened in Display Builder, the current compatibility version is compared to the version that was used when the element or display set was saved. An informational message will be issued if the versions do not match. This informational message is optional and can be disabled. It might be useful to disable this option while performing batch compiles, etc. 6.3.5.2 Customize Colors Tab
Figure 46: Customize Colors Tab The following are included on the Customize Colors tab:
Proprietary - See Copyright Page
198
Drawing Background: The color of the button indicates the background color of all scratch pads. Alignment Grid Button: The color of the button indicates the color of the grid lines on all scratch pads. Color Palette List Box: Mirrors the drawing background color and alignment grid color selections. Selection Style: Depending on the background color, the default selection box is sometimes hard to see. The user can choose a dotted border or a solid border to make the selection box easier to see. By default, the selection box is drawn using the Hatched Border option. Dotted Border: The selection box is shown in dotted border, which has medium visibility. Solid Border: The selection box is shown in solid border, which has the most visibility. Hatched Border: The selection box is shown in hatched border, which has the least visibility.
See Customizing the Building Environment for details about using the Customize Colors tab. 6.3.5.3 Font Mapping Tab Display Builder represents FG fonts by using Windows TrueType fonts. The Font Mapping tab of the Options form maps the available FG font family fonts to a TrueType font family. Modify the mapping to obtain the best match of appearance and size of fonts. See Customizing the Building Environment for details about using the Font Mapping tab.
199
Figure 47: Font Mapping Tab The following are included on the Font Mapping tab: Font Mapping Table: The FG font families and their mappings to TrueType fonts are listed here. Select Font: Click this button to call up the standard Windows Font dialog box.
200
Figure 48: Scratch Pad Options Dialog Box The following are included in the Scratch Pad Options dialog box: Grid Settings: Set the toggles in this section to control grid usage. Selecting Show Grid causes the gridlines to be displayed; unselecting it causes them to be hidden. Gridlines are displayed by default. Selecting Snap to Grid causes objects placed on the scratch pad to automatically align with the grid. Unselecting Show Grid does not affect whether or not objects will snap to the grid; objects will continue to snap to the invisible gridlines. Selecting Square Grid causes the value of an entry on either the X or Y axis to be mirrored in the companion entry. If Square Grids is unselected, the X and Y values can be entered independently. Setting Show Grid Interval controls the number of gridlines displayed on the scratch pad. Changing the grid interval does not change the size of the grid, and objects will continue to snap to the invisible gridlines. Square Grids: Set ON to activate square gridding. X and Y Grid Sizes: Specify the pixel spacing between grid lines in the X and Y directions.
201
Show Grid Interval: Specify the interval of grid painting in the scratch pad (every grid line or some alternative interval). Zoom: Specify the magnification (%) of the scratch pad. The default value is 100, which is standard magnification. Selection Handles: Use the radio buttons in this section to specify the attributes of the handles (hot spots) that appear when an object is selected. Handles Inside: Set ON to put the handles inside the object perimeter. Handles Outside: Set ON to put the handles outside the object perimeter. Size: Specify the size of the handle in pixels. Display Margin: Specify any margin (in pixels) that is desirable for separating the grid from the edge of the editor window. Note: When the user closes the editor, the settings specified on the Scratch Pad Options form are applied to the current scratch pad and saved for future sessions. These options are saved separately for each type of scratch pad (symbol, picture, picgroup, and display).
202
Figure 49: Attachments Tab The attachments are added to the list box using the Add Attachment button. Selecting an attached element, then selecting the Edit button, opens the attached elements editor. Selecting an element, then selecting the Delete button, removes the attachment. See Making Attachments to Placed Objects for details about attaching elements to objects.
203
Figure 50: Permission Test Tab The user can specify the permission area by name or specify a field that contains the name. If needed, an indirect pointer chain can be specified to point to this field. One or more permission area tests can be defined for each object. The following are included on the Permission Test tab: Apply Permission Test: Set ON to enable test definition. Permission Granted When: Use the radio buttons to specify when display access will be permitted. All areas are valid: Select this radio button to grant display access only when all specified area permission tests pass. Any area is valid: Select this radio button to grant display access when any of the tests pass. For Areas Specified By: Use the radio buttons to identify how the area ID used in the test is being specified.
204
Area names: Select this radio button to specify that the text entered in the list box is the area ID. Fields and indirects: Select this radio button to specify that the text entered in the list box identifies a database location for the area ID. Area ID Data Entry: Type the area ID or its database location in the list box. The database location can be specified with global fields, record fields, or record fields with indirects. OK each test definition separately.
205
The selected objects are identified by their element type icon, type name, and element name. Formatted fields are identified by their field_record definition rather than element name. Note: Selecting an object causes it to flash on the scratch pad.
Figure 52: Define Link Tab You specify the linkage for a picture, symbol, or primitive by entering a composite key, with each entry separated by a carriage return. See Defining Simple Layer Database Linkages for details about entering composite keys.
206
Figure 53: Lock Tab Set the X Locked toggle ON to lock the picture in the horizontal (panning) direction. Set the Y Locked toggle ON to lock the picture in the vertical (scrolling) direction. See Locking Picgroup Objects for more information.
207
Figure 54: Scale Tab The following are included on the Scale tab: Apply Scale Factor: Set ON to activate the fields on the tab. Scaling Field: Specify the record field whose value will be represented by the size of the symbol or primitive. Growth Buttons: Select the button that indicates the direction(s) of growth. Minimum Growth Percentages: Specify the location of the value that determines a scaling to 0% of original size by selecting one of the following: Field: Enter the field_record identifier in the text box. Literal: Enter the integer value in the text box.
208
Maximum Growth Percentages: Specify the location of the value that determines a scaling to 100% of original size by selecting one of the following: Field: Enter the field_record identifier in the text box. Literal: Enter the integer value in the text box. No Limit: Set ON if the object has no growth maximum.
Figure 55: Declutter Tab Set the Declutter toggle ON to activate the zoom % boxes, then specify the percent level of zoom at which decluttering will occur. See Defining Placement Declutter for details about the declutter specifications.
Proprietary - See Copyright Page
209
Figure 56: Colors Tab The following are included on the Colors tab: Foreground and Background (Alternate Blink Color): Select the Foreground or Background button, then select a color from the color palette list box. The result of the selection is mirrored on the selected button. Note: The background color specified becomes the background color of run-time text entry boxes when the GAB is attached to an enterable formatted field. Blinking Option: Set ON or OFF to set the shared GABs blink attribute.
210
Figure 57: Lines and Fills Tab The following are included on the Lines and Fills tab: Line Width: Move the slider to specify the line width in pixels. Fill Pattern: Select a fill pattern from the list box. If the object can be filled and has the Fill attribute set to Filled, this pattern will be painted. Fill Options: Set the Fill, Fill Style, and Fill Rule options as follows: Unfilled/Filled: Select Unfilled for an empty interior or Filled for a patterned interior. Solid/Stippled/Opaque: Select Solid for solid coloration, Stippled for a dotted coloration with the background color predominant, or Opaque for a dotted coloration with the foreground color predominant.
211
Even-Odd/Winding: Select Even-Odd for alternating fill within a polygon and Winding for total filling of a polygon. The Even-Odd selection tells the Fill utility to alternately fill spaces that result from construction lines. Halo: The Halo Style attribute affects how graphics are rendered. Specifically, it determines whether and how an enclosing band in the background color of the GAB should be drawn around the primary graphics. Halo Style is intended to create the highlight effect during abnormal conditions. None: No Halo highlight effect. One Pixel: Thin highlight effect. As Line: Thick highlight effect.
212
Figure 58: Fonts Tab The user specifies the font by selecting the character set, family, size, weight, and slant from the dropdown lists.
213
Figure 59: TrueType Fonts Tab Users can specify the font by clicking the Select TrueType Font button, and then clicking the OK button.
214
215
7. Multi-Dimensional Displays
Tabular layers can be defined to automatically generate a table showing two dimensions in a multi-dimensional array. This is accomplished by defining a special multi-dimensional (multi-D) picture, placing it in a picgroup, and placing the picgroup on a tabular layer. The multi-D picture is unique in that it specifies more than one record in its definition (the records in the multi-dimensional array). In addition, all formatted fields in the picture must be defined in the form: fieldname_recorda_recordb_recordc where fieldname is the name of the field in the multi-dimensional structure to be displayed and recorda, recordb, and recordc are the multidimensional records specified in the picture definition. Note: For two-dimensional arrays, only two records are specified in the picture and formatted field definitions. The multi-D picture is defined to display the various instances of the multi-dimensional field, F_A_B_C, where F is the field name and A, B, and C are the records in the multi-dimensional array that share the field. The multi-dimensional repeats the picgroup, thus showing the various values of F for successive instances of A for constant values of B and C. The picgroup repeats showing the various values of F for successive values of B.
216
Figure 61: Multi-Dimensional Tab To modify the default driving data, use the following procedure: 1. Call up the Tabular Layer Properties form using the Layers push button in the tool bar, or the Layers and Driving Data option from the Display menu. 2. Select the Tabular Definition tab.
217
3. Select the Multi-Dimensional radio button. 4. Select the Multi-Dimensional tab. 5. (optional) Specify the data retrieval sequence using the First and Last Subscript radio buttons. 6. (optional) Modify the record processing order by editing the text boxes, as follows: Type in the name of the record that repeats within the picgroup in the first text box. Type in the name of the record that repeats with the picgroup in the second text box. Type in the name of the record held constant in the third text box. If you have changed the record held constant, modify the Record Subscript For text box to match. 7. (required for three-dimensional displays) Specify which occurrence of the record held constant will be displayed. Specify a subscript value literally, as follows: Or: Specify a proxy that evaluates to a subscript value, as follows: Or: Specify a composite key, as follows: Select the Composite Key radio button. Type the linkages in the dialog box. Select the Proxy radio button. Type the proxy string in the text box. Select the Literal radio button. Type the literal value in the adjacent text box;
The default driving data for the multi-dimensional display is now modified. See Tabular Definition Tab for details about Tabular Layer Properties form usage.
218
219
220
Alternatively, the user can create unbound versions of the display. See Using the rfgdisdef Compile DSet Command for details about compiling unbound versions of displays.
221
Enter the following command at the command-line prompt: rfgdisdef bind dset_name display_name where display_name specifies the display you are binding.
Rapport-FG would bind the display to the applications specified in the display definition using the PERMIT database to determine the appropriate database clone (family) to bind to. See the e-terrabrowser Reference Manual for more information about the rfgdisdef Bind command.
222
223
224
Table 17: Standard Display Formats e-terrahabitat Recommended Data Type Notation Format Type Boolean B*1, B*2, B*4 TEXT PAIR Character Date Integer Logical Real Time C*n D*1, D*2 I*1, I*2, I*4 L*1, L*2, L*4 R*4, R*8 T*4 CHARACTER TIME/DATE INTEGER TEXT PAIR REAL TIME/DATE
When the Time/Date option is selected, the format is further defined using the Time/Date dropdown list box. When the Text Pair option of the Type menu is selected (for boolean and logical field types), the format is defined using the Text Pair section of the dialog box. Using the boolean radio button selection, boolean and logical field bit settings can be displayed as either text strings or directional arrows. The text strings are specified in the Positive/True and Negative/False text boxes. The directional arrows are defined using the bitmap menus. In addition, text pairs can be defined to accompany integer and real fields to show the sign of the field value. The sign can also be displayed as either a text string or a directional arrow.
The size and position work together. For CHARACTER fields, they can be used to limit the display. For example, if you wanted to display only the last four characters in the C*8 field, you would set the size to 4 and the position to 5. A position of 1 in this case would display the first four characters. Blanks in the field value are always counted as characters. For Real and Exponent formats, the size must be large enough to display all parts of the value. For REAL formats, this includes the integer, the decimal point, and the number of decimal places (as defined by the position). For example, it would require a minimum size of 6 with a position of 2 to display the real value 345.67 as 345.67. For a value of 1234.567 rounded to the nearest tenth, a size of 6 and position of 1 would be needed (1234.6). For EXPONENT formats, this includes all of the above and the exponent. The exponent requires 5 places: two for the letters EE indicating an exponential value, one for the sign of the exponent (+ or -), and two for the exponent (i.e., 02). For example, it would require a minimum size of 9 with a position of 2 to display the real value 1236.66667 as 1.24EE+03 in EXPONENT format. In all cases, the size and position should be defined on all enterable fields to accommodate the largest number your users may enter, including the level of decimal accuracy. Field values for display may only be limited in size and position if space is an issue.
226
Table 18: Character Field Display Examples Field Value DOGHOUSE SIZE 8 3 5 4 POSITION 1 1 4 3 OUTPUT DOGHOUSE DOG HOUSE GHOU
227
Table 20: Integer Field Display Examples (I*2) Field Value 1234 12345 12345 12345 4589 7392 12345 Format TYPE INTEGER INTEGER INTEGER EXPONENT HEX OCTAL REAL 4 5 4 16 8 8 8 SIZE 1 1 1 3 1 1 2 POSITION OUTPUT 1234 12345 **** 1.234EE+04 11ED 16340 12345.00
**** Format ERROR In this case, the SIZE is too small for the value.
Table 21 shows example format, size, and position settings and the resulting display output for various R*4 field values. Table 21: Real Field Display Examples (R*4) Field Value 1234.00 123.327 7.666667 7.666667 7.666667 123.327 Format TYPE REAL REAL REAL INTEGER EXPONENT EXPONENT 8 8 12 8 12 12 SIZE 2 2 6 1 4 2 POSITION OUTPUT 1234.00 123.33 7.666667 8 7.6667EE+00 1.23EE+02
Table 22 shows examples of integer and real field values that have a text pair defined to accompany the field value and display the sign of that value.
228
Table 22: Integer and Real Fields with Text Pairs Field Value 123 - 123 - 123 12.3456 1345.87 Format TYPE Sign/Boolean INTEGER INTEGER INTEGER REAL EXPONENT Sign Sign Sign Sign Sign POS/NEG Pos / Neg --> / <-+/Y/N --> / <-OUTPUT Pos 123 <-- 123 - 123 Y 12.3456 --> 1.35EE+03
229
11 3 9 9 3
Field Display Formats Display Builder Users Guide
MM, DD, YY, YYYY, HR, MN, SC, HC, HM, MLTM
2 2 2 4 2 2 2 2 2 4
In addition to the formats shown in Table 24, you can define the following using other options in the Time/Date dropdown list box: The name of the current holiday, if the day has been defined in the Time/Date database as one, using the Holiday option. The size should be set to 12. Displaying whether Daylight Savings Time is in effect using the DST option. This displays the character defined in the DSTCHAR global field in the TIMEDATE database when daylight savings time is in effect and blank when not. The size should be set to 1. Displaying the time zone using the TMZ option. This is a threecharacter display of PST, EST, etc.
Table 25 shows example time/date settings and the resulting display output for various date and time field values.
231
Table 25: Time and Date Field Display Examples Field Type Field Value D*1 Monday D*1 D*2 D*2 D*2 D*2 D*2 T*4 Thursday 01-JAN-1992 23-AUG-1991 23-AUG-1991 05-DEC-1988 05-DEC-1988 TIME/DATE Setting DAY WEEKDAY DATE VMS MON MM, DD, YY1 YYYY SIZE 3 9 11 11 3 21 4 MON THURSDAY 01-JAN-1992 23-AUG-1991 AUG 12 05 88 1988 23-JAN-1992 11:56:05 23-JAN-1992 11:56:052 11, 56, 05 2356 PST3 Y4 OUTPUT
23-JAN-1992 DATE AND 20 TIME 11:56:05 T*4 23-JAN-1992 VMS 20 11:56:05 T*4 23-JAN-1992 HR, MN, SC1 21 11:56:05 T*4 23-JAN-1992 MLTM 4 11:56:05 T*4 23-JAN-1992 TMZ 3 11:56:05 T*4 23-AUG-1991 DST 1 05:17:23 1 Defined as three separate formatted fields. 2 Will display all on one line. 3 Will vary depending on time zone. 4 Will vary depending on DSTCHAR field definition.
232
Database values will be multiplied by a format factor before being displayed. Entered data will be divided by a format factor before being stored in the database.
233
234
Figure 63: How Bounding Rectangles Are Defined These expanding bounding rectangles can cause unintentional overlap of placed objects, resulting in improper display appearance and performance. For example, if one field expands over another, data entry is prevented in the overlapped field. Figure 64 shows other potential negative results of expanded bounding rectangles.
235
Figure 64: Overlap of Bounding Rectangles on a Display Recommendations: Based on the above, the following recommendations are made to avoid problems with overlapping bounding rectangles: Begin all pictures and symbols in the upper left corner of the scratch pad. This will aid in aligning pictures and symbols and will reduce the risk of overlap.
Note: See next hint for additional cautions. Use caution when placing objects with keysets attached next to expandable objects. Overlapping bounding rectangles can hide a keyset from a user, even though the object is visible. When placing formatted fields, use the largest possible character as the builder display character. For most fonts, this is the uppercase W. If the character chosen is integral to identifying the field in the scratch pad, place the field using the widest character, then change the display character to its identifier.
236
If displaying a large character field (e.g., 32 characters or greater), using the W may create a field that is far too wide. In this case, it is recommended that you use one of the average-sized letters shown in Table 26. Table 26: Average-Size Characters of Fonts Text Family Souvenir Schoolbook Helvetica Courier Normal Text ADKRUV CDKOQRX ACDGHNXYZ Any character; all characters are the same width. Bold Text BCGNPTXY DGKOQRU ACEPTVXY
Always have default output text for conditional text. Set the default output string to the widest text string possible using the largest possible font style and size. Not only will this aid in spacing in the picture, but it provides a means of seeing the conditional text in the picture scratch pad. Define the maximum growth limit (on the Scale Factor tab), or avoid placing other objects next to primitives or pictures with scale factors. Use caution when placing primitives near the top or left of the picture scratch pad that can be scaled up or to the left. These will be cut off because the picture does not scale up or to the left.
10.2 Text
The following sections detail recommendations regarding the construction of text in displays.
237
Figure 65: Position and Expansion of Text Recommendations: Based on the above, the following recommendations are made to keep text objects from being truncated: Do not place text, formatted fields, or conditional text at Y-coordinate 0. When placing text, formatted fields, or conditional text at or near the top or left side of a picture, ensure that they are placed using the largest possible characters and font style. For example, suppose a text string at the top left corner of a picture could have its font style and size changed by a CAM. To ensure it does not expand outside the bounding rectangle: Define the text string. Apply the shared GAB. Select the Show Text Bounding Boxes option from the editors menu to check the estimated maximum extent of the text string.
238
239
240
CAMs attached as overall attachments to pictures or picgroups placed in displays will always override CAMs attached to objects within the picture or picgroup definitions. CAMs attached locally in pictures or picgroup editors will override GABs.
241
IF A TRUE AND (B = "KV" OR B = "VOLT") then you must define the test as follows: IF A TRUE AND B = "KV" ELSEIF A TRUE AND B = "VOLT" Now, when B = VOLT, the IF clause does not pass but the ELSEIF clause does, which is the desired result.
242
243
Place the symbol over the field. Size the invisible formatted field (by changing fonts and display characters) and symbol so that they are the same size.
For a list of available proxy strings, see the e-terrabrowser Reference Manual.
Note: When locking placements in X and Y directions, you must keep a contiguous L shape of the locked objects using the top and left sides of the display.
244
To define a test for a constant picgroup, do the following: Define a picture for the global field. Define a formatted field in the picture. Specify the global field as an indirect pointer in the DB Field Definition dialog box, defining the field name as the field in the record you wish to test. Define a CAM, specifying the global field in the Record text box and as an indirect pointer in the CAM Definition dialog box. Define the CAM tests on the field in the destination record. Attach the CAM to the formatted field. Place the picture on the constant picgroup. Do NOT specify it as the primary picture.
245
246
At the refresh rate, checks for refreshed values in the appropriate e-terrahabitat databases and, if needed, sends the client a list of the changed values.
e-terrabrowser Server
DISPLAY Command From Client
Database Values
Paints the display after all data structures are complete. Repaints the display, as needed, at the refresh rate.
e-terrabrowser Client
Placement Data
Database Values
iMac
248
does, however, create data structures for the invisible placements, such as pictures hidden by CAM resolution. The resolution of database variables such as determining field values using indirects, refreshing driving structures and indirects, and resolving CAMs is generally the most time-consuming processing that the server performs. Therefore, it is generally true to say that the larger the viewport and the greater the density of database variables to be displayed in the viewport, the greater the time it takes to call up the display.
Screen and room layout (the size and other attributes of the viewports into which displays are called). In turn, the complexity of the simple layers, tabular layer pages, layers, and declutter levels, determined by: The number and complexity of the placements (pictures, symbols, and primitives) to be painted. The number and complexity of conditional elements (CAMs, conditional text, scale factors, etc.) that must be processed. The number of database linkages and the refresh load.
Specific guidelines for each of these performance factors are given below.
249
250
Guidelines: Reduce the size of tabular layer pages by limiting the amount of database information shown on one page using the page headers, page enders, picgroups/page, or records/page attributes. This is especially helpful for long lists of data. Minimize the number of refreshable items. Fastest to slowest types of tabular layers: Indexed Repeat Link List Link List with Integer Sequence Link List with Character Sequence Hierarchical Multi-Dimensional Reduce the overall complexity of tabular layer pages by reducing the number of layers requested in the display call-up. Remember that conditionality is very expensive. Design tabular layers to reduce the number and complexity of picgroups placed on the display. Design picgroups to reduce the number and complexity of the placed and conditional elements. Design picgroups to reduce the total number of database linkages. Start the tabular information with a DB Key linked to Key0 Key9, rather than issue a DISPLAY/FIND or DISPLAY/POSITION display call-up command. Remember that setting the option for the last page number proxy will slow display call-up.
251
Guidelines: Place only data initially needed by users on the layers specified to display on call-up, and place all other data on layers not specified on initial call-up. For tabular layers where more than one layer is required to display the required data, reduce the overall complexity of the layers as much as possible. For keyset and menu definitions that request specific layers using the /LAYER qualifier, all needed layers, including the DEFAULT, must be specified.
252
11.3.6.3 Display Background Primitives Background primitives (graphics and text) placed directly on the display must be sent from the server to the client. This causes additional data structures to be created at the server and sent to the client. Guidelines: When at all possible, place needed background in a picture or symbol, then place it on a display.
11.3.6.4 The Effect of Drawing Order Objects on a display are processed during call-up in the same order in which they are drawn or placed in the Display Builder editor. This affects display performance, in that it takes less time to process a display when the client can paint all elements with the same set of graphic attributes one after another. Guidelines: When defining elements, picgroups, and displays, define and place all items that use the same set of graphic attributes (i.e., the same shared GAB) at the same time. For example, define all polylines that will have the same attributes at the same time on a simple layer one-line diagram. Define all formatted fields that will have the same shared GAB applied at the same time. View the drawing order in Display Builder using the browser window. Adjust the drawing order by using the send forward, send backward, or group builder functions.
If CAMs, which are resolved at the server, determine which of two or more placements are displayed, data structures for only the one displayed placement are built and sent to the client.
Guidelines: Reduce the number of conditional elements, as follows: Use overall attachments instead of local attachments when possible. For example, group all objects together in a picture that will be invisible under the same conditions and attach the invisibility CAM as an overall attachment to the picture. A specific example of this is in defining conditional enterability of multiple formatted fields. In this case, build two pictures, each with one CAM, instead of attaching the CAMs to the multiple formatted field placements. Reduce the conditional element complexity, as follows: Eliminate unnecessary tests. Sequence tests by decreasing probability in the definition. Avoid character string testing when possible. Avoid using multiple levels of indirect tests. Consider database changes that may eliminate or reduce the number of tests needed or reduce the number of indirects needed. Reduce the impact of attribute changes, as follows: Use colors and fonts already set up in other elements. Avoid using the default attribute modifications in the CAM definition whenever possible. NEVER define an objects graphic attributes using the CAMs default attributes. Use shared GABs instead.
255
11.3.8.1 Display Refresh Rates At the refresh rate, the server process must check the database values of all dynamic data (formatted fields, CAMs, scale factors, etc.). The fewer values that must be checked, the shorter the processing time. Guidelines: Turn the REFRESH option off on formatted fields whose data is static (such as ID fields).
11.3.8.2 Resolving Database Links Unresolved links have been traced to decreased performance. Notification that these links are unresolved may only show up in the log the first time a display is called up after compilation. Guidelines: Be sure that all of your database linkages are resolved.
256
Index
A
ActiveX Controls, 14 Aligning objects to edges and centers, 157 to the grid, 157 Attachments, 20, 99, 115, 139, 145, 147 Attribute modifiers, 9, 35, 162 Display performance, 248 Drag and Drop, 38, 147 Drag-and-Drop, 29 Drawing order, 256 Driving data structures, 19
E
e-terrabrowser, 26
B
Batch Compile option, 26 Browser window, 24, 150 Browsing object definitions, 150 Builder Sets, 29
F
FG Font Family, 201 File transfer, 26, 76, 77, 194, 195 Formatted field alignment, 93 Formatted fields defining, 91 display format, 225 usage, 37
C
Compiling element sets, 222 Conditional elements CAMs, 9 conditional text, 10 processing time, 256 Conditional tests, 173 Conditional text, 7, 10 Conditional Wizard, 164, 171, 173 Constant picgroup, 135 Customizations, 39
G
Grid alignment, 201
H
Handles (hot spots), 39, 204 Hot spots, 204
D
Database linkage, 29, 114 Database linkages, 15 display layers, 15 driving data structures, 19 linked list structures, 19 performance, 257 simple layers, 113, 118 Declutter guidelines, 252 scratch pad, 153 specifying, 96 usage, 2 Default Shared GAB, 145 Defining permission area tests, 205 Defining picgroups, 99 Defining placement declutter, 96 Definition Manager, 21 Definition Manager context, 25 Definition property attachments "overall" attachments, 20 Definition schema, 71, 150 Definition workarea, 21 Display attributes, 2 Display compilation, 222 Display Definition Language (DDL), 30
L
Layer construction, 111 Local attachments, 13 Locking objects, 209
M
Making Attachments to Placed Objects, 147 Merging component definitions, 75 Multi-dimensional displays, 218
N
Name conflicts, 73
O
Optimization guidelines, 248 Overall attachments, 13
P
Permission tests defining, 205 usage, 20 Picgroups layout, 136
257
locking objects, 102 spatial orientation, 18 usage, 12 Placeholder specifying, 116 usage, 14, 37 Popup pictures usage, 11, 255 Primary picture, 12 Primary record, 12 Printing, 76
Scale factors tab, 209 Scratch pad zoom by level, 144 incremental, 144 Secondary record, 12, 102 Snap to Grid, 143 Specifying a scale factor, 96 Starting editors, 69
T R
Time/Date formatting, 94 Tool bars, 27 Transferring sets, 76 TrueType Font Family, 201
Recovering work, 75
S
Save As Binary option, 26 Scale factor specifying, 96 usage, 4 Zoom usage, 1
258