The System Tree

The System Tree provides an active resource of programming information that you use while developing targets.

Displaying or hiding the System Tree

The System Tree displays by default when you start PocketBuilder for the first time. You can hide or display the System Tree by using the System Tree button on the PowerBar or by selecting Window>System Tree.

The System Tree displays the current workspace and all its targets. You can expand each target node to display the library list for the target and all the objects in each target library (PKL). The System Tree works like a tree view in the Library painter, but you can keep it open all the time to serve as the control center of the development environment. It also displays properties, functions, events, structures, and controls, duplicating features in the PocketBuilder Browser.

Setting the root in the System Tree

You can set the root of the System Tree to your computer’s root directory, the current selection, or any directory or library, as well as to the current workspace. The same capability is available in the Library painter.

NoteWorking with targets To access the pop-up menu that lets you perform operations on a target such as search, build, and migrate, you must set the root of the System Tree or the view in the Library painter to the current workspace.

The following illustration shows two targets, including one that lists multiple libraries in its search path.

Figure 1-2: System Tree showing two targets

The sample shows a workspace with two targets in the Pocket Builder System Tree. One of the targets has four libraries showing in its library search path

You can use the System Tree as the hub of your PocketBuilder session. Pop-up menus let you build and deploy targets, and open and edit any object. The following table lists the actions you can take from the pop-up menu that displays for each item in the System Tree. You can also set properties for each item, choose which object types display in the tree view, change the root of the System Tree, and reset the root to the current workspace.

Table 1-1: Action items for objects in the System Tree

Item

Menu action items

Workspace (PKW)

New (opens New dialog box), Add Target, Open Workspace, Incremental Build, Full Build, Deploy, Debug, Run, Close, Show, Properties.

PowerScript target (PKT)

New, Search, Incremental Build, Full Build, Migrate, Deploy, Debug, Run, Remove Target, Show, Properties.

PocketBuilder library (PKL)

Delete, Search, Optimize, Print Directory, Build Runtime Library, Import, Show, Properties.

PocketBuilder object

Edit, Edit Source, Copy, Move, Delete, Export, Regenerate, Search, Print, Properties.

Edit Source is not available for project objects. Inherit and Run/Preview are available only for some object types.