INFORMIX
Visionary User's Guide
Chapter 1: Getting Started with Visionary
Home Contents Index Master Index New Book

Visionary Studio

You use Visionary Studio to build and publish Visionary worlds. Visionary Studio provides a user interface with multiple windows. Figure 1-1 shows the complete Visionary Studio environment.

Inside the main window, you can use the following task-specific windows:

In addition, toolbars allow quick access to standard Microsoft Windows operations and Visionary navigation functions.

Figure 1-1
The Visionary Studio Environment with All Windows Open

The World Manager

The World Manager is a dockable window with tabbed pages. You use the World Manager both to manage the organization of open worlds and their objects and to insert and modify objects.

The World Manager has three tabbed pages:

Each of the pages contains various panels of objects you can use to build Visionary worlds. Figure 1-2 illustrates the World Manager interface.

Figure 1-2
World Manager Pages and Panels

The Worlds Page
The Worlds page allows you to manage the contents and organization of open Visionary worlds. The Worlds page has three panels, as illustrated in Figure 1-3:

To display a panel, click its corresponding button in the World Manager.

Each panel of the Worlds page displays open worlds and a hierarchical display of objects.

Figure 1-3
Worlds Page Panels

The Data Page
The Data page provides tools for creating data sources for your Visionary world. The Data page has two panels, as illustrated in Figure 1-4:

To display a panel, click its corresponding button in the World Manager.

Figure 1-4
Data Page Panels

The Graphics Page
The Graphics page contains five panels of graphic objects that you can use to build scenes. The panels of the Graphics page are illustrated in Figure 1-5:

To display a panel, click its corresponding button in the World Manager.

Figure 1-5
Graphics Page Panels

The Query Editor

The Query Editor has three views that help you modify, build, and test data sources for use in your Visionary world. A data source is the information returned by an SQL query.

The three views of the Query Editor are:

Figure 1-6 shows the Query Diagram view of the Query Editor.

Figure 1-6
Query Editor (Query Diagram View)

The query diagram in Figure 1-6 generates the following SQL syntax:

The Scene Editor

Use the Scene Editor to arrange layouts and other graphic features such as labels and pictures.

The Scene Editor has two modes, design and runtime, as illustrated in Figure 1-7.

Figure 1-7
Scene Editor

In design mode, you can insert and modify objects. In runtime mode, you can view the results of your design.

The Data Element Editor

Use the Data Element Editor to design how the data portion of a layout-called a data element-is displayed. In the Data Element Editor, you insert and define the objects that represent a single data point in the layout. These objects could include data symbols, such as a candlestick or a price interval bar, or other graphic features such as labels and pictures. The Data Element Editor provides buttons to help you map column and parameter names to object properties.

The Data Element Editor has two modes, design and runtime, as illustrated in Figure 1-8. In this example, a data point is represented by a line, a circle, and a text object.

Figure 1-8
Data Element Editor

In design mode, you can insert and modify objects. In runtime mode, you can view the results of your design.

The World Structure Editor

The World Structure Editor displays the hierarchy of scenes in a Visionary world. This hierarchical display includes global and scene parameters, data elements with the columns they employ, and wormholes, which provide links to other scenes. The World Structure Editor includes a graphic wiring feature so you can modify how parameters are passed between scenes and data sources.

Figure 1-9 shows a partial view of the World Structure Editor illustrating parameter wiring.

Figure 1-9
World Structure Editor (Structure View)

In addition to the Structure view, shown in Figure 1-9, the World Structure Editor has a Pseudocode view that lists in text format all the objects in a world and the current settings for their properties.

The Object Inspector

The Object Inspector is a dockable window that displays the properties and events of objects in an active Scene Editor or Data Element Editor window. For example, when the Scene Editor is active, the Object Inspector displays the properties of the scene itself and provides a drop-down list of any objects or layouts placed on the scene. When the Data Element Editor is active, the Object Inspector displays the properties of the objects used to represent data points, such as the data symbol in a scatter chart or the polyline on a linear map.

The Object Inspector has two tabbed pages: Properties and Events (see Figure 1-10). In the Properties page, the properties for the selected object are listed on the left, and their settings on the right. You can change the settings to constants, or they can be variable values based on:

For more information about property expressions, see Chapter 7, "Modifying Object Properties," and Appendix C, "Functions and Support Syntax."

The Events page lists events available to an object. Double-clicking an event displays the Object Behavior dialog box, where you define the action that takes place when the event occurs. After you associate an action with one of the listed events, the event is displayed in bold.

Figure 1-10 shows both pages of the Object Inspector.

Figure 1-10
Object Inspector

The Output Window

The Output window is a dockable window that shows the generation and execution of SQL queries and displays error messages. It also shows the results of the compile process when you select runtime mode in the Scene Editor or Data Element Editor.

Starting Visionary Studio

You can start Visionary Studio from the Informix Visionary program group or from the Windows Start menu.

To start Visionary Studio

Click the Start button and choose
Programs Informix Visionary Visionary Studio to display the Open Database dialog box shown in
Figure 1-11.

Figure 1-11
Open Database Dialog Box

Connecting to a Database

To connect to a database after you start Visionary, choose File Open Database to display the Open Database dialog box. Database information must be defined before you can connect to a database. To define database connection information, use the Informix Setnet32 utility. Information about Setnet32 appears in the Informix Client Products Installation Guide for Microsoft Windows Environments.

Visionary supports one active database connection at a time. Databases used in conjunction with Visionary can be created with or without the logging option.

To connect to a database

    1. In the Open Database dialog box, select a server from the Server name list box.

    2. Select a database from the Database name list box.

    3. Type your user name in the User name text box.

    4. Type your password in the Password text box.

    5. Click OK.

Tip: The user name and password defined in Setnet32 are used to look up the list of databases in the database system tables on the server. The user name and password used to connect to the database in Visionary are used for access to tables used by the Visionary world.



Visionary User's Guide, version 1.0
Copyright © 1998, Informix Software, Inc. All rights reserved.