This section describes the Nexaweb Studio menus that provide functionality for use with the Nexaweb perspective, the main Nexaweb Studio view from which you design Nexaweb applications.
Provides basic file management options including creating new file types, saving files, switching workspaces, and importing exporting projects.
Nexaweb Studio adds the following items to the File > New menu in the Nexaweb perspective:
|
Menu Item |
Description |
|
Empty UI Markup File |
Creates an Empty Nexaweb UI file and opens it in the editor. |
|
Managed Client Object (MCO) |
Creates a new MCO. |
|
UI Stylesheet |
Creates a UI Stylesheet for Java applications. |
|
XModify File |
Creates a new .xm file to specify updates to a client UI. |
|
File |
Creates a new file of any type to use as a project resource. |
|
Folder |
Creates a new folder in the application project structure. |
|
Nexaweb Application Project |
Creates a Nexaweb Ajax or Java project. |
In addition to the types of files listed directly on the File > Menu and from
, the New Nexaweb Application toolbar button, you can create other Nexaweb-specific file types by selecting the Other item, clicking + beside Nexaweb in the Select a Wizard dialog, and selecting a file type from the Select a Wizard dialog list similar to Figure 60.
Figure 60: Select a Wizard
|
UI File Type |
Description |
|
Empty UI file |
Launches a wizard to step you through creating an empty Nexaweb UI file. This generates a file containing the following XAL for Java or Ajax: <xal xmlns="http://openxal.org/ui/java"> freePane> </freePane> </xal> or <xal xmlns="http://openxal.org/ui/html"> freePane> </freePane> </xal> |
|
File |
Creates a new file of any type to use as a project resource. |
|
Folder |
Creates a new folder in the application project structure. |
|
Managed Client Object |
Launches the Managed Client Object (MCO) wizard. |
|
Nexaweb Application Project |
Launches the new Nexaweb application wizard where you create a new Nexaweb Ajax or Java application project. |
|
Nexaweb Bridge Classes |
Launches the Nexaweb Bridge Classes dialog from which you can create any of the bridge classes: New Composite Plugin, New Container Bridge Object, New Layout Bridge Object, New Simple Plugin Bridge Object, New Swing Plugin Bridge Object. |
|
Nexaweb JSP Page |
Launches a wizard to step you through creating a new Nexaweb JSP page. This generates a file that including a sample of how to use Nexaweb in a JSP page similar to the following: <%@ page import="com.nexaweb.server.session.*" %> <% SessionManager smgr = ServiceManager.getSessionManager(); //Get information from the Request object by using //or get the information from the DOM directly by %> <xal xmlns="http://openxal.org/ui/java"> freePane> </freePane> </xal> |
|
UI Stylesheet |
Launches the Nexaweb Stylesheet Editor that facilitates the creation of a new UI Stylesheet file. Upon launching the Nexaweb Stylesheet Editor, this generates a file containing the following XAL (Source): XML code representation: This is an empty stylesheet --> <styleSheet/> |
|
XModify File |
Launches the XModify wizard which creates an xm file with the XModify modification statement that you specify. |
The Format menu provides options for formatting:
Individual component style parameters
Components and component style parameters in relation to other components
The Format menu provides options for example for changing the text style of an individual component, or the text style of multiple selected components at one time. In addition, the formatting menu provides options for formatting components in relation to each other, for example by aligning components along an axis.
Figure 61 shows the Formatting menu items.
|
Figure 61: Format Menu |
Edit Component Text: Displays a dialog in which you can specify a label for this component. Edit Component ID: Displays a dialog in which you can specify an ID for this component. Edit Component Name: Displays a dialog in which you can specify an Name for this component. Grid Settings: Allows you to select whether to snap component layout to every 10 x or y axis. |
Provides options for working with data and logic in the application UI.
Figure 62 shows the Tools menu items.
|
Figure 62: Tools Menu. |
Data Source: Launches the Create Data Source wizard where you add files to serve data to the UI. Binding: Launches the Create Binding wizard where you bind UI components to data sources. Formatter: Launches the Create Formatter wizard where you define formatters to alter the appearance of raw data for display in the UI. Formatter Chain: Launches the Create Formatter Chain wizard where you define a group of formatters to use to alter the appearance of raw data for display in the UI. Iterator Service Request: Launches the Create Service Request wizard where you specify the syntax to obtain data from external sources using mechanisms built on the server side of your application. Embedded Service Request: Launches the Create Embedded Service Request wizard where you specify on the client side of your application the complete syntax to obtain data from external sources. Macro: Launches the Macro Wizard, which allows you to associate a name with a group of valid Nexaweb page instructions that Nexaweb loads into memory to execute at any time. |
Provides options for running Nexaweb applications.
Figure 63 shows the Run menu items.
|
Figure 63: Run Menu. |
Nexaweb Application: This sub-menu provides options for running Nexaweb applications. These options vary for Nexaweb Ajax and Java applications. For more information on these options, see Nexaweb Launch Client Actions. Nexaweb Desktop Application: This sub-menu provides options for running Nexaweb Desktop applications. Resume . . . Use Step Filters: Controls for use when debugging applications in Nexaweb Studio. |
The Nexaweb perspective context menu provides access to a variety of Nexaweb Studio functionality. The available menu choices differ when you select it the context-menu from various elements in a XAL file.
|
Figure 64: Nexaweb Context Menu From a Pane. |
New: Launches the Create Data Source, Create Binding, Create Formatter or Formatter Chain, Create Macro, or Create Validator wizards. Cut, Copy, Paste, Delete: Functionality for working with components. Edit Component ID: Allows you to edit the ID of a component. Edit Component Name: Allows you to edit the Name of a component. Move UP/Down: Moves the selected element up or down one position in the XML DOM Insert/Replace: Provides insert options based on the current schema (Ajax/Java) associated with the project. Bind Component Attribute: Binds a component attribute to a datasource. Bind Component with Iterator: Binds a component to a datasource using an iterator. Wrap with Iterator: Launches the Create Iterator wizard. Refactor Layout: Launches the Layout wizard. Manage Events: Launches the Manage Component Events wizard. |