 |
The Workspace tab page in the System Tree displays the current workspace and all its targets. PowerScript targets display the library list for the target and all the objects in each PBL. Web targets display the contents of the root folder of the Web target. The Workspace tab page in 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.
As in the Library painter, you can set the root of the Workspace page to your computer's root directory, the current selection, or any directory or library, as well as to the current workspace.
The following illustration shows a workspace with two PowerScript targets and one Web target. One of the PowerScript targets, client, has a second library, emusic_data.pbl, in its library search path.

You can use the Workspace page as the hub of your PowerBuilder session. Popup menus let you build and deploy targets and open and edit any object. The following table lists the actions you can take on each item that displays on the Workspace page. If the workspace is under source control, there are additional action items. You can also set properties for each item, choose which object types display in the tree view, change the root of the Workspace page, and reset the root to the current workspace.
|
Item
|
Menu action items
|
|
Workspace
|
New (opens New dialog box), Incremental Build, Full Build, Deploy, Debug, Run, Close, Show, Properties
|
|
PowerScript target
|
New, Search, Incremental Build, Full Build, Migrate, Deploy, Debug, Run, Remove Target, Show, Properties
|
|
Web target
|
New, New Folder, Import Files, Import Folder, Incremental Build, Full Build, Deploy, Debug, Run, Remove Target, Show, Properties
|
|
PBL
|
Delete, Search, Optimize, Print Directory, Build Runtime Library, Import, Show, Properties
|
|
PowerBuilder object
|
Edit, Edit Source, Copy, Move, Delete, Export, Regenerate, Search, Print, Properties
Inherit and Run/Preview are also available for some object types
|
|
Web target object
|
Edit, Rename, Delete, Build, Properties
|
Select Target for Open You may see the Select Target for Open dialog box if you use the same PBL in more than one target. When you open an object in a PBL that is used in multiple targets, PowerBuilder needs to set global properties for the specific target you are working on. If you open the object from the Workspace page when the root is not set to the current workspace, PowerBuilder asks you which target you want to open it in. A similar dialog box displays if you select Inherit, Run/Preview, Regenerate, Print, or Search.
|