General Interface is an open source project hosted by the Dojo Foundation

Menu Commands

This section describes General Interface Builder menu commands.

Project Menu

The Project menu includes the following commands.

Command Description
New Project Displays a prompt to create a new project and opens the new project in the same browser window. A default project directory structure is also created on the file system.
Recent Projects Displays a list of the last ten projects that were opened. Clicking a project name opens the project.
User Projects Displays a list of all projects in the workspace/JSXAPPS folder. Clicking a project name opens the project.
Project Settings Displays the Project Settings dialog for configuring project deployment, add-ins, class path, and legacy settings for the open project.
Deployment Utility Displays the Deployment Utility which is used to generate code for deploying the application in a browser. Create an HTML or XHTML launch page for standalone applications or generate HTML code to insert applications into an existing web page.
Run Project Runs the current project configuration in a new browser window to simulate the runtime environment. The project runs in the same mode as General Interface Builder, such as HTML or XHTML.
Run Project from HTTP Runs the project in a new browser window on an HTTP web server as specified on the Paths panel of the IDE Settings dialog. If the HTTP server isn't configured, you are prompted to configure it.

File Menu

The File menu includes the following commands.

Command Submenu Command Description (Sheet 1 of 3)
New   Creates a new, empty tab in the work area for the selected file type.
  GUI Component Creates an empty GUI component file. Save with the .xml extension in the components directory of the project.
  XML Document Creates an empty XML file for content data, such as default values, for the application. Save with the .xml extension in the xml directory of the project.
  XSL Document Creates an empty XSL file for transforming XML files containing application data. Save with the .xsl extension in the xsl directory of the project.
  JavaScript File Creates an empty JavaScript file. Save with a .js extension in the js directory of the project.
  CSS File Creates an empty CSS file for defining application styles. Save with a .css extension in the css directory of the project.
  Dynamic Properties File Creates an empty dynamic properties resource file. Save with the .xml extension in the jss directory of the project. See Dynamic Properties Files.
  Properties Bundle Creates a properties bundle file which contains a set of dynamic properties localized for one or more locales. See Internationalizing and Localizing Applications.
  Mapping Rule Creates an empty mapping rules file for connecting to web services. Save with the .xml extension in the rules directory of the project. See Mapping GUI Components to Mapping Rules.
Open   Displays the File dialog for opening an existing file for use in the application.
Recent Files   Displays a list of recently created files. Clicking a file name opens that file in the project.
Close   Closes the active tab. If the file contains unsaved changes, you are prompted to save the file.
Close All   Closes tabs for all open files. If a file contains unsaved changes, you are prompted to save the file.
Revert   Displays a Confirm Revert dialog where you can choose to revert the active file to the last saved state. After reloading, any recycled objects are cleared from the Recycle Bin and cannot be recovered.
Revert All   Displays a Confirm Revert dialog where you can choose to revert all open files to the last saved state. After reloading, any recycled objects are cleared from the Recycle Bin and cannot be recovered.
Save   Saves the active file.
Save to Cache   For an XML cache document, saves the active file to the in-memory, local data cache.
Save and Reload   Saves the active file to disk and reloads the file appropriate to the file type. For example, JavaScript files (.js) are reloaded into the browser memory space to reflect the updated code. After reloading, any recycled objects are cleared from the Recycle Bin and cannot be recovered. This menu isn't available for open data cache files.
Save As   Saves the active file with a different file name.
Save a Copy to Disk   For an XML cache document, opens the Save File dialog where you can enter a new file name and save the file to disk.
Save All   Saves all open files in the project.

Tools Menu

The Tools menu includes the following tools.

Command Description
XML/XSL Merge Tool Displays the XML/XSL Merge Tool, which displays the results of applying an XSLT document. You can open multiple instances of this tool. See XML/XSL Merge Tool.
XML Mapping Utility Displays the XML Mapping Utility, which is used to map WSDL, Schema, and XML documents to application objects. See Communicating with Data Services.
Color Picker Displays the Color Picker Tool for choosing color values. See Color Picker Tool.
JavaScript Console Displays the JavaScript Console for executing and debugging JavaScript code. See The JavaScript Console.
Find and Replace Displays a search dialog for searching and replacing text in open text files.
General Interface Test Automation Kit Links to the download site for General Interface Automation Kit, which you can use to test your General Interface applications.
IDE Settings Displays a dialog for setting preferences for the visual authoring environment, such as IDE settings, IDE hot keys, and paths. See Customizing the IDE.

Palettes Menu

The Palettes menu includes the following palettes. Each of these palettes has a context menu. See Palette Context Menus.

For more information on palettes, see Using Palettes.

