JBoss.orgCommunity Documentation

Chapter 3. Teiid Designer Main Menu

3.1. File Menu
3.2. Edit Menu
3.3. Refactor Menu
3.4. Navigate Menu
3.5. Search Menu
3.6. Project Menu
3.7. Metadata Menu
3.8. Run Menu
3.9. Window Menu
3.10. Help Menu

There are 8 categories of actions on Teiid Designer's main menu bar.

Application Main Menu

Figure 3.1. Application Main Menu


The File menu provides actions to manage your workspace resources.


The New > sub-menu provides specific actions to create various generic workspace resources as well as Teiid Designer models and VDBs.


  • The File menu contains the following actions:

    • New > Model Project - Create user a new model project.

    • New > Folder - Create new folder within an existing project or folder.

    • New > Model - Create a new model of a specified model type and class using the Chapter 7, New Model Wizards.

    • New > Virtual Database Definition - Create a new VDB, or Virtual Database Definition.

    • Open File - Enables you to open a file for editing - including files that do not reside in the Workspace.

    • Close (Ctrl+W) - Closes the active editor. You are prompted to save changes before the file closes.

    • Close All (Shift+Ctrl+W) - Closes all open editors. You are prompted to save changes before the files close.

    • Save (Ctrl+S) - Saves the contents of the active editor.

    • Save As - Enables you to save the contents of the active editor under another file name or location.

    • Save All (Shift+Ctrl+S) - Saves the contents of all open editors.

    • Move… - Launches a Refactor > Move resource dialog..

    • Rename… (F2) - Launches a Refactor > Rename resource dialog if resource selected, else in-line rename is preformed.

    • Refresh - Refreshes the resource with the contents in the file system.

    • Convert Line Delimiters To - Alters the line delimiters for the selected files. Changes are immediate and persist until you change the delimiter again - you do not need to save the file.

    • Print (Ctrl+P) - Prints the contents of the active editor. In the Teiid Designer, this action prints the diagram in the selected editor. Allows control over orientation (portrait or landscape), scaling, margins and page order. User can also specify a subset of the pages to print (i.e., 2 through 8).

    • Switch Workspace - Opens the Workspace Launcher, from which you can switch to a different workspace. This restarts the Workbench.

    • Restart - Exits and restarts the Workbench.

    • Import - Launches the Import Wizard which provides several ways to construct or import models..

    • Export - Launches the Export Wizard which provides options for exporting model data.

    • Properties (Alt+Enter) - Opens the Properties dialog for the currently selected resource. These will include path to the resource on the file system, date of last modification and its writable or executable state.

    • Most Recent Files List - Contains a list of the most recently accessed files in the Workbench. You can open any of these files from the File menu by simply selecting the file name.

    • Exit - Closes and exits the Workbench.

The Edit menu provides actions to manage the content, structure and properties of your model and project resources. The figure below represents the Edit menu presented when a metadata model is selected.


  • The Edit menu contains the following actions:

    • New > Child - This menu is created dynamically to support the creation of whatever types of child objects can be created under the selected object.

    • New > Sibling - This menu is created dynamically to support the creation of whatever types of sibling objects can be created under the same parent as the selected object

    • New > Association - This menu is created dynamically to support the creation of whatever types of associations can be created with the selected object.

    • Modeling > - This menu is created dynamically. Various modeling operations are presented based on selected model object type.

    • Undo - Reverses the effect of the most recent command.

    • Redo - Reapplies the most recently undone command.

    • Cut - Deletes the selected object(s) and copies it to the clipboard.

    • Copy - Copies the selected object(s) to the clipboard.

    • Paste - Pastes the contents of the clipboard to the selected context.

    • Paste Special... - Provides additional paste capabilities for complex clipboard objects.

    • Clone - Duplicates the selected object in the same location with the same name. User is able to rename the new object right in the tree.

    • Delete - Deletes the selected object(s).

    • Select All - Select All objects in current view.

    • Rename - Allows a user to rename an object in the tree.

    • Find/Replace - Launches dialog that can be used to search in the current text view, such as a Transformation Editor.

    • Open - Opens the selected object in the appropriate editor.

    • Edit - Opens the selected object in the appropriate specialized editor, such as the Choice Editor or Recursion Editor..

    • Add Bookmark... - This command adds a bookmark in the active file on the line where the cursor is currently displayed.

    • Add Task... - This command adds a task in the active file on the line where the cursor is currently displayed.

