|
8.3.1.1.1 File Menu
File menu is useful for creating, opening, closing, saving or reloading a project and exiting the Application. It is also used to create new screens for the currently working project. You can also create, open, reload, save or print java files and load/unload jars used in the current working project. You can also view and open the recently opened projects.
The following are the menu items available in the File menu. The file menu changes simultaneously depending upon the modes of tab chosen. For example, when the project tab is chosen from the project tree the following menu items flashes out, with a set of menu items grayed out.

A new project is created using this menu. Choosing this menu item invokes a dialog box requesting to enter the project name. Project names can be any combination of alphanumeric characters without space. It also requests for the package name (optional) to include in the project. Give a valid package name and click the "OK" button to create a new project . Alternatively the new project can also be created from the "new project" icon from the toolbar menu.
A new screen can be created using this menu item. Choosing this menu item invokes the Screen Builder, which provides all the basic screen templates. On choosing a screen of any one of the build types and providing other information, a new screen is created and a screen node is added to the current working project in the "Project Tree". Read this topic for more information on creating new screen using Screen Builder. The components can then be dropped into this screen area and connections can be made to build the screen. Alternatively you can create new screen using the 'new screen' button in the Toolbar.
A new Java source file can be created using this menu. Choosing this menu pops-up a dialog box asking general and interface information. File names can be given in any combination of alphanumeric characters without space.
Existing projects can be opened using this menu. Choosing this menu opens up the file open dialog box, so that users can browse and select a project. The AdventNet Java Bean Builder project files are saved with extensions of .proj. Alternatively the existing projects can be opened from the "open project" icon from the toolbar menu or from the directory tree in the Bean Builder screen.
Existing source files can be opened using this menu. Choosing this menu opens up the file open dialog box, so that users can browse and select the file. Alternatively the existing source files can be opened from the directory tree.
The current working project is saved under the Projects directory under Web NMS Home Directory as .proj file.
Invoking this menu saves the current screen available in the builder area. The bean builder saves the screen by its default name new_screen1, new_screen2 etc., . The user can rename the screen by right clicking the mouse button on the default screen name and choosing the Rename option.
Saves the source file. The source file is saved under the default name.
Save Project As
The project file can be saved under different name. It takes a copy of the selected project and saves it in the location specified by you.
Save File As
The source file can be saved under different name. It takes a copy of the selected file and saves it in the location specified by you.
If any changes are made out of Draw Area, for example if the source has been edited, the changes can be reflected by using this option.
This menu is used to reload the file and see the latest source code. This becomes useful when the developer wants to see the latest code after modifying the screen.
The projects that were recently opened in Bean Builder are listed here. The user can view and choose any of the recently used project according to his choice.
The current project can be closed by using this option. If your project has any unsaved information it invokes a dialog and ask for the screens in the unsaved project which you would like to save. By default all the unsaved screens are checked. Check or uncheck whichever necessary and press OK button. You can use the button "Select None" all to uncheck all the screens which are checked. Click the Cancel button to continue working with project.
The selected file can be printed using this option.
Jar files packaged with standard bean components can be loaded in the Components palette using this menu item. For more information, refer the topic Adding Components to palette.
The loaded jar files which are available in the Components palette can be unloaded using this option. Invoking this menu pops-up a dialog box which lists all the jars that are loaded. Select the jar and click "Remove" to unload the jar from the Components palette. The unloaded jar can be loaded again using the load jar option.
Invoking this menu closes the application. The builder prompts to save any unsaved information before closing the application.
Shortcuts
|
Function |
Shortcut |
|
Open Project |
Ctrl-O |
|
Close Project |
Ctrl+W |
|
New Screen |
Ctrl-N |
|
Save Screen |
Ctrl+S |
|
Print File |
Ctrl+P |
|
Load Jar |
Ctrl+J |
|
Unload Jar |
Ctrl+U |
|
Exit |
Alt+F4 |
|