| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (3 out of 12)

Kinds of Workspaces

Within the G2 developer's environment, you work with several kinds of workspaces. This figure shows a variety of workspace types.


Common Features of Workspaces

Some common features of workspaces are:

KB Workspaces

One kind of workspace, called a KB workspace, is designed to be a permanent part of your KB. A KB workspace is an item of the system-defined class named KB-WORKSPACE.

KB workspaces are the only workspaces that can contain other items. KB workspaces are also the only workspaces that you can save into a KB file.

Your KB can contain any number of KB workspaces. Any item can reside upon a KB workspace, except another KB workspace. You can create, delete, show, hide, change the color of, scale, move, clone, activate and deactivate, and print KB workspaces.

G2 offers actions that manipulate KB workspaces. You can refer to KB workspaces in expressions. For more information, see Actions that Apply to KB Workspaces and Expressions that Refer to KB Workspaces.


Note: Throughout this chapter, and throughout this document, we typically refer to items of the KB-WORKSPACE class as workspaces. We differentiate KB workspaces from other kinds of workspaces only when required for clarity.

Other Workspaces

The G2 developer's environment displays other kinds of workspaces, as well. These workspaces appear as you open and interact with G2 editors and facilities, and as you make choices from G2 menus.

These workspaces are not items, and you cannot save them into a KB file. You cannot refer to these workspaces in actions or statements.

The other kinds of workspaces are as follows:

Type of workspace: Description
Operator Logbook
Displays error messages and informational messages from G2.
Inspect workspace
Displays the results of Inspect commands.
Text Editor workspace
Displays editing sessions.
Class List workspace
Presents lists of classes, items, or other entities for entering in the Text Editor.
Message Board
Displays messages from an inform action.
Scrapbook workspace
Contains pieces of text used for insertion in the Text Editor.
Icon Editor workspace
Displays Icon Editor sessions.

Chapter 2, The Developer's Environment, describes how to interact with several of these workspaces.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (3 out of 12)

Copyright © 1997 Gensym Corporation, Inc.