Command Description Keyboard Shortcut
Component Hierarchy Displays or hides the Component Hierarchy palette. Ctrl+1
Properties Editor Displays or hides the Properties Editor palette. Ctrl+2
Events Editor Displays or hides the Events Editor palette. Ctrl+3
Attributes Editor Displays or hides the Attributes Editor palette. Ctrl+4
XSL Parameters Displays or hides the XSL Parameters palette. Ctrl+5
Component Libraries Displays or hides the Component Libraries palette. Ctrl+6
Local Data Cache Displays or hides the Local Data Cache palette. Ctrl+7
Project Files Displays or hides the Project Files palette. Ctrl+8
Recycle Bin Displays or hides the Recycle Bin palette. Objects that have been deleted using the Component Hierarchy palette can be recovered from the Recycle Bin. Ctrl+9
System Log Displays or hides the System Log palette. Ctrl+l (lowercase L)

Help Menu

The Help menu includes the following commands.

Command Description
Online User Guides Opens the General Interface documentation page in a new browser window.
API Documentation Provides access to General Interface API Reference. You can view the API documentation in a dialog, a separate window, or the HTML version in a browser window. Also provides access to these additional references:
  • General Interface GUI Property Reference
  • General Interface GUI Event Reference
  • General Interface XSL Parameter Reference
Getting Started
Provides a link to the Learning Center home page, which contains links to documentation, API reference, utility, samples, and other information.
Search Discussion Forums Opens a search window to allow you to find forum topics.
Open Source Project Provides a link to General Interface Open Source Project, which provides access to General Interface source code, public bug tracking, release builds, and developer forums.
Bug and Enhancement Tracking Opens the JIRA bug tracking window
About General Interface Provides version information for General Interface and General Interface Builder, as well as important legal notices.
License Agreement Displays the License Agreement for the product.
Welcome Screen Launches the Welcome screen. See Welcome Screen.
Check for Updates Checks for updates to General Interface.

Context Menus

To access a context menu, right-click an area of the user interface or right-click an object in a palette, such as a file name in the Project Files palette. Press the Escape or Left Arrow keys to close the menu.

Palette Context Menus

This section describes the context menu for each palette.

Attributes Editor Palette Context Menu

To access the context menu in the Attributes Editor palette, right-click a cell in the Name or Value column.

Command Description
Remove Attribute Removes the selected attribute.

Component Hierarchy Palette Context Menu

To access the context menu in the Component Hierarchy palette, right-click a node in the DOM tree. When multiple components are selected using Ctrl+click or Shift+click, the menu command is executed on all selected components.

Command Submenu Command Description
Clone   Creates an exact copy of the selected object(s) and any children. The new object is added as the last child of the selected object's parent object.
Repaint   Repaints the Live Component view in the work area to reflect changes.
Re-Fetch Data and Repaint   Refreshes the data in the cache and repaints the Live Component view in the work area. Available for objects that implement jsx3.xml.Cacheable.
Persistence Transitory Sets the selected component(s) to transitory. When the component file is saved, the transitory object isn't saved to disk.
  Embedded Embeds the selected component(s). When the component file is saved, the embedded object is saved to disk. By default, components from the Component Libraries palette are embedded.
  Referenced Sets the selected component(s) to a reference. A referenced component is a link to a component file. For example, <include src="workspace_/prototypes/greenbutton.xml" async="false"/>. The name of a referenced component in the Component Hierarchy palette is displayed using blue italic font.
  Referenced - Asynchronous Sets the selected component(s) to an asynchronous reference. An asynchronous referenced component is a link to a component file that loads asynchronously. For example, <include src="workspace_/prototypes/greenbutton.xml" async="true"/>. The name of a referenced component in the Component Hierarchy palette is displayed using green italic font.
Import Embedded Imports a copy of a component. When saved, the component is saved to disk.
  Referenced Imports a link to a component file, not the actual contents of the component. For example, <include src="workspace/_prototypes/greenbutton.xml" async="false"/>. The name of a referenced component in the Component Hierarchy palette is displayed using blue italic font.
  Referenced - Asynchronous Imports a link to a component file asynchronously. For example, <include src="workspace_/prototypes/greenbutton.xml" async="true"/>. The name of a referenced component in the Component Hierarchy palette is displayed using green italic font.
Export As XML Exports the selected General Interface DOM branch as an XML file, which can then be used in other projects.
  As HTML Exports the selected DOM branch as an HTML file. This is useful for testing and printing.
Recycle   Moves the selected object(s) to the Recycle Bin. There is a separate Recycle Bin for each GUI component file.
Copy Name to Clipboard   Copies the object(s) name to the clipboard.
Copy Getter Code to Clipboard   Copies the Getter code for the object(s) to the clipboard. For example, myAddressLookup.getJSXByName("block").

Component Libraries Palette Context Menu

To access the context menu in the Component Libraries palette, expand a components folder and right-click a component.

Command Description
Copy Path Copies the path of the selected component to the clipboard. For example, the path for the Dialog component would be GI_Builder/prototypes/Containers/Dialog.xml.

