![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The main window of BEA Format Builder is split into two panes. The left pane shows the structural information for the data format. The right pane shows the detail for the item selected in the left pane.
You can navigate in and execute commands from the main window by using one of the following methods:
The Menu bar displays the menu headings. The menus that are available depend on what is selected in the left pane. You can open menus from the menu bar or by holding down the ALT key while pressing the underscored letter in the menu heading. For example, pressing ALT + F opens the File Menu.
For a complete description of the menu commands, see Format Builder Menus.
The Format Builder toolbar provides buttons that access some of the frequently used commands in the menus. If a command is unavailable, its button appears “grayed-out.”
The toolbar buttons provided with Format Builder are described below:
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
|
|||
![]()
|
Makes a copy of the item currently selected in the left-hand pane for insertion elsewhere in the tree.
|
|||
![]()
|
||||
![]()
|
||||
![]()
|
Reverses the previous action. The tool tip changes to indicate the action that can be undone. For example, changing the name of a field to Field1 and clicking Apply causes the tool tip to read “Undo Apply Field Field1”.
|
|||
![]()
|
Reverses the effects of an Undo command. The tool tip changes to indicate the action that can be redone. For example, changing the name of a field to Field1 and then undoing that action causes the tool tip to read “Redo Apply Field Field1”.
|
|||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
||||
![]()
|
Opens the
Format Tester window.
|
The Tree Pane represents hierarchical/structural information about the format of the non-XML data in a tree. The root node of the tree will correspond to the MFL document being created or edited. The root node is referred to as the Message node. Child nodes are labeled with group or field names. Fields are represented by leaf nodes in the tree. Groups contain fields or other groups and are represented by non-leaf nodes in the tree.
The icon for each node encapsulates information about the node. The icon indicates whether the node represents a message, a group, a field, a comment, or a reference. The icon also indicates whether a group or field is repeating, whether a group is a Group Choice, and whether a group or field is optional or mandatory. You also have the ability to add, delete, move, copy, or rename nodes in the tree. This is done through the menus or the toolbar (see Using the Menu Bar, Using the Toolbar, and Using the Shortcut Menus).
The icons that appear in the Tree Pane are described in the following table.
Instead of using the standard menus to find the command you need, use the right mouse button to click an item in the left pane. The menu that appears shows the most frequently used commands for that item.
For a complete description of the shortcut menu commands, see Shortcut Menu.
You can use the drag and drop feature of Format Builder to copy and/or move the items in the tree view.
To use drag and drop to move an item:
To use drag and drop to copy an item:
Message Formats, Fields, and Groups are identified by a Name. The name that is specified is used as the XML tag when non-XML data is transformed to XML. Thus the name must conform to the XML rules for a name.
The format guidelines for a name are as follows:
The following are valid name examples:
MyField
MyField1
MyField_again
MyField-again
The following are invalid name examples:
1MyField
- may not start with a digitMy>Field
- the greater-than sign (>) is an illegal characterMy Field
- a space is not permittedMy/Field
- the back slash (/
), which is an illegal characterMy\Field
- the forward slash (\
), which is an illegal characterMy:Field
- a semi-colon (;
), which is an illegal character
![]() ![]() ![]() |