The Refactor menu provides Teiid Designer specific actions for file-level changes to the models.


  • The Refactor menu contains the following actions:

    • Undo - Undo the last refactor command.

    • Redo - Redo the last undone refactor command.

    • Move - Move a model from one container (folder or project) to another.

    • Rename - Rename a model.

Teiid Designer currently does not contribute actions to the Navigate menu. See Eclipse documention for details.


The Search menu presents several specific search options.


Teiid Designer contributes a sub-menu (i.e. Teiid Designer > ) to the main search menu, as shown above.



  • The individual actions in the Project menu are described below:

    • Open Project - Launches the Open Project dialog.

    • Close Project - Closes the currently selected project(s).

    • Build All - Validates the contents of the entire workspace. Any errors or warnings will appear in the Problems View.

    • Build Project - Validates the contents of the selected project(s). Any errors or warnings will appear in the Problems View.

    • Build Working Set - Validates the contents of the selected working set. Any errors or warnings will appear in the Problems View.

    • Clean.. - Launches the Clean dialog.

    • Build Automatically - Sets the Build Automatically flag on or off. When on, a check-mark appears to the left of this menu item. When this is turned on, validation of changes is done automatically each time a Save is done.

    • Clone Project - Launches the Clone Project dialog.

    • Build Project Imports - Reconciles all model import dependencies for models contained within the selected project.

    • Build All Imports - Reconciles all model import dependencies for models contained within the workspace.

    • Build Packages - TBD

    • Validate Model Transformations - Revalidates all transformations for the selected view model.

    • Properties - Displays the operating system’s file properties dialog for the selected file.

The Metadata menu provides Teiid Designer-specific actions.


Teiid Designer currently does not contribute actions to the Run menu. See Eclipse documention for details.


The Window menu shown below contains no Teiid Designer-specific actions. See Eclipse Workbench documentation for details.


The Preferences... action launches the Preferences dialog, which can be used to set preferences and default values for many features of Teiid Designer.

Note that these menu items may vary depending on your set of installed Eclipse features and plugins.

If you wish to customize a perspective to include one or more Teiid Designer views, select the Show View > Other... action and expand the Teiid Designer category to show the available views.


The Help Menu shown below contains no Teiid Designer-specific actions. See Eclipse Workbench documentation for details.


  • The individual actions are described below:

    • Welcome - Shifts to the Welcome perspective, which contains links to documentation, examples and ‘how-to’ starting points.

    • Help Contents - Launches the Help Window. All of Designer’s online documentation is accessible from there as well.

    • Search - Launches the Help Search view, which can be used to search for phrases in the documentation.

    • Dynamic Help - Opens the docked dynamic help view.

    • Key Assist (Ctrl-Shift-L) ... - Launches a dialog describing existing key assist bindings.

    • Tips and Tricks... - Launches a dialog to select one of any contributed "Tips and Tricks" help pages.

    • Cheat Sheets... - Launches a dialog to select one of any contributed Eclipse cheat sheets.

    • Project Examples... - A JBoss contributed action which provides quick access to import various project examples into your workspace.

    • Report Problem - A JBoss contributed action which provides simple problem reporting.

    • Check for Updates... - provides access to retrieve updates to installed Eclipse software.

    • Install New Software... - provides access to install new software into your workbench.

    • About XXXXX - Launches the About dialog.