The Activity Editor interface

The following sections describe the views, menus, toolbars, and keyboard shortcuts that are part of the Activity Editor interface.

Activity Editor views

Activity Editor has two views for adding code fragments: Graphical and Java. The following sections describe each view.

Graphical view of Activity Editor

The Graphical view of the Activity Editor enables you to specify the action node's logic without having to write much, if any, Java code. Instead, you can drag and drop function blocks onto the workspace to represent the flow of the activity definition. Figure 51 illustrates the Graphical view.

Figure 51. Activity Editor: Graphical view

The figure shows the activity editor dialog. This dialog is divided into 4 areas. The first area in the upper left is a folder view of the library. To the right of the library is editing canvas. The editing canvas can either be graphical or a code view. The lower left area is the content area that contains the function block folders. The lower right area is the properties area which displays the properties of the function blocks.

The Graphical view of Activity Editor has four main windows: the Activity Workbook window, the Library window, the Content window, and the Properties window.

Java view of Activity Editor

The Java view can be used to add traditional Java code to an action node. Use this view if you prefer to write code instead of representing it graphically, or if the Graphical view does not provide all of the functions you need for the code fragment.

Important

Once you enter or modify code in the Java view, you cannot use the Graphical view. All further work on the code fragment must be done in Activity Editor's Java view, or directly in the Code Fragment window of the Action Properties dialog box.

To simplify the reading and understanding of program code, the Java view displays code using a color-coded scheme, as described inTable 45.

Table 45. Code Fragment Color Scheme

Color Code Type
Green Comment
Pink String literal
Blue Keyword

Figure 52 illustrates the Activity Editor's Java view.

Figure 52. Activity Editor: Java view

The figure is a screen capture of the java view of the activity editor. The description of how the code is displayed is above the figure.

Activity Editor menus

This section describes the functionality available from the Activity Editor menus.

File menu

The Activity Editor File menu provides the following options:

Edit menu

The Activity Editor Edit menu provides the following options:

View menu

The Activity Editor View menu provides the following options:

Tools menu

The Activity Editor Tools menu provides the following option:

Help menu

The Activity Editor Help menu provides the following options:

Context menu

The Activity Editor Context menu is accessed by right-clicking on the editing canvas. It provides the following options:

Activity Editor toolbars

Activity Editor has two toolbars: the Standard toolbar and the Graphics toolbar. The Standard toolbar provides functionality for saving and printing activities, cutting, copying, pasting, and deleting elements in the activity, and accessing help.

The Graphics toolbar provides functionality for navigating within activities. The buttons correspond to the View --> Zoom and View --> Go To menu items.

Activity Editor keyboard shortcuts

Table 46 lists the Activity Editor menu items and the keyboard shortcuts associated with them.

Table 46.

Activity Editor keyboard shortcuts
Menu Menu item Keyboard shortcut
File menu Save Ctrl+S
Print Setup Ctrl+Shift+P
Print Preview No shortcut available
Print Ctrl+P
Close No shortcut available
Edit Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+P
Delete Del
Select All Ctrl+A
Find Ctrl+F
Goto Line Ctrl+G
View Design Mode No shortcut available
Quick View Mode No shortcut available
Go To/Back Alt+Left Arrow
Go To/Forward Alt+Right Arrow
Go To/Up One Level No shortcut available
Go To/Home Alt+Home
Zoom In Ctrl++
Zoom Out Ctrl+ -
Zoom To Ctrl+M
Library Window No shortcut available
Content Window No shortcut available
Properties Window No shortcut available
Toolbars No shortcut available
Status Bar No shortcut available
Preferences Ctrl+U
Tools Translate Ctrl+T
Help Help Topics F1
Documentation No shortcut available

Copyright IBM Corp. 1997, 2004