Events Editor Palette Context Menu

To access the context menu in the Events Editor palette, right-click a cell in the Value column.

Command Description
Reset/Clear Clears the value field of the selected row.

Local Data Cache Palette Context Menu

To access the context menu in the Local Data Cache palette, right-click a node in the tree.

Command Description
View/Edit Opens the selected cache document in the work area.
View Markup Opens the selected document in the work area as a read-only, formatted file.
Copy Name Copies the name of the document to the clipboard.
Copy Source Copies the selected document's source to the clipboard.
Remove from Cache Removes and deletes the selected document from the in-memory cache.

Project Files Palette Context Menu

To access the context menu in the Project Files palette, right-click a file.

Command Description
Edit Opens the selected file in the work area for editing.
Edit Profile Displays the File Profile dialog where you can modify the file ID, file type, file URI, and whether the file auto loads or not. See File Profile Dialog.
Auto Load Sets the selected file(s) to auto load when the application runs.
Dereference Dereferences the selected file and removes it from the project. The file isn't deleted from disk.
Load/Reload Loads or reloads selected files from disk into browser memory.
Copy Path Copies the file path to the clipboard. For example, js/logic.js.

XSL Parameters Palette Context Menu

To access the context menu in the XSL Parameters palette, right-click a cell in the Name or Value column.

Command Description
Remove Parameter Removes the selected parameter.

Work Area Context Menus

The work area context menus include menus for the work area tabs and the work area editors.

Work Area Tabs Context Menu

The tabs at the top of the work area have a context menu. To access the context menu, right-click a tab at the top of the work area.

Command Description
Close Closes the selected file.
Revert Revert to the previously saved version of the file.
Save Saves the file.
Save to Cache For a cache document, saves it to the cache.
Save and Reload Saves the active file to disk and reloads the file appropriate to the file type. For example, JavaScript files (.js) are reloaded into the browser memory space to reflect the updated code. After reloading, any recycled objects are cleared from the Recycle Bin and cannot be recovered. This menu isn't available for open data cache files.
Save a Copy to Disk For a cache document, displays the Save File dialog where you can save the file to disk.
Save As Displays the Save File dialog where you can save the file with a different name and to a different location.
If a file is read-only, a Lock icon displays on the work area tab. To open a locked, read-only file, double-click the Lock icon.

Work Area Editors Context Menus

For text and XML files, there is a context menu in the work area. For more information on editors, see Work Area Editors.

Command Description
Wrap Text Wraps the text in the work area so all of the text is visible without horizontal scrolling.
Unwrap Text Displays the text without any wrap.

Dynamic Properties Editor Context Menu

The Dynamic Properties editor has a context menu. To invoke the menu, right-click a cell or the table header. For more information, see Dynamic Properties Files.

Command Description
Insert New Record Inserts a new record in the table.

Properties Bundle Editor Context Menu

The Properties Bundle editor has a context menu. To invoke the menu, right-click the table header. For more information, see Internationalizing and Localizing Applications.

Command Description
Add New Locale Launches the Add Local dialog where you enter a locale key, such as en_US or es_ES (Spanish). After the key is entered, a new locale column displays in the table in the Properties Bundle editor. For more on language and country codes, see Locale Keys.
Delete Locale Deletes the selected locale column.

Taskbar Context Menu

To access the taskbar context menu, right-click the project name link at the bottom left of the General Interface Builder user interface.

Command Description
Copy Namespace to Clipboard Copies the project namespace to the clipboard.
Copy Path to Clipboard Copies the project path to the clipboard. For example, workspace/JSXAPPS/myAddressLookup.
Project Settings Displays the Project Settings dialog where you can modify project settings, such as deployment, add-ins, class path, and legacy settings. See Project Settings Dialog.
Run Project Runs the project in a new browser window.

XML Mapping Utility Context Menu

The XML Mapping Utility has a context menu in the Rules Tree panel. For more information on the XML Mapping Utility, see Communicating with Data Services.

Rules Tree Panel Context Menu

The Rules Tree panel context menu has the following commands.

Command Submenu Command Description
Add New Rule   Adds a new rule to the selected rule.
  Element Adds a new element rule to the selected rule.
  Attribute Adds a new attribute rule to the selected rule. Attributes associate name-value pairs with elements.
  CDATA Adds a new CDATA rule to the selected rule. Text in a CDATA section is ignored by the XML parser. CDATA sections begin with the string <![CDATA( and end with the string]]>.
Clone   Clones a selected node in the rules tree, including its descendant content.
Reparse   Reparses the deleted children of a selected rule. Displays the Reparse Selected Branch dialog. Click Reparse to reparse the selected rule. Note that reparsing removes any existing descendants rules of the selected rule.
Sample Message   Displays a sample input message for the selected request rule and a sample output message for the selected response rule.
Execute (Quick Test)   Runs a test on the selected operation rule in the rules tree.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.