Modifying the Object Tree


The Objects Tree is completely customizable. You can add new groups, or folders, import packages of outside objects, like JavaBeans, and create new sets of objects. To make changes to the Objects Tree, click either the computer icon in the upper left or on one of the folders.

The Computer Icon

When you click on the computer icon, a pop-up menu will appear with five choices. Select one of the choices to make your desired modifications.

Add New Group

Selecting Add New Group will allow you to add an additional folder into which you can move any object and import new ones. Clicking here brings up a simple screen where you enter the name of the group and choose an icon for it. Once you have, press the Accept button. The new group will appear with the name you have assigned.

The new group starts out empty. For information about adding objects to it, see Import New Package below. JDesignerPro allows an unlimited number of groups to be added. Once you are done adding groups and objects you must Save the Objects Tree for your changes to be final. See Save, below.

Load, Save, Save As

These features allows you to create and open different Objects Trees. You can have any number of Objects Trees. This feature is helpful to avoid Objects Trees that are too big to be practical to use. To Load a new Objects Tree, you would first need to create a new one. To do that, select Save As from the pop-up menu and give your Objects Tree a new name. Once saved as a new name you can modify it entirely without affecting the original.

When you choose Save As, a file picker will appear and bring you to the Objectrees folder under JDesignerPro\System. Enter a new name in the File Name field and press Save. JDesignerPro creates a new file type called a ".jot" file which stands for "JDesignerPro Objects Tree".

Now you can use the Load command to open your new Objects Tree. To make an Objects Tree the default tree that loads at the launch of the development system, follow these steps:

1. Save the current tree as a new name. The original starts as Default.jot.

2. Load another Objects Tree and rename it to Default.jot.

3. Repeat the first two steps with any .jot file.

To save changes to the current Objects Tree, simply choose Save from the pop-up menu. If JDesignerPro ever starts and displays no Objects Tree, it is most likely because there is no file in the JDesignerPro\System\Objecttrees directory. Simply rename one of the existing .jot files to default.jot or click on the computer icon in the Objects Tree and choose Load. Then select the Objects Tree you would like to use.

Clicking on the Folder icons brings up this menu:

 

In this menu you have the additional options of Import Class and Edit Group. Import Class is similar to Import Package except you can chose a single class to add to any folder.

The Edit Group option gives you a simple screen allowing the name and icon of the group to be modified.