To set up the workspace hierarchy:
Main Menu > New Workspace.
KB Workspace > Setup Application Workspace to display the following workspace:
|
Enter title here, select the edit menu choice, enter a title, and press Return.KB Workspace > Add Subworkspace Button to add as many subworkspaces as you need for your application.edit. menu choice to edit the name of the subworkspace.
For example, here is the top-level workspace for a pH process application and the Training Data Sets subworkspace, which is initially empty:
|
Note: The top-level workspace is not a named workspace, therefore it does not
appear in the list of named workspaces when you select Main Menu >
Get Workspace. Therefore, you should not hide this workspace. If you do,
you can retrieve it by using the Inspect facility and showing all the workspaces assigned to the nolapps module.
Creating an Application Menu Choice
As application developer, you might want to add menu choices to the menus that
display the top-level workspaces of your application. In addition, end users will
want to access application workspaces through the top menu bar. You can add
menu choices automatically to the Applications submenu of the Show menu.
To add a menu choice to the Applications submenu:
Click on the title of a top-level workspace in your application, and select the
add to menu menu choice.
To remove a menu choice from the Applications submenu:
Click on the title of the top-level workspace whose menu choice you want to
remove, and select the remove from menu menu choice.
To test the application menu choice:
|
Note: If you delete a top-level workspace whose menu choice has been added to
the Applications menu, NOL automatically removes the associated menu
choice.
Setting the User Mode
Part of setting up an application is choosing the user mode in which you will
operate. You can switch between these modes as you develop your application.
To set the user mode:
Select User Mode on the Gensym menu, and choose the mode.
|
Renaming the Top-Level Module
When you initially load NOL, you load the knowledge base contained in the file
gdaapps.kb. This creates an empty top-level module named nolapps, which
requires all of the NOL modules.
To rename the top-level module for a specific application:
nolapps.kb located in the NOL directory.
Main Menu > Inspect to display the G2 editor.
show on a workspace the module hierarchy in the editor.
nolapps.
Main Menu > Save KB, the top-level
module whose name you supplied appears as the default module